Age | Commit message (Collapse) | Author |
|
|
|
based timeout handling. Use the simple timeout == bus reset model
instead. Also move verbose debug output inside #ifdef/#endif.
Fixes pulling out a raidctl disk causing a crash noted by kurt@.
Rebuilding the raid still problematic.
Reduces but does not eliminate crashes with 'smartctl -d scsi -a
/dev/rcd0c' seen by Sigfried H?versen.
Should only impact timeout handling. No change to normal processing.
Thanks to kurt@ and Sigfied for testing.
ok marco@
|
|
bus_dmamem_alloc() in interrupt context.
Use same logic as ahd.
"Looks good to me" pedro@
|
|
from marco@.
ok marco@
|
|
|
|
|
|
|
|
ahc_print_scb() unless option AHC_DEBUG.
Saves about 3KB on alpha RAMDISK{,B}.
ok deraadt@
|
|
ok krw@
|
|
ok krw@
|
|
adjusting twice for the instruction pointer indicating the *next*
instruction to execute.
From FreeBSD r1.101.
|
|
Theo.
ok marco@.
|
|
come with the freebsd sources, rather than duplicating those names in
the ahd_ and ahc_ namespaces. Big reduction in delta to freebsd
sources, which reduces noise when updating the code.
No .o differences found on i386.
ok marco@.
|
|
Restore hppa functionality, add sgi functionality for ahc.
ok deraadt@, plus marco@, mickey@, pefo@ for various bits.
|
|
gibbs@freebsd.
Large commit messages detailing all changes can be read at revisions
1.97 and 1.100 of aic7xxx.c:
www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/aic7xxx/aic7xxx.c
Tested by marco, nate and pefo. Fixed broken system for nate.
ok marco@
|
|
|
|
ok marco@ millert@
|
|
another that was inappropriate.
ok tdeval@.
|
|
tweaks.
ok deraadt@.
|
|
by dealing with various error conditions.
Testing by Marco Peereboom, Olivier Cherrier, Alex Holst, Daniel Lucq,
deraadt@, beck@ and others.
ok deraadt@.
|
|
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@.
|
|
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
|
|
|
|
|
|
|
|
|
|
code, plus an extra ahc_flush_device_writes().
ok deraadt@ tdeval@
|
|
ok millert@ miod@ krw@
|
|
|
|
|
|
Started by a commit to siop from provos@netbsd.org.
ok miod@ millert@
|
|
|
|
|
|
|
|
scsiconf.c. The fact that both this ('original') ahc driver and the
new ahc driver (since reverted) crashed if devices capable of tagged
queuing were not correctly flagged as such must be a clue to some
interesting problem.
a) Restore marking of appropriate devices as tagged.
b) 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.
c) Delete unused field 'tagdisable'.
ok millert@, also tested by naddy@
|
|
|
|
|
|
|
|
|
|
(Look ma, I might have broken the tree)
|
|
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@
and drahn@.
|
|
idea from deraadt@ via NetBSD
millert@ ok
|
|
using ahc_bus_dmamap_sync() defines that are defined appropriately
depending on __HAS_NEW_BUS_DMAMAP_SYNC.
The code changes are simple reversions to the original NetBSD code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|