Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 11/21/1998 07:41:42
Module Name:	src
Committed By:	drochner
Date:		Sat Nov 21 15:41:42 UTC 1998

Modified Files:
	src/sys/dev/ata: ata_wdc.c
	src/sys/dev/ic: wdc.c wdcvar.h
	src/sys/dev/isa: wdc_isa.c
	src/sys/dev/isapnp: wdc_isapnp.c
	src/sys/dev/pcmcia: wdc_pcmcia.c
	src/sys/dev/scsipi: atapi_wdc.c
Log Message:
in wdc_softc: access the per-channel data via a pointer array instead of
an array of fixed-sized channel_softc elements. This way IDE controllers
which more than 1 channel (pciide) can extend the channel data easily
for private needs.
To avoid the double dereference at runtime, change the argument of
wdcstart() to the channel data pointer instead of the array index.