summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard/pccard_cis_quirks.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-08-19 19:22:04 +0000
committerimp <imp@FreeBSD.org>2000-08-19 19:22:04 +0000
commit5c155c532f5aadbbbd52796b924404ad35fac4e6 (patch)
treece56991f5e70fba0a5220cb1bcd291d534072d88 /sys/dev/pccard/pccard_cis_quirks.c
parentb7be66adbf36427ea4323d9b43d4f413abfed6f3 (diff)
downloadFreeBSD-src-5c155c532f5aadbbbd52796b924404ad35fac4e6.zip
FreeBSD-src-5c155c532f5aadbbbd52796b924404ad35fac4e6.tar.gz
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.
Diffstat (limited to 'sys/dev/pccard/pccard_cis_quirks.c')
-rw-r--r--sys/dev/pccard/pccard_cis_quirks.c3
1 files changed, 1 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud