summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/if_re_cardbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cardbus/if_re_cardbus.c')
-rw-r--r--sys/dev/cardbus/if_re_cardbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/cardbus/if_re_cardbus.c b/sys/dev/cardbus/if_re_cardbus.c
index 1a6456846dc..8262596f597 100644
--- a/sys/dev/cardbus/if_re_cardbus.c
+++ b/sys/dev/cardbus/if_re_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_re_cardbus.c,v 1.24 2014/08/11 12:45:45 mpi Exp $ */
+/* $OpenBSD: if_re_cardbus.c,v 1.25 2014/09/06 04:46:58 brad Exp $ */
/*
* Copyright (c) 2005 Peter Valchev <pvalchev@openbsd.org>
@@ -152,6 +152,8 @@ re_cardbus_attach(struct device *parent, struct device *self, void *aux)
}
snprintf(intrstr, sizeof(intrstr), "irq %d", ca->ca_intrline);
+ sc->sc_product = PCI_PRODUCT(ca->ca_id);
+
/* Call bus-independent (common) attach routine */
if (re_attach(sc, intrstr)) {
cardbus_intr_disestablish(ct->ct_cc, ct->ct_cf, csc->sc_ih);