Up to [cvs.NetBSD.org] / src / sys / dev / scsipi
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: kenh-if-detach
Revision 1.10 / (download) - annotate - [select for diffs], Sat Nov 21 15:41:42 1998 UTC (25 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach
Changes since 1.9: +5 -6
lines
Diff to previous 1.9 (colored)
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.