Commit Graph

5 Commits

Author SHA1 Message Date
tsutsui acd87a7687 Misc cleanups:
- correct trm_clock_period[] value
 - pass BUS_DMA_{READ,WRITE,STREAMING} to bus_dmamap_load() as appropriate
 - make sure to call bus_dmamap_unload() even after request sense
 - saved srb params on request sense do not seem to be used,
   so remove them from struct trm_srb
 - handle target status more properly in trm_srb_done() and no need
   to handle error retry in lower driver layer
 - fix some comments

XXX Maybe need more cleanup around TQING for MI SCSI callback..
2001-11-18 13:02:30 +00:00
lukem 9048aaae21 add RCSID 2001-11-13 07:48:40 +00:00
tsutsui 78b0b559e3 - Fix some bogus comments.
- Add a missed splx(s) in error case.
2001-11-11 05:28:55 +00:00
tsutsui 3b0f229027 Fix a couple of bugs:
- make sure to allocate memory for sc_tempsrb properly.
 - correct links of SRB queue in trm_link_srb().
Now trm driver works on arc.
2001-11-04 17:17:22 +00:00
tsutsui d3701fc18a Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.

XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...
2001-11-03 17:01:16 +00:00