Add ACPI attachments.
This commit is contained in:
parent
7b4d3c8814
commit
5f063c7b09
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82555
@ -1004,7 +1004,7 @@ static devclass_t npx_devclass;
|
||||
DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0);
|
||||
|
||||
/*
|
||||
* This sucks up the legacy ISA support assignments from PNPBIOS.
|
||||
* This sucks up the legacy ISA support assignments from PNPBIOS/ACPI.
|
||||
*/
|
||||
static struct isa_pnp_id npxisa_ids[] = {
|
||||
{ 0x040cd041, "Legacy ISA coprocessor support" }, /* PNP0C04 */
|
||||
@ -1048,4 +1048,5 @@ static driver_t npxisa_driver = {
|
||||
static devclass_t npxisa_devclass;
|
||||
|
||||
DRIVER_MODULE(npxisa, isa, npxisa_driver, npxisa_devclass, 0, 0);
|
||||
DRIVER_MODULE(npxisa, acpi, npxisa_driver, npxisa_devclass, 0, 0);
|
||||
|
||||
|
@ -1279,3 +1279,4 @@ static driver_t attimer_driver = {
|
||||
static devclass_t attimer_devclass;
|
||||
|
||||
DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
|
||||
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
|
||||
|
@ -1279,3 +1279,4 @@ static driver_t attimer_driver = {
|
||||
static devclass_t attimer_devclass;
|
||||
|
||||
DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
|
||||
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
|
||||
|
@ -211,6 +211,7 @@ static driver_t atpic_driver = {
|
||||
static devclass_t atpic_devclass;
|
||||
|
||||
DRIVER_MODULE(atpic, isa, atpic_driver, atpic_devclass, 0, 0);
|
||||
DRIVER_MODULE(atpic, acpi, atpic_driver, atpic_devclass, 0, 0);
|
||||
|
||||
/*
|
||||
* Handle a NMI, possibly a machine check.
|
||||
|
@ -549,3 +549,4 @@ static driver_t atdma_driver = {
|
||||
static devclass_t atdma_devclass;
|
||||
|
||||
DRIVER_MODULE(atdma, isa, atdma_driver, atdma_devclass, 0, 0);
|
||||
DRIVER_MODULE(atdma, acpi, atdma_driver, atdma_devclass, 0, 0);
|
||||
|
@ -211,6 +211,7 @@ static driver_t atpic_driver = {
|
||||
static devclass_t atpic_devclass;
|
||||
|
||||
DRIVER_MODULE(atpic, isa, atpic_driver, atpic_devclass, 0, 0);
|
||||
DRIVER_MODULE(atpic, acpi, atpic_driver, atpic_devclass, 0, 0);
|
||||
|
||||
/*
|
||||
* Handle a NMI, possibly a machine check.
|
||||
|
@ -1004,7 +1004,7 @@ static devclass_t npx_devclass;
|
||||
DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0);
|
||||
|
||||
/*
|
||||
* This sucks up the legacy ISA support assignments from PNPBIOS.
|
||||
* This sucks up the legacy ISA support assignments from PNPBIOS/ACPI.
|
||||
*/
|
||||
static struct isa_pnp_id npxisa_ids[] = {
|
||||
{ 0x040cd041, "Legacy ISA coprocessor support" }, /* PNP0C04 */
|
||||
@ -1048,4 +1048,5 @@ static driver_t npxisa_driver = {
|
||||
static devclass_t npxisa_devclass;
|
||||
|
||||
DRIVER_MODULE(npxisa, isa, npxisa_driver, npxisa_devclass, 0, 0);
|
||||
DRIVER_MODULE(npxisa, acpi, npxisa_driver, npxisa_devclass, 0, 0);
|
||||
|
||||
|
@ -313,3 +313,4 @@ atkbdc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val)
|
||||
}
|
||||
|
||||
DRIVER_MODULE(atkbdc, isa, atkbdc_driver, atkbdc_devclass, 0, 0);
|
||||
DRIVER_MODULE(atkbdc, acpi, atkbdc_driver, atkbdc_devclass, 0, 0);
|
||||
|
@ -313,3 +313,4 @@ atkbdc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val)
|
||||
}
|
||||
|
||||
DRIVER_MODULE(atkbdc, isa, atkbdc_driver, atkbdc_devclass, 0, 0);
|
||||
DRIVER_MODULE(atkbdc, acpi, atkbdc_driver, atkbdc_devclass, 0, 0);
|
||||
|
@ -1067,6 +1067,7 @@ static driver_t fdc_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(fdc, isa, fdc_driver, fdc_devclass, 0, 0);
|
||||
DRIVER_MODULE(fdc, acpi, fdc_driver, fdc_devclass, 0, 0);
|
||||
|
||||
#if NCARD > 0
|
||||
|
||||
|
@ -156,6 +156,7 @@ static driver_t joy_isa_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(joy, isa, joy_isa_driver, joy_devclass, 0, 0);
|
||||
DRIVER_MODULE(joy, acpi, joy_isa_driver, joy_devclass, 0, 0);
|
||||
|
||||
static int
|
||||
joyopen(dev_t dev, int flags, int fmt, struct proc *p)
|
||||
|
@ -2162,3 +2162,4 @@ ppc_teardown_intr(device_t bus, device_t child, struct resource *r, void *ih)
|
||||
}
|
||||
|
||||
DRIVER_MODULE(ppc, isa, ppc_driver, ppc_devclass, 0, 0);
|
||||
DRIVER_MODULE(ppc, acpi, ppc_driver, ppc_devclass, 0, 0);
|
||||
|
@ -3373,6 +3373,7 @@ siogdbputc(c)
|
||||
#endif
|
||||
|
||||
DRIVER_MODULE(sio, isa, sio_isa_driver, sio_devclass, 0, 0);
|
||||
DRIVER_MODULE(sio, acpi, sio_isa_driver, sio_devclass, 0, 0);
|
||||
#if NCARD > 0
|
||||
DRIVER_MODULE(sio, pccard, sio_pccard_driver, sio_devclass, 0, 0);
|
||||
#endif
|
||||
|
@ -637,5 +637,6 @@ static driver_t atspeaker_driver = {
|
||||
static devclass_t atspeaker_devclass;
|
||||
|
||||
DRIVER_MODULE(atspeaker, isa, atspeaker_driver, atspeaker_devclass, 0, 0);
|
||||
DRIVER_MODULE(atspeaker, acpi, atspeaker_driver, atspeaker_devclass, 0, 0);
|
||||
|
||||
/* spkr.c ends here */
|
||||
|
@ -1279,3 +1279,4 @@ static driver_t attimer_driver = {
|
||||
static devclass_t attimer_devclass;
|
||||
|
||||
DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
|
||||
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
|
||||
|
@ -1279,3 +1279,4 @@ static driver_t attimer_driver = {
|
||||
static devclass_t attimer_devclass;
|
||||
|
||||
DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
|
||||
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
|
||||
|
@ -211,6 +211,7 @@ static driver_t atpic_driver = {
|
||||
static devclass_t atpic_devclass;
|
||||
|
||||
DRIVER_MODULE(atpic, isa, atpic_driver, atpic_devclass, 0, 0);
|
||||
DRIVER_MODULE(atpic, acpi, atpic_driver, atpic_devclass, 0, 0);
|
||||
|
||||
/*
|
||||
* Handle a NMI, possibly a machine check.
|
||||
|
@ -549,3 +549,4 @@ static driver_t atdma_driver = {
|
||||
static devclass_t atdma_devclass;
|
||||
|
||||
DRIVER_MODULE(atdma, isa, atdma_driver, atdma_devclass, 0, 0);
|
||||
DRIVER_MODULE(atdma, acpi, atdma_driver, atdma_devclass, 0, 0);
|
||||
|
@ -211,6 +211,7 @@ static driver_t atpic_driver = {
|
||||
static devclass_t atpic_devclass;
|
||||
|
||||
DRIVER_MODULE(atpic, isa, atpic_driver, atpic_devclass, 0, 0);
|
||||
DRIVER_MODULE(atpic, acpi, atpic_driver, atpic_devclass, 0, 0);
|
||||
|
||||
/*
|
||||
* Handle a NMI, possibly a machine check.
|
||||
|
@ -1004,7 +1004,7 @@ static devclass_t npx_devclass;
|
||||
DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0);
|
||||
|
||||
/*
|
||||
* This sucks up the legacy ISA support assignments from PNPBIOS.
|
||||
* This sucks up the legacy ISA support assignments from PNPBIOS/ACPI.
|
||||
*/
|
||||
static struct isa_pnp_id npxisa_ids[] = {
|
||||
{ 0x040cd041, "Legacy ISA coprocessor support" }, /* PNP0C04 */
|
||||
@ -1048,4 +1048,5 @@ static driver_t npxisa_driver = {
|
||||
static devclass_t npxisa_devclass;
|
||||
|
||||
DRIVER_MODULE(npxisa, isa, npxisa_driver, npxisa_devclass, 0, 0);
|
||||
DRIVER_MODULE(npxisa, acpi, npxisa_driver, npxisa_devclass, 0, 0);
|
||||
|
||||
|
@ -637,5 +637,6 @@ static driver_t atspeaker_driver = {
|
||||
static devclass_t atspeaker_devclass;
|
||||
|
||||
DRIVER_MODULE(atspeaker, isa, atspeaker_driver, atspeaker_devclass, 0, 0);
|
||||
DRIVER_MODULE(atspeaker, acpi, atspeaker_driver, atspeaker_devclass, 0, 0);
|
||||
|
||||
/* spkr.c ends here */
|
||||
|
@ -313,3 +313,4 @@ atkbdc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val)
|
||||
}
|
||||
|
||||
DRIVER_MODULE(atkbdc, isa, atkbdc_driver, atkbdc_devclass, 0, 0);
|
||||
DRIVER_MODULE(atkbdc, acpi, atkbdc_driver, atkbdc_devclass, 0, 0);
|
||||
|
@ -1279,3 +1279,4 @@ static driver_t attimer_driver = {
|
||||
static devclass_t attimer_devclass;
|
||||
|
||||
DRIVER_MODULE(attimer, isa, attimer_driver, attimer_devclass, 0, 0);
|
||||
DRIVER_MODULE(attimer, acpi, attimer_driver, attimer_devclass, 0, 0);
|
||||
|
@ -1067,6 +1067,7 @@ static driver_t fdc_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(fdc, isa, fdc_driver, fdc_devclass, 0, 0);
|
||||
DRIVER_MODULE(fdc, acpi, fdc_driver, fdc_devclass, 0, 0);
|
||||
|
||||
#if NCARD > 0
|
||||
|
||||
|
@ -156,6 +156,7 @@ static driver_t joy_isa_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(joy, isa, joy_isa_driver, joy_devclass, 0, 0);
|
||||
DRIVER_MODULE(joy, acpi, joy_isa_driver, joy_devclass, 0, 0);
|
||||
|
||||
static int
|
||||
joyopen(dev_t dev, int flags, int fmt, struct proc *p)
|
||||
|
@ -2162,3 +2162,4 @@ ppc_teardown_intr(device_t bus, device_t child, struct resource *r, void *ih)
|
||||
}
|
||||
|
||||
DRIVER_MODULE(ppc, isa, ppc_driver, ppc_devclass, 0, 0);
|
||||
DRIVER_MODULE(ppc, acpi, ppc_driver, ppc_devclass, 0, 0);
|
||||
|
@ -3373,6 +3373,7 @@ siogdbputc(c)
|
||||
#endif
|
||||
|
||||
DRIVER_MODULE(sio, isa, sio_isa_driver, sio_devclass, 0, 0);
|
||||
DRIVER_MODULE(sio, acpi, sio_isa_driver, sio_devclass, 0, 0);
|
||||
#if NCARD > 0
|
||||
DRIVER_MODULE(sio, pccard, sio_pccard_driver, sio_devclass, 0, 0);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user