summaryrefslogtreecommitdiffstats
path: root/sys/dev/aha/ahareg.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused structures.kevlo2006-11-091-25/+0
| | | | | Reviewed by: cognet and imp Approved by: cognet and imp
* Simplify aha resource management, and fix a few bugs in unwindingimp2005-01-191-3/+3
| | | | error cases.
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Save the device so we can do a device_printf.imp2003-11-131-1/+1
| | | | | | Use this in preference to aha_name. Remove aha_name function and #define it to device_get_unitname() Minor indentation tweaks resulting therefrom
* Minor diff reduction with p4imp2003-11-121-1/+1
|
* Let bus space manage softc.imp2003-11-091-17/+13
|
* Minor comment smithingimp2003-11-091-4/+4
|
* Make this driver a little more style(9) compliantimp2003-11-091-64/+64
|
* Remove NAHA, NAHATOT and aha_softcs and related code. It was unusedimp2001-02-041-6/+0
| | | | | | | | | except for setting it. Also remove count from aha and replace it with optional. Also add commented out pccard lines for all the old card drivers. They have to be commented out until they are converted because it causes problems in NEWCARD.
* Back out the previous change to the queue(3) interface.jake2000-05-261-5/+5
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-5/+5
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* More pnpids.imp2000-03-251-0/+3
|
* Fix plug and play support:imp2000-01-241-31/+22
| | | | | | | | | | | o Cut out the probed stuff. We no longer need it since newbus implicitly checks for this (likely bt can be changed as well in this way). o Add preliminary support for unload. Untested because aha doesn't yet support identify and there are some interactions with PnP that I've not yet worked out. With this I can boot the AHA-1542CP FW F.0. All the aha resources appear to be picked up via pnp now.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* The 1542 cards do not allow adapter commands to be queued while mailboxgibbs1999-05-251-3/+1
| | | | | | | | | | | | commands are outstanding. You'd think they'd just clear the IDLE bit, but alas, no. Delay until all pending mailbox commands have completed in aha_cmd to work around this. Report sync rates correctly on Fast Adaptec cards. Clones may still be reported incorrectly since there is no documenation on how they report extended sync values. Clean up some unused fields in the aha softc.
* o enable plug and play support for the aha driver. Given the cumbersomeimp1999-01-201-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | pnp system in freebsd, I'm not sure how useful this will be, but my 1542CP seems to work well in plug and play mode and does seem to probe correctly at all the oddball addresses/irq/drqs that I tried. [[ I was unable to get /kernel.conf or /kernel.config to read in, so I wasn't able to verify that this method of userconfig works. that's one thing that makes pnp so hard to use in the current scheme. Pointers to the right new way of doing this accepted. ]] o Add some kludges to maybe bring support for 1540A/1542A into the driver. Since I have no 154xA cards, and the only person I know that has them hasn't given me feedback, I'm making this commit blind. o Honor unit numbers that are in the config file now. This allows one to hard wire the unit numbers (and have high unit numbers for plug and pray devices, which can't seem to be hardwired) and have the cards not migrate from aha1 -> aha0 should aha0 go on the fritz. I didn't verify that hard wired scsi busses would work, but did verify that hard wired aha addresses did work to a limited extent. Both aha0 and aha1 must be hardwired, or when the card that was in aha0 goes away, the probe for aha0 might pick up the card that otherwise would have been aha1.
* Fix probes when a port address is specified.gibbs1998-11-101-52/+57
| | | | | | | | | | | | | Convert from BT'isms to AHA'isms Don't fail the probe if the illegal command bit is set in the status register. If the BusLogic MultiMaster probe preceeded us, it may well have determined that the card we are attaching to was not a true MultiMaster by sending us a command that fails on the 154X. Reset the adapter before doing the inquiry. This provides extra sanity and will also clear the illegal command status bit that my be left over from the MultiMaster probe.
* GC unused stuff.imp1998-10-021-39/+5
|
* Misc cleanup and probe rework:imp1998-10-011-10/+6
| | | | | | | | | | | | | | | | o Use the board id command to find out what kind of board we're talking to. If we're talking to a board that is has an ID that is shared between boards supported by the aha driver and the bt driver, then use the bt's geometry register to weed out the bt cards. Otherwise assume that we support this card. o Remove bt esetup command sending to the card. It seems to wedge too many cards. o Revert to doing a soft reset after an invalid command. This change didn't fix anything, so I'm backing it out. The whole issue of card resetting needs to be revisisted at some point so that we can do it properly on all hardware. o GC unused stuff in some places.
* Adaptec 154X SCSI-Host Adapter driver for CAM.gibbs1998-09-151-0/+464
Submitted by: Warner Losh <imp@village.org>
OpenPOWER on IntegriCloud