diff options
author | nyan <nyan@FreeBSD.org> | 2001-10-28 04:16:50 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2001-10-28 04:16:50 +0000 |
commit | 743ea98fc51e4f6fe06f2bd4ed47436ccde4033f (patch) | |
tree | 1b5ff8dea600f28525dba36c86146197a49eec07 /sys/pc98 | |
parent | 4394f0950fa4e30748b050da232d8619c334fd01 (diff) | |
download | FreeBSD-src-743ea98fc51e4f6fe06f2bd4ed47436ccde4033f.zip FreeBSD-src-743ea98fc51e4f6fe06f2bd4ed47436ccde4033f.tar.gz |
Removed pmc_isa_identify function. It is not needed.
Submitted by: takawata
Diffstat (limited to 'sys/pc98')
-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 fe201e9..feafd8b 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 fe201e9..feafd8b 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), |