summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys
Commit message (Collapse)AuthorAgeFilesLines
...
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-2/+2
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Fix probes when a port address is specified.gibbs1998-11-101-2/+2
|
* Correct the reporting of the queue full condition so that the XPT layergibbs1998-10-292-6/+13
| | | | | | | can properly throttle tags. Add diagnostic printfs for firmware result codes that we encounter but don't know anything about.
* -Wunused cleanup.gibbs1998-10-152-20/+5
| | | | | | | Fixed bug in advansys.c where we did not properly clean up ccb_info data structures in softc teardown. Submitted by: Poul-Henning Kamp <phk@freebsd.org>
* Fix breakage introduced by last patch. bde has added CC_QUIET flag toimp1998-10-121-18/+3
| | | | | | | | hasseen_isadev so this will be less noisy when conflicts do exist. Also eliminate redundant warnings about conflicts. Requested by: bde Reviewed by: gibbs
* Fix conficts in probe:imp1998-10-101-1/+21
| | | | | | | | | | o For bt and aha only probe the one I/O range if a specific I/O is specified in the config file. o Don't even try to probe I/O ranges that have been seen already. o If we conflict with an IRQ or DRQ, then fail the probe. Requested by: bde, gibbs Approved by: jkh
* Only pull 16 bits of residual information from completing queues. Thisgibbs1998-10-091-2/+10
| | | | | | | is a work-around from an LRAM access bug on the 940UA. In a future microcode revision, the high 16bits of residual information will be moved to a safe location and we'll return to 32bit residuals. Since we only allow 64KB I/O, 16bits is enough.
* Don't set the active flag on a transaction resource until it has beengibbs1998-10-072-37/+37
| | | | | | | | | | | queued. Perform dma segment setup outside of splcam protection as this can take some time and the protection is not necessary. Inline a function. Clean up some whitespace.
* Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW).gibbs1998-10-077-0/+3344
|
* Correct compilation with option DIAGNOSTIC set.gibbs1998-09-203-168/+173
| | | | Upgrade to the latest firmware.
* EISA bus attachment for the AdvanSys driver.gibbs1998-09-151-0/+354
|
* Advance Systems SCSI Host Adapter driver for CAM. Currently only supportgibbs1998-09-158-1004/+3313
| | | | the 8bit SCSI AdvanSys products.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-225-5/+5
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-145-5/+5
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* A little 80 column cleanup.gibbs1996-11-051-15/+28
|
* This commit was generated by cvs2svn to compensate for changes in r18781,gibbs1996-10-074-0/+2580
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Advanced Systems Inc. SCSI Controller driver and ISA/VL front end.gibbs1996-10-074-0/+2580
| | | | | | | | | | | | | | | | | | | I have only tested the ABP5140 card and only with a single CDROM drive but it seems to work fine. This driver relies on features found only in the SCSI branch so will not work in -current until those changes are brought in. It also doesn't have any error handling code *yet*. The goal is to use this driver as the development platform for the new generic SCSI layer error recovery/handling code. PCI and EISA front ends will show up as soon as I get my hands on the cards. There are also a few issues in the driver that I need to clear up with AdvanSys before I can suggest sticking one of these cards in your server. 8-) Thanks to AdvanSys for releasing this code under a suitable copyright. Obtained from: Ported from the Linux driver writen by bobf@advansys.com (Bob Frey).
* Advanced Systems Inc. SCSI Controller driver and ISA/VL front end.gibbs1996-10-071-0/+236
I have only tested the ABP5140 card and only with a single CDROM drive but it seems to work fine. This driver relies on features found only in the SCSI branch so will not work in -current until those changes are brought in. It also doesn't have any error handling code *yet*. The goal is to use this driver as the development platform for the new generic SCSI layer error recovery/handling code. PCI and EISA front ends will show up as soon as I get my hands on the cards. There are also a few issues in the driver that I need to clear up with AdvanSys before I can suggest sticking one of these cards in your server. 8-) Thanks to AdvanSys for releasing this code under a suitable copyright. Obtained from: Ported from the Linux driver writen by bobf@advansys.com (Bob Frey).
OpenPOWER on IntegriCloud