summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aic7xxx.c
AgeCommit message (Collapse)Author
2004-10-24Shuffle defines around so that ahc and ahd use the aic_ names thatKenneth R Westerback
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@.
2004-08-13Fix issue with auto request sense handling for both ahc and ahd.Kenneth R Westerback
Restore hppa functionality, add sgi functionality for ahc. ok deraadt@, plus marco@, mickey@, pefo@ for various bits.
2004-08-01Fold in relevant bits of the most recent two updates fromKenneth R Westerback
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@
2004-06-05another try to re-add itTheo de Raadt
2004-06-05Remove unused file. We use aic7xxxvar.h.Kenneth R Westerback
ok marco@ millert@
2004-02-22Minor tweak from gibbs @ FreeBSD. Shorten one printf, eliminateKenneth R Westerback
another that was inappropriate. ok tdeval@.
2004-02-08Pull in a few recent changes from FreeBSD, plus a couple of localKenneth R Westerback
tweaks. ok deraadt@.
2004-01-17Major stability improvement. Fix a variety of systems and problemsKenneth R Westerback
by dealing with various error conditions. Testing by Marco Peereboom, Olivier Cherrier, Alex Holst, Daniel Lucq, deraadt@, beck@ and others. ok deraadt@.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
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@.
2003-10-21typos from Tom Cosgrove;Jason McIntyre
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
2003-09-29more dmamp_sync()s; krw@ okMichael Shalayeff
2003-08-12fix after mickey breakage; reported by grange@.Federico G. Schwindt
2003-08-12constify sequencer script; krw@ okMichael Shalayeff
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-03-30Fix probing of dual channel 7899 with some fixes from current FreeBSDKenneth R Westerback
code, plus an extra ahc_flush_device_writes(). ok deraadt@ tdeval@
2003-03-21Endian fixes for ahc driver. These are a no-op for i386. Now works on macppc.Dale Rahn
ok millert@ miod@ krw@
2003-01-05spellingTheo de Raadt
2002-12-09From Andrushock, s/sucess/success/gTodd C. Miller
2002-10-09Remove trailing '\n's from panic messages.Kenneth R Westerback
Started by a commit to siop from provos@netbsd.org. ok miod@ millert@
2002-07-05attempt to make ahc smaller. change PCI interrupt handler.Steve Murphree
2002-06-28Return of new ahcSteve Murphree
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-03-26Fix problems the ahc driver was having with the recent changes toKenneth R Westerback
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@
2002-03-19remove __PTodd C. Miller
2002-03-19revert to older ahc driver until the new one's bugs are fixedTodd C. Miller
2002-02-16New port of FreeBSD's ahc driverSteve Murphree
2001-11-15Compile with AHC_DEBUGHakan Olsson
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
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-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-08-31Prepare for transition to 5-parameter bus_dmamap_sync() by creating andKenneth R Westerback
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.
2001-08-12absolutely no need to include vm_parm.h after vm.hMichael Shalayeff
2001-08-12remove some of the redundant vm includesMichael Shalayeff
2001-04-24missing splx, found by art, not yet tested by smurph, but he has run out of timeTheo de Raadt
2001-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
2001-03-25Missing splx(). Thanks to Dawson and team for finding this oneConstantine Sapuntzakis
2000-12-06new timeouts; art@ okMichael Shalayeff
2000-08-02No need to include pci header files here.Aaron Campbell
2000-07-03Add support for big endian hardware. Clean up memory vs. io mapping code.Steve Murphree
Fix for drives with Tag quirks.
2000-04-05Changed boot messages and fixed Ultra160 boot messages.Steve Murphree
AHA-29160 Ultra160 verified working.
2000-04-04Import tagging code and try to resolve locking problem.Steve Murphree
2000-03-22new ahc driver. Adds suport for newer Adaptec controllers. This represents ↵Steve Murphree
two months of work.
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1997-07-03do not whine about failed negotiationsTheo de Raadt
1997-04-10queue handling hacks for chips like aic7860 which have small numbers of SCB's.Theo de Raadt
by gibbs@freebsd.org
1997-01-15sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets convertedTheo de Raadt
to 8 internally so that drivers do not need to init it for regular scsi :-)
1996-11-28Adaption to new bus.h from NetBSD. Various driver has been updated toNiklas Hallqvist
NetBSD 961107 state. Other has not, partly because sometimes the bus.h changes was coupled with other changes.
1996-11-23added const to second parameter of cfprint_t routineskstailey
1996-11-12s/bus.h/bus.old.h/ to make the transit to the bus_space bus.h an easy roadNiklas Hallqvist
possibly taken in small steps
1996-10-31$OpenBSD RCSIDsNiklas Hallqvist