From 5c155c532f5aadbbbd52796b924404ad35fac4e6 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 19 Aug 2000 19:22:04 +0000 Subject: o Move to using PCCARD_SOFTC(dev) o fill in the size of the actual softc, rather than 1 in data structure o minor debugging improvements. --- sys/dev/pccard/pccard_cis_quirks.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/pccard/pccard_cis_quirks.c') diff --git a/sys/dev/pccard/pccard_cis_quirks.c b/sys/dev/pccard/pccard_cis_quirks.c index 0219383..949a237 100644 --- a/sys/dev/pccard/pccard_cis_quirks.c +++ b/sys/dev/pccard/pccard_cis_quirks.c @@ -185,8 +185,7 @@ static int n_pccard_cis_quirks = void pccard_check_cis_quirks(device_t dev) { - struct pccard_softc *sc = (struct pccard_softc *) - device_get_softc(dev); + struct pccard_softc *sc = PCCARD_SOFTC(dev); int wiped = 0; int i, j; struct pccard_function *pf, *pf_next, *pf_last; -- cgit v1.1