summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/aic7xxx_openbsd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Do *not* set scsi_link flags to SCSIDEBUG_LEVEL for every ahc device.krw2004-01-241-2/+1
| | | | | | | | Let scsi_probedev() set the flags based on scsidebug_targets and scsidebug_luns when a device scsi link is created. Elminates indisciminate flood of debug info for ahc scsi buses and solves mystery of why ahc devices produced info when other devices were silent.
* Major stability improvement. Fix a variety of systems and problemskrw2004-01-171-37/+53
| | | | | | | | | by dealing with various error conditions. Testing by Marco Peereboom, Olivier Cherrier, Alex Holst, Daniel Lucq, deraadt@, beck@ and others. ok deraadt@.
* Fix SC_DEBUG() call so ahc compiles with SCSIDEBUG.krw2004-01-171-2/+2
|
* Fix crash reported in pr/3630. Poll all scsi requests that have SCSI_POLL set.krw2004-01-071-3/+8
| | | | ok miod@ tdeval@.
* Reduce ahc verbosity. Put chip details inside an if (bootverbose) {}krw2004-01-051-3/+5
| | | | | | | block. Put irq on first ahc line after 'rev 0xYY', rather than a separate line. ok deraadt@.
* Give i/o's requeued as a result of aborts, timeouts, etc. a status ofkrw2003-12-281-19/+6
| | | | | | | | | | | | | | | | XS_RESET rather than XS_NOERROR. This prevents unfinished i/o's from being treated as successfully completed ones. Don't bother setting SCB_REQUEUE in scb->flags since the scb is immediately thrown away. Make setting TAG_ENB a little more correct by doing it somewhere both the initial scb setup and subsequent tag resets have access to. Fix a typo. ok miod "I'm not an authoritative person on SCSI issues... though I'm learning!" @.
* Sync ahc with NetBSD, which was in turn updated from FreeBSD by Pascalkrw2003-12-241-1114/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
* typos from Tom Cosgrove;jmc2003-10-211-5/+5
| | | | | | | | Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
* more dmamp_sync()s; krw@ okmickey2003-09-291-99/+125
|
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-271-3/+3
|
* Endian fixes for ahc driver. These are a no-op for i386. Now works on macppc.drahn2003-03-211-9/+4
| | | | ok millert@ miod@ krw@
* spellingderaadt2003-01-051-3/+3
|
* Share interrupts nicely. Add tag type.smurph2002-09-061-11/+19
|
* attempt to make ahc smaller. change PCI interrupt handler.smurph2002-07-051-65/+142
|
* Ensure scb is setup correctly. Add debugging info.smurph2002-07-011-4/+4
|
* Move the calculation of sc_link->openings to after the printf aboutmillert2002-06-281-18/+17
| | | | | | tagged queueing which is where it was last time around. This fixes a panic I was seeing when there were lots of transactions (e.g. when i read my mail).
* Return of new ahcsmurph2002-06-281-0/+1732
|
* revert to older ahc driver until the new one's bugs are fixedmillert2002-03-191-1732/+0
|
* First round of __P removal in sysmillert2002-03-141-26/+26
|
* Fix *some* problems with new ahc driver that were surfaced withkrw2002-03-141-56/+41
| | | | | | | | | | | | | | | | | the recent changes to scsiconf.c. a) Restore marking of appropriate devices as tagged b) Fix an off-by-one error that sprayed bits around c) Use correct field (quirks) when setting SDEV_NOTAGS bit d) Use TAG_ENB define instead of MSG_SIMPLE_Q_TAG when manipulating hscb->control. Both were defined to the same value, but TAG_ENB is the define used to extract the bit later on. This leaves problems, most often seen as faults when accessing a CD drive and disk drive on the same bus. ok smurph@
* New port of FreeBSD's ahc driversmurph2002-02-161-0/+1747