Subject: CVS commit: src/sys
To: None <>
From: Charles M. Hannum <>
List: source-changes
Date: 09/19/2003 21:36:11
Module Name:	src
Committed By:	mycroft
Date:		Fri Sep 19 21:36:10 UTC 2003

Modified Files:
	src/sys/arch/acorn32/mainbus: wdc_pioc.c
	src/sys/arch/amiga/dev: wdc_amiga.c
	src/sys/arch/atari/dev: wdc_mb.c
	src/sys/arch/i386/pnpbios: pciide_pnpbios.c
	src/sys/arch/mac68k/obio: wdc_obio.c
	src/sys/arch/macppc/dev: kauai.c wdc_obio.c
	src/sys/arch/playstation2/dev: wdc_spd.c
	src/sys/arch/prep/dev: wdc_obio.c
	src/sys/dev/ata: wd.c
	src/sys/dev/ic: wdc.c wdc_upc.c wdcvar.h
	src/sys/dev/isa: wdc_isa.c
	src/sys/dev/isapnp: wdc_isapnp.c
	src/sys/dev/ofisa: wdc_ofisa.c
	src/sys/dev/pci: pciide.c
	src/sys/dev/pcmcia: wdc_pcmcia.c
	src/sys/dev/podulebus: dtide.c hcide.c
	src/sys/dev/scsipi: atapi_wdc.c

Log Message:
1) Use config_interrupts() to attach IDE and ATAPI drives.  This eliminates
   most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
   (it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
   *_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
   drives more quickly.

To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/arch/acorn32/mainbus/wdc_pioc.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/amiga/dev/wdc_amiga.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/atari/dev/wdc_mb.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/i386/pnpbios/pciide_pnpbios.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/mac68k/obio/wdc_obio.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/macppc/dev/kauai.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/macppc/dev/wdc_obio.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/playstation2/dev/wdc_spd.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/prep/dev/wdc_obio.c
cvs rdiff -r1.260 -r1.261 src/sys/dev/ata/wd.c
cvs rdiff -r1.124 -r1.125 src/sys/dev/ic/wdc.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/ic/wdc_upc.c
cvs rdiff -r1.36 -r1.37 src/sys/dev/ic/wdcvar.h
cvs rdiff -r1.31 -r1.32 src/sys/dev/isa/wdc_isa.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/isapnp/wdc_isapnp.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/ofisa/wdc_ofisa.c
cvs rdiff -r1.199 -r1.200 src/sys/dev/pci/pciide.c
cvs rdiff -r1.55 -r1.56 src/sys/dev/pcmcia/wdc_pcmcia.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/podulebus/dtide.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/podulebus/hcide.c
cvs rdiff -r1.56 -r1.57 src/sys/dev/scsipi/atapi_wdc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.