diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2001-10-28 04:16:50 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2001-10-28 04:16:50 +0000 |
| commit | 32e2324497783cdb64bc2d9a5f4a135b2ed9f48f (patch) | |
| tree | 1b5ff8dea600f28525dba36c86146197a49eec07 /sys | |
| parent | dbd9746f717d9fc0c07689ebf8401aecafcdaa7f (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/pc98/cbus/pmc.c | 13 | ||||
| -rw-r--r-- | sys/pc98/pc98/pmc.c | 13 |
2 files changed, 0 insertions, 26 deletions
diff --git a/sys/pc98/cbus/pmc.c b/sys/pc98/cbus/pmc.c index fe201e9d0d36..feafd8b74e97 100644 --- a/sys/pc98/cbus/pmc.c +++ b/sys/pc98/cbus/pmc.c @@ -226,21 +226,8 @@ pmc_isa_detach(device_t dev) return 0; } -#ifdef KLD_MODULE -static void -pmc_isa_identify(driver_t *drv, device_t dev) -{ - if (BUS_ADD_CHILD(dev, ISA_ORDER_SPECULATIVE, "pmc", 0) == NULL) { - printf("failed to add pmc driver\n"); - } -} -#endif - static device_method_t pmc_isa_methods[] = { /* Device interface */ -#ifdef KLD_MODULE - DEVMETHOD(device_identify, pmc_isa_identify), -#endif DEVMETHOD(device_probe, pmc_isa_probe), DEVMETHOD(device_attach, pmc_isa_attach), DEVMETHOD(device_detach, pmc_isa_detach), diff --git a/sys/pc98/pc98/pmc.c b/sys/pc98/pc98/pmc.c index fe201e9d0d36..feafd8b74e97 100644 --- a/sys/pc98/pc98/pmc.c +++ b/sys/pc98/pc98/pmc.c @@ -226,21 +226,8 @@ pmc_isa_detach(device_t dev) return 0; } -#ifdef KLD_MODULE -static void -pmc_isa_identify(driver_t *drv, device_t dev) -{ - if (BUS_ADD_CHILD(dev, ISA_ORDER_SPECULATIVE, "pmc", 0) == NULL) { - printf("failed to add pmc driver\n"); - } -} -#endif - static device_method_t pmc_isa_methods[] = { /* Device interface */ -#ifdef KLD_MODULE - DEVMETHOD(device_identify, pmc_isa_identify), -#endif DEVMETHOD(device_probe, pmc_isa_probe), DEVMETHOD(device_attach, pmc_isa_attach), DEVMETHOD(device_detach, pmc_isa_detach), |
