diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/cardbus/if_dc_cardbus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_dc_cardbus.c b/sys/dev/cardbus/if_dc_cardbus.c index 02c2c183c4f..891edd1a86e 100644 --- a/sys/dev/cardbus/if_dc_cardbus.c +++ b/sys/dev/cardbus/if_dc_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_dc_cardbus.c,v 1.11 2002/06/09 03:14:17 todd Exp $ */ +/* $OpenBSD: if_dc_cardbus.c,v 1.12 2002/07/23 17:34:14 drahn Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -126,7 +126,8 @@ dc_cardbus_attach(parent, self, aux) csc->sc_intrline = ca->ca_intrline; - sc->dc_cachesize = pci_conf_read(cc, ca->ca_tag, DC_PCI_CFLT) & 0xFF; + sc->dc_cachesize = cardbus_conf_read(cc, cf, ca->ca_tag, DC_PCI_CFLT) + & 0xFF; dc_cardbus_setup(csc); |