Removed pmc_isa_identify function. It is not needed.
Submitted by: takawata
This commit is contained in:
parent
dbd9746f71
commit
32e2324497
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85619
@ -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),
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user