diff options
Diffstat (limited to 'sys/pc98/cbus/fdc.c')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index a21cb8a..c72c41e 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -865,7 +865,11 @@ fdc_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) static int fdc_probe(device_t dev) { +#ifdef PC98 + int error; +#else int error, ic_type; +#endif struct fdc_data *fdc; fdc = device_get_softc(dev); @@ -1157,12 +1161,18 @@ DRIVER_MODULE(fdc, pccard, fdc_pccard_driver, fdc_devclass, 0, 0); static int fd_probe(device_t dev) { +#ifdef PC98 + u_int fdt; +#else int i; u_int fdt, st0, st3; +#endif struct fd_data *fd; struct fdc_data *fdc; fdsu_t fdsu; +#ifndef PC98 static int fd_fifo = 0; +#endif fdsu = *(int *)device_get_ivars(dev); /* xxx cheat a bit... */ fd = device_get_softc(dev); |