tsutsui
7d563fd40e
malloc() + memset() -> malloc() with M_ZERO flag
2001-12-16 04:17:02 +00:00
tsutsui
689089f7a9
- Use MI ADAPTER_REQ_SET_XFER_MODE callback.
...
- Nuke some magic numbers.
2001-11-18 14:33:10 +00:00
tsutsui
11a1ddc5dd
- make sure to call bus_dmamap_unload() even after request sense
...
- fix usage of scb flags
- misc cleanup
2001-11-17 21:26:12 +00:00
lukem
a4bae8b066
add/cleanup RCSID
2001-11-13 13:14:31 +00:00
tsutsui
9cb10f82f8
Calculate offsets of sglist dinamically rather than use an static array
...
because PAGE_SIZE is not constant on some ports.
2001-09-29 14:23:37 +00:00
tsutsui
3339a3e525
Remove iha_minphys() and use minphys() instead.
2001-09-27 15:26:57 +00:00
tsutsui
1f1c7b96d8
Fix some comments and remove an unused define. Partially from OpenBSD.
2001-07-27 16:16:34 +00:00
tsutsui
aa9c31f0c3
Pull up some changes from OpenBSD's iha.c rev 1.6:
...
- rename tul_* functions/variables iha_* for consistency
- disable updating EEPROM routine, which does not work anyway
- make iha_rate_tbl[] const
2001-07-27 15:51:14 +00:00
tsutsui
5a7161cf2a
Pull up some changes from OpenBSD's iha.c rev 1.5:
...
- minor code cleanups
- rename some functions for better consistensy/clarity
- consolidate extended message generation into new function
- a couple of minor code clarifications to eliminate extra return
statements and make absolutely sure actscb is NULL during a reselect
2001-07-27 15:10:56 +00:00
thorpej
623f83a793
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.
2001-07-19 16:25:23 +00:00
thorpej
0884f20bf7
bzero -> memset
2001-07-07 16:13:44 +00:00
thorpej
025decbccb
Don't clear a callout on a scsipi_xfer that has been scsipi_done()'d.
2001-06-07 03:44:00 +00:00
tsutsui
15f8692183
Make some functions __inline.
2001-06-05 12:42:44 +00:00
tsutsui
bcdd082840
Add a driver for the Initio INIC-940/950 PCI SCSI controllers.
...
Based on OpenBSD's iha driver, and modified some structures by me.
Tested on arc, i386 and macppc.
2001-06-03 13:43:45 +00:00