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:   thorpej
Date:           Wed Jul  6 01:46:53 UTC 2005

Modified Files:
        src/sys/dev/ata: ata_wdc.c
        src/sys/dev/pci: geodeide.c
        src/sys/dev/scsipi: atapi_wdc.c

Log Message:
- When starting an ATA or ATAPI transfer, handle the case where (*dma_init)()
  returns EINVAL, indicating that DMA cannot be done for this transfer.
  Fall back to PIO in this case.
- Add a geodeide_dma_init() routine that checks to make sure that transfers
  start on a 16 byte boundary, returning EINVAL if not.  Works around a chip
  bug that causes a hard system hang.

Problem reported and patch tested by Erik Fair.


To generate a diff of this commit:
cvs rdiff -r1.81 -r1.82 src/sys/dev/ata/ata_wdc.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/pci/geodeide.c
cvs rdiff -r1.94 -r1.95 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