Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys



Module Name:    syssrc
Committed By:   dbj
Date:           Mon Jan  7 22:11:19 UTC 2002

Modified Files:
        syssrc/sys/arch/macppc/dev: wdc_obio.c
        syssrc/sys/dev/ic: wdc.c wdcvar.h

Log Message:
Changes to the wdc(4) mi driver that add the WDC_CAPABILITY_SELECT
flag and a callback function which gets called whenever a target is
selected on a channel.

The macppc wdc driver needs to reprogram its timing register
differently for each target on a channel each time that target is
selected.  I also changed the ATA4_TIME_TO_TICK to use a divisor of
15, which brings our timing calculations consistent with darwin.

These patches fix problems on my dual usb ibook with combo dvd/cdrw
drive because the hard drive supports udma and the combo drive does
not.  Without turning off the udma timings in the configuration
register, I cannot access the non-udma combo drive.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/macppc/dev/wdc_obio.c
cvs rdiff -r1.106 -r1.107 syssrc/sys/dev/ic/wdc.c
cvs rdiff -r1.32 -r1.33 syssrc/sys/dev/ic/wdcvar.h

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




Home | Main Index | Thread Index | Old Index