summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-02-25 09:07:19 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-02-25 09:07:19 +0000
commitfd88a8d34b6d768d5aeb095b5049c82b5d436c0e (patch)
tree3cfe30328f0f7d26cddf9949904020844f3701ed /sys
parent4fd8f809ba14e78e1623d71ee5df28d6e7cdd33a (diff)
Adjust var name so cardbus attaches again.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/cardbus/if_bcw_cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_bcw_cardbus.c b/sys/dev/cardbus/if_bcw_cardbus.c
index 1506e0201c3..d4936135ef4 100644
--- a/sys/dev/cardbus/if_bcw_cardbus.c
+++ b/sys/dev/cardbus/if_bcw_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bcw_cardbus.c,v 1.5 2006/12/08 01:28:39 mglocker Exp $ */
+/* $OpenBSD: if_bcw_cardbus.c,v 1.6 2007/02/25 09:07:18 mglocker Exp $ */
/*
* Copyright (c) 2006 Jon Simola <jsimola@gmail.com>
@@ -137,7 +137,7 @@ bcw_cardbus_attach(struct device *parent, struct device *self, void *aux)
/*
* Get some cardbus info into the softc
*/
- sc->sc_chiprev = PCI_REVISION(ca->ca_class);
+ sc->sc_chip_rev = PCI_REVISION(ca->ca_class);
sc->sc_prodid = CARDBUS_PRODUCT(ca->ca_id);
#if 0