freebsd-skq/sys/dev
Justin T. Gibbs 8f214efc9a Major update to the aic7xxx driver:
ahc_eisa.c:
ahc_pci.c:
	Conform to new aic7xxx IRQ API.

	Adapt to aic7xxx_freebsd -> aic7xxx_osm changes.

aic7770.c:
	Disable card generated interrupt early in our probe for
	"extra safety"

	Commonize some seeprom code with the PCI side of the driver.

aic7xxx.c:
	Correctly initialize a few scratch ram locations during
	a sequencer restart.  This avoids spurious sequencer ram
	parity errors in some configurations.

	Include the softc in ahc_update_residual calls.  We need it
	for some diagnostics in this code path.

	Flag a data overrun on an auto-request sense failure as a
	CAM_AUTOSENSE_FAIL rather than a CAM_DATA_RUN_ERR.

	Force a renegotiation after noticing a parity error.  This
	covers targets that lose our negotiation settings but don't
	bother to give us a unit attention condition.  This can happen
	if a target fails during a reselection of us during a cable
	pull.

	Convert some code to using constants.

	Fix some typos.

	Correct target mode message loop handling.  ahc_clear_msg_state
	was not clearing the "need to go to message out phase" bit once
	our loop was over.

	Simplify some abort handling code.

	Include tag information in target mode immediate notify events.

	When shutting down EISA controllers, don't EISA BIOS settings in
	the high portions of scratch ram.  This fixes warm boot issues on
	some systems.

	Save a bit of space by only allocating the SCBs that we can use.

	Avoid some code paths in ahc_abort_scbs() if we are currently
	acting as a target.

	Correctly cleanup stranded SCBs in the card's SCB array.  These
	are SCBs who's mapping has already been torn down by code that
	aborted the SCB by seeing it in another list first.

	Add a comment about some potential bus reset issues for target
	mode on Twin (EISA only) controllers.

aic7xxx.h:
	Cleanup the hardware scb definitions a bit.

	Allocate a ful 256 byte scb mapping index.  This simplifies
	the lookup code since the table covers all possible (and potentially
	bogus) values.

	Make AHC_DEBUG work again.

aic7xxx.reg:
	Updates to hardware SCB definition.

	New definitions for target mode fixes.

aic7xxx.seq:
	In target mode, initialize SAVED_LUN just after we receive
	the identify message.  It may be required in the error recovery
	path when a normal cdb packet (includes lun) is not sent up to
	the host for processing.

	Respond to irregular messages during a selection in target mode.

	Defer looking for space for a cdb packet until we are about to
	enter command phase.  We want to be able to handle irregular messages
	even if we would otherwise return QUEUE_FULL or BUSY.

	Add support for sending Ignore Wide Residue messages as a target.

	In the disable disconnect case in target mode, set our transfer
	rate correctly once data are availble.

aic7xxx_93cx6.c:
aic7xxx_93cx6.h:
	Add the ability to write and erase the seeprom.

aic7xxx_inline.h:
	Correct Big Endian handling of large cdb sizes (> 12 bytes).

	Adaptec to changes in the calc_residual API.

	Correct a target mode bug where we always attempted to service
	the input queue even if no progress could be made due to lack
	of ATIOs.

aic7xxx_osm.c:
	Adaptec to new IRQ mapping API.  The new API allows the core
	to only enable our IRQ mapping once it is safe (sufficient
	initialization) to do so.

	Slap bootverbose protection around some diagnostics.

	Only attempt DT phases if we are wide.

aic7xxx_osm.h:
	Enable big endian support.

	Adjust for IRQ API change.

aic7xxx_pci.c:
	Be more careful about relying on subvendor 9005 information.
	We now only trust it for HBAs.  This should allow the driver
	to attach to some MBs where the subvendor/device information
	does not follow the Adaptec spec.

	Only enable interrupts on the card once we are fully setup.

	Disable external SCB ram usage on the aic7895.  I have not
	been able to make it 100% reliable.

	Adjust to seeprom routines being properly prefixed with "ahc".

	Fix a few bugs in the external SCB ram probing routine.  We
	need to clear any parity errors we've triggered during the
	probe to avoid future, fatal, interrupts.

	If we detect an invalid cable combination, pretent there are
	no cable at all.  This will enable all of the terminators
	which is probably the safest configuration we can "guess".

