cvs commit: src/sys/alpha/alpha mp_machdep.c src/sys/dev/acpica
acpi.c src/sys/dev/ips ips_pci.c src/sys/dev/kbd atkbd.c
src/sys/dev/sio sio.c src/sys/i386/bios apm.c
src/sys/i386/isa/pcvt pcvt_drv.c src/sys/isa atkbdc_isa.c fd.c ...
John Baldwin
jhb at FreeBSD.org
Wed Jul 2 09:09:04 PDT 2003
jhb 2003/07/02 09:09:02 PDT
FreeBSD src repository
Modified files:
sys/alpha/alpha mp_machdep.c
sys/dev/acpica acpi.c
sys/dev/ips ips_pci.c
sys/dev/kbd atkbd.c
sys/dev/sio sio.c
sys/i386/bios apm.c
sys/i386/isa/pcvt pcvt_drv.c
sys/isa atkbdc_isa.c fd.c isahint.c syscons_isa.c
sys/pc98/pc98 fd.c pc98kbd.c sio.c syscons_pc98.c
Log:
- Use the new resource_disabled() helper function to see if devices are
disabled.
- Change the apm driver to match the acpi driver's behavior by checking to
see if the device is disabled in the identify routine instead of in the
probe routine. This way if the device is disabled it is never created.
Note that a few places (ips(4), Alpha SMP) used "disable" instead of
"disabled" for their hint names, and these hints must be changed to
"disabled". If this is a big problem, resource_disabled() can always be
changed to honor both names.
Revision Changes Path
1.43 +1 -3 src/sys/alpha/alpha/mp_machdep.c
1.90 +2 -5 src/sys/dev/acpica/acpi.c
1.4 +1 -4 src/sys/dev/ips/ips_pci.c
1.39 +1 -2 src/sys/dev/kbd/atkbd.c
1.401 +3 -5 src/sys/dev/sio/sio.c
1.136 +5 -10 src/sys/i386/bios/apm.c
1.78 +2 -2 src/sys/i386/isa/pcvt/pcvt_drv.c
1.27 +1 -1 src/sys/isa/atkbdc_isa.c
1.256 +2 -3 src/sys/isa/fd.c
1.14 +1 -1 src/sys/isa/isahint.c
1.23 +1 -3 src/sys/isa/syscons_isa.c
1.136 +2 -3 src/sys/pc98/pc98/fd.c
1.26 +1 -2 src/sys/pc98/pc98/pc98kbd.c
1.192 +2 -5 src/sys/pc98/pc98/sio.c
1.19 +1 -3 src/sys/pc98/pc98/syscons_pc98.c
More information about the cvs-src
mailing list