History log of /freebsd-9.3-release/sys/dev/aha/ahareg.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 251164 30-May-2013 scottl

MFC 241492, 241588, 241589, 241590, 241592, 241593, 241603, 241605

Modernize and lock the aha, ahb, adv, adw, bt, and dpt drivers.

Submitted by: jhb
Obtained from: Netflix


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 164110 09-Nov-2006 kevlo

Remove unused structures.

Reviewed by: cognet and imp
Approved by: cognet and imp


# 140467 19-Jan-2005 imp

Simplify aha resource management, and fix a few bugs in unwinding
error cases.


# 139749 05-Jan-2005 imp

Start each of the license/copyright comments with /*-, minor shuffle of lines


# 122597 13-Nov-2003 imp

Save the device so we can do a device_printf.
Use this in preference to aha_name.
Remove aha_name function and #define it to device_get_unitname()
Minor indentation tweaks resulting therefrom


# 122535 12-Nov-2003 imp

Minor diff reduction with p4


# 122361 09-Nov-2003 imp

Let bus space manage softc.


# 122359 09-Nov-2003 imp

Minor comment smithing


# 122340 08-Nov-2003 imp

Make this driver a little more style(9) compliant


# 72013 04-Feb-2001 imp

Remove NAHA, NAHATOT and aha_softcs and related code. It was unused
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.


# 60938 26-May-2000 jake

Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by: msmith and others


# 60833 23-May-2000 jake

Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by: phk
Reviewed by: phk
Approved by: mdodd


# 58544 25-Mar-2000 imp

More pnpids.


# 56504 24-Jan-2000 imp

Fix plug and play support:
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.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 47506 25-May-1999 gibbs

The 1542 cards do not allow adapter commands to be queued while mailbox
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.


# 42887 20-Jan-1999 imp

o enable plug and play support for the aha driver. Given the cumbersome
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.


# 41047 10-Nov-1998 gibbs

Fix probes when a port address is specified.

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.


# 39881 02-Oct-1998 imp

GC unused stuff.


# 39852 01-Oct-1998 imp

Misc cleanup and probe rework:

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.


# 39225 15-Sep-1998 gibbs

Adaptec 154X SCSI-Host Adapter driver for CAM.

Submitted by: Warner Losh <imp@village.org>