summaryrefslogtreecommitdiff
path: root/sys/dev/ic/iha.h
AgeCommit message (Collapse)Author
2001-11-11Remove local defines for SCSI status codes and use those nowKenneth R Westerback
defined in scsi_all.h.
2001-11-05Switch everything to the new bus_dmamap_sync API.Artur Grabowski
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@.
2001-08-26Prepare for transition to 5-parameter bus_dmamap_sync() by creating andKenneth R Westerback
using *_bus_dmamap_sync() defines that are defined appropriately depending on __HAS_NEW_BUS_DMAMAP_SYNC. Most of the code changes are simple reversions to the original NetBSD code. Slip in a siop_script_sync() instead of a manually done code section.
2001-07-13Change references to inic-950 to inic-940/950 to reflect chipsKenneth R Westerback
actually supported. Update copyright to include 2001. Fold iha_se2_rd_all() into iha_read_eeprom(), eliminating magic number 31 at the same time, calculating correct offset of checksum at run time instead. Eliminate static global variable iha_nvram in favour of dynamic variable in iha_init_tulip(), which is only place it is used. Rectify a few typos in comments.
2001-07-13Remove static'ness of functions in line with normal OpenBSDKenneth R Westerback
preferences. Rename tul_* functions/variables iha_* for consistancy, since all are now visible. As updating the EEPROM did not work, don't try. Remove now unused static dftNvram variable, and functions used only in trying to write it to EEPROM. Make iha_rate_tbl a const.
2001-07-10Use offsetof() from sys/param.h, not a local define.Kenneth R Westerback
2001-07-09Fix incorrect logic 'optimization' so that sync is negotiated even ifKenneth R Westerback
wide is not. Now my CD drives on the narrow channel of the INI-9100UW negotiate to the same configuration they do on other cards.
2001-02-08Use <scsi/scsi_message.h> defines rather than homegrown ones.Kenneth R Westerback
2001-01-23Add support for Initio INI-91xx SCSI CardsKenneth R Westerback