From fd88a8d34b6d768d5aeb095b5049c82b5d436c0e Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Sun, 25 Feb 2007 09:07:19 +0000 Subject: Adjust var name so cardbus attaches again. --- sys/dev/cardbus/if_bcw_cardbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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 @@ -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 -- cgit v1.2.3