Source-Changes archive

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

CVS commit: syssrc/sys/dev/mca



Module Name:    syssrc
Committed By:   jdolecek
Date:           Sun Mar 31 10:01:27 UTC 2002

Modified Files:
        syssrc/sys/dev/mca: edc_mca.c

Log Message:
edc_cmd_wait(): it is absolutely necessary to wait for the BSR_CMD_INPROGRESS
  flag to clear, even when the COMMAND COMPLETE interrupt already did happen,
  otherwise we get ATTENTION ERROR for next command if it happens soon
  enough; this fixes the reliability problems introduced by previous change

some other cleanup & simlify of edc_cmd_wait()/edc_run_cmd(), the 'secs'
  is just a hint used in !poll case only
add some comments
move status_block[] back to edc_mca_softc, to save stack memory
make #ifdef DEBUG #ifdef EDC_DEBUG and g/c some obsolete debug stuff
make some EAGAINs EIOs
edc_intr(): wakeup the waiter for any command, not just READ/WRITE DATA


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 syssrc/sys/dev/mca/edc_mca.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