Source-Changes archive

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

CVS commit: src/sys/dev



Module Name:    src
Committed By:   bouyer
Date:           Wed Aug  4 18:24:11 UTC 2004

Modified Files:
        src/sys/dev/ata: ata.c ata_wdc.c atavar.h
        src/sys/dev/ic: wdc.c wdcvar.h
        src/sys/dev/scsipi: atapi_wdc.c

Log Message:
Add
struct ata_xfer *active_xfer
to ata_queue. Now the active xfer isn't the head of the queue any more,
this makes a few things easier (this will also help for tagged queuing
support).
Remove the WDCF_ACTIVE flag, test active_xfer != NULL instead.
clean up wdc_free_xfer() and kill_xfer().
Clean up wdc_reset_channel(), and make it issue a ATAPI_SOFT_RESET if the
active command is ATAPI.
In wdc_atapi_get_params(), use AT_WAIT | AT_POLL for ATAPI_SOFT_RESET,
so that we'll use tsleep() instead of delay().
In wdc_atapi_start(), call wdc_dmawait() at the right place.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/sys/dev/ata/ata.c
cvs rdiff -r1.59 -r1.60 src/sys/dev/ata/ata_wdc.c
cvs rdiff -r1.45 -r1.46 src/sys/dev/ata/atavar.h
cvs rdiff -r1.185 -r1.186 src/sys/dev/ic/wdc.c
cvs rdiff -r1.60 -r1.61 src/sys/dev/ic/wdcvar.h
cvs rdiff -r1.72 -r1.73 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.




Home | Main Index | Thread Index | Old Index