MFC after: 4 days
2002-04-24 16:58:51 +00:00
..
aac Prepare for a major update to the aac driver: 2002-04-24 05:12:50 +00:00
acpica Fix compiling of acpica when debugging is enabled. In the previous 2002-04-19 23:36:38 +00:00
advansys Restore I/O port resources to the condition before adv_isa_probe() is 2001-05-06 09:28:18 +00:00
agp Fix some nits in AMD AGP driver. Remove excess malloc and move a bzero 2002-04-15 18:57:26 +00:00
aha Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
ahb Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
aic Remove __P. 2002-03-20 02:08:01 +00:00
aic7xxx Major update to the aic7xxx driver: 2002-04-24 16:58:51 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr Fixed printf format errors in previous commit. %llu is no more suitable 2002-03-18 23:24:00 +00:00
an Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
ar Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
asr Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ata Fix the breakage of tagged queueing that the busdma integration 2002-04-18 19:11:45 +00:00
atkbdc GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
awi Make this build on 4.x machines again (building a -current kernel on a 2002-04-19 22:28:09 +00:00
bge Add missing splx calls in bge_tick. These don't make any functional 2002-04-22 16:15:16 +00:00
bktr Fix bktr and pcf compilation with LINT 2002-03-25 21:22:35 +00:00
buslogic Use ANSI C string contatenation instead of a multi-line string literal. 2001-12-13 11:14:28 +00:00
cardbus Revert most of the recent PCI merge. This has proven to be too 2002-03-15 06:41:01 +00:00
ccd Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>. 2002-04-08 09:20:07 +00:00
ciss Fix the I/O performance issues with the ciss driver where CAM was limiting 2002-04-11 09:28:09 +00:00
cm Remove __P. 2002-03-20 02:08:01 +00:00
cnw Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
cs Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
ct Remove __P. 2002-03-20 02:08:01 +00:00
cy Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
dc Work around an Intel 21143 chip bug. 2002-04-18 14:40:20 +00:00
de No FreeBSD/vax here either. 2001-11-03 08:32:28 +00:00
dec Introduce a boot environment variable (clock_compat_osf1) which can 2001-11-03 17:22:50 +00:00
dgb Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
digi Make delay iteration counts a function of hz as the delay period in each 2002-04-17 15:28:41 +00:00
dpt Fix a couple of bogus enums. 2002-01-08 06:47:55 +00:00
ed More newcard devices: 2002-04-02 05:52:52 +00:00
eisa GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
em Added support for 82540EM based cards. 2002-04-06 00:36:53 +00:00
en Remove __P. 2002-03-20 02:08:01 +00:00
ep Remove __P. 2002-03-20 02:08:01 +00:00
ex Remove __P. 2002-03-20 02:08:01 +00:00
exca Default debugging to OFF now. 2002-02-04 15:55:21 +00:00
fb Turn on TGA support. 2002-04-13 22:34:16 +00:00
fdc When reading a UFS-style label from a floppy, don't attempt to use a 2002-04-02 18:29:43 +00:00
fe Supported C-NET(98)P2 PnP mode. 2002-02-04 14:01:27 +00:00
fxp Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
gem In some cases, RX descriptors that are signalled to have been completed 2002-03-23 19:43:15 +00:00
gfb Turn on TGA support. 2002-04-13 22:34:16 +00:00
gx Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
hea - Remove KM_ macro calls and replace with the real function we're calling. 2002-04-19 17:43:11 +00:00
hfa Change two KM_COPY()s to bcopy(). This should have been done when the 2002-04-20 19:27:34 +00:00
hme Assorted fixes: 2002-03-23 19:37:11 +00:00
ic Oops, forgot to commit one file in the fd driver mega update. Here it 2001-12-16 07:52:13 +00:00
ichsmb Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
ida Here follows the new kernel dumping infrastructure. 2002-03-31 22:37:00 +00:00
ie Repo copy i82586.h to dev/ic/i82586.h. 2001-07-02 05:29:58 +00:00
iicbus Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
iir Remove __P. 2002-03-20 02:08:01 +00:00
isp Scale back # of luns supported for SCC to 16384- oops- top 3 bits are a 2002-04-16 19:55:35 +00:00
ispfw Remove __P. 2002-03-20 02:08:01 +00:00
joy Revert change that breaks the joy module. joydevclass must not be static. 2002-01-08 18:27:49 +00:00
kbd GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
lge Remove __P. 2002-03-20 02:08:01 +00:00
lmc Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
lnc Remove __P. 2002-03-20 02:08:01 +00:00
mc146818
mca - Remove an unused write_ivars function that didn't do anything anyway. 2001-01-19 09:29:34 +00:00
mcd Retire the bogus ioctl DIOCGPART in toto. 2002-04-02 11:52:13 +00:00
md Remove unused include. 2002-03-20 09:55:07 +00:00
mii Work around an Intel 21143 chip bug. 2002-04-18 14:40:20 +00:00
mk48txx Add a driver back end for the Mostek MK48T02, MK48T08 and MK48T59 2002-04-04 23:44:42 +00:00
mlx Fixed printf format errors in previous commit. %llu is no more suitable 2002-03-18 23:38:16 +00:00
mly Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
mse Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-23 16:01:49 +00:00
musycc Fix warnings: 2001-06-15 00:19:43 +00:00
my diff reduction 2002-04-17 01:50:03 +00:00
ncv Remove __P. 2002-03-20 02:08:01 +00:00
nge If the receiver runs out of space for an received frame in the internal 2002-04-13 21:33:33 +00:00
nmdm Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
nsp Remove __P. 2002-03-20 02:08:01 +00:00
null Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speaking 2002-04-09 10:04:09 +00:00
ofw Basic OpenFirmware disk driver. It will attach to anything in OpenFirmware 2002-04-15 10:54:22 +00:00
pccard Catchup to 1.32 2002-04-11 21:19:04 +00:00
pccbb Restore NetBSD copyrights that shouldn't have been removed in the first place. 2002-04-13 04:07:07 +00:00
pcf Fix bktr and pcf compilation with LINT 2002-03-25 21:22:35 +00:00
pci Add MODULE_VERSION. 2002-04-17 00:31:32 +00:00
pcic Fix missing comma in previous commit. 2001-12-28 23:51:48 +00:00
pdq Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
ppbus This makes ppbus childs like lpt and ppi succesfully connect to more 2002-04-07 22:06:20 +00:00
ppc Restore the original copyright 2002-03-23 15:36:13 +00:00
puc Add an entry for "PCCOM dual port RS232/422/485". 2002-04-01 13:33:43 +00:00
random Fix really dumb braino of mine; cast a sizeof() to an int, which it is 2002-04-21 11:02:36 +00:00
ray Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
rc Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
rp Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
sbni Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
scd Retire the bogus ioctl DIOCGPART in toto. 2002-04-02 11:52:13 +00:00
se Use the right major number. 2002-04-09 00:35:26 +00:00
sf Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
si Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
sio Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
sk Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
smbus Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
sn Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
snc Remove __P. 2002-03-20 02:08:01 +00:00
snp Treat input on the snp device as an `unsigned char'. According to the 2002-04-10 03:51:49 +00:00
sound Cast another bus_addr_t to long long for a printf to quiet a warning on 2002-04-16 01:58:13 +00:00
speaker Remove __P. 2002-03-20 07:51:46 +00:00
sr Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
stg Remove __P. 2002-03-20 02:08:01 +00:00
streams Remove __P. 2002-03-20 02:08:01 +00:00
sym Fix some gcc-3.1+ warnings: 2002-03-19 23:20:21 +00:00
syscons Turn on TGA support. 2002-04-13 22:34:16 +00:00
tdfx Don't put a line break in string literals. GCC 3.1 complains and GCC 2002-04-20 01:35:45 +00:00
tga Add the TGA video driver. This is a great accomplishtment and will help 2001-11-01 08:26:30 +00:00
ti Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
twe Here follows the new kernel dumping infrastructure. 2002-03-31 22:37:00 +00:00
tx Update the email appearing in copyright string. 2002-04-20 12:39:41 +00:00
txp Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
usb Revert part of revision 1.49 which was supposed to be white space 2002-04-17 12:03:20 +00:00
vinum Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>. 2002-04-08 09:20:07 +00:00
vr Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
vx Remove __P. 2002-03-20 02:08:01 +00:00
wds Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
wi Implement shared secret mode for hostap mode. 2002-04-22 07:09:13 +00:00
wl Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
xe Remove an unused variable. 2002-02-26 03:37:35 +00:00