diff options
| author | Warner Losh <imp@FreeBSD.org> | 2000-04-04 04:12:43 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2000-04-04 04:12:43 +0000 |
| commit | 1b239080820fb6513df001f7190e956807639b15 (patch) | |
| tree | 487d8c6fa175bf8d79ce68cf5fba426b1d5a21ce /sys | |
| parent | 0d1337c6fa1959e0a12243acb986b3d155a2d21d (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/pccard/pccard_cis.c | 2 | ||||
| -rw-r--r-- | sys/dev/pcic/i82365.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c index 779763d16497f..344d26b1fd622 100644 --- a/sys/dev/pccard/pccard_cis.c +++ b/sys/dev/pccard/pccard_cis.c @@ -92,7 +92,7 @@ pccard_read_cis(struct pccard_softc *sc) state.pf = NULL; - if (pccard_scan_cis((struct device *)sc, pccard_parse_cis_tuple, + if (pccard_scan_cis(sc->dev, pccard_parse_cis_tuple, &state) == -1) state.card->error++; } diff --git a/sys/dev/pcic/i82365.c b/sys/dev/pcic/i82365.c index 265d2902c59ea..2e270776ac4b9 100644 --- a/sys/dev/pcic/i82365.c +++ b/sys/dev/pcic/i82365.c @@ -1299,7 +1299,7 @@ pcic_enable_socket(device_t dev, device_t child) int pcic_disable_socket(device_t dev, device_t child) { - struct pcic_handle *h = NULL; /* XXXIMPXXX */ + struct pcic_handle *h = pcic_get_handle(dev, child); DPRINTF(("pcic_chip_socket_disable\n")); /* power down the socket */ |
