freebsd-dev/sys/dev
Justin T. Gibbs a5847d5c27 ahc_eisa.c:
Initialize rid to 0.  This doesn't seem to make any difference
	(the driver doesn't care what rid it gets and no-one seems to
	check rid's value), but follows standard conventions.

	Pass in our device_t to ahc_alloc().  We now use device_T
	softc storage, so passing NULL results in a panic.

	Set the unit number in our softc so that the driver core
	can retrieve it.

ahc_pci.c:
	Set the unit number in our softc so that the driver core
	can retrieve it.

aic7770.c:
	Insert our softc into the list of softcs when initialization
	is successful.

aic7xxx.c:
	Remove a workaround for an aic7895 bug we will never trigger.

	Add additional diagnostic info to ahc_dump_card_state().

	Always panic the system if a sequencer assertion fails.

	AHC_SCB_BTT is a "flag" not a "feature".  Check the right
	field in the softc.

	Replace a hard coded number with a constant.

	Guard against looping forever in ahc_pause_and_flushwork().
	A hot eject or card failure may make the intstat register
	return 0xFF, so limit the number of interrupts we'll process.

	Correct the code in ahc_search_qinfifo() that guarantees that
	the sequencer will see an abort collision if the qinfifo is
	modified when a DMA is in progress.  We now do this fixup
	after modifying the queue.  This guarantees that the HSCB
	we place at the head of the queue is not the same as the
	old head.  Using "next hscb" (guaranteed not to be the
	same as the first SCB) before clearing the queue could free
	up the original head hscb to be used during a remove operation
	placing it again at the head of the qinfifo.

aic7xxx.h:
	Reduce the maximum number of outstanding commands to 253 from
	254.  To handle our output queue correctly on machines that only
	support 32bit stores, we must clear the array 4 bytes at a
	time.  To avoid colliding with a DMA write from the sequencer,
	we must be sure that 4 slots are empty when we write to clear
	the queue.  This reduces us to 253 SCBs: 1 that just completed
	and the known three additional empty slots in the queue that
	preceed it.  Yahoo was able to force this race on one of their
	systems.  Interrupts were disabled for such a time that the
	entire output queue was filled (254 entries complete without
	any processing), and our 32bit write to clear the status clobbered
	one entry.

	Add a feature tag for devices that are removable.

aic7xxx.reg:
	Never use the sequencer interrupt value of 0xF0.  We need
	to guanrantee that an INTSTAT value of 0xFF can only occur
	during card failure or a hot-eject.

	Align the busy targets table with the begining of scratch
	space.  This seems to appease a chip bug in the aic7895.

aic7xxx.seq:
	Be sure to disable select-out after a bus free event that occurs
	early in a selection.  If we don't disable select-out, we will
	believe that it is enabled even though a new selection will never
	occur.

	Move the clearing of SELDI to just before a jump.  This appeases
	another chip bug of the aic7895.

	Make the target mode command loop a bit more efficient.

	AHC_SCB_BTT is a "flag" not a "feature".  Check the right
	field in the softc.

	Properly cleanup the last SCB we tested against should we
	fail to properly find an SCB for a reselection.

	Add some additional sequencer debugging code.

aic7xxx_freebsd.c:
	Limit the driver to 253 outstanding commands per adapter.

	Guard against overflow in timeout handling.

aic7xxx_inline.h:
	AHC_SCB_BTT is a "flag" not a "feature".  Check the right
	field in the softc.

aic7xxx_pci.c:
	Set the removable feature for the apa1480 cardbus and the 29160C
	Compact PCI card.

	Don't report high byte termination information for narrow cards.

	Use a PCI read rather than a questionable delay when fetching/setting
	termination settings.
2001-01-22 21:03:48 +00:00
..
aac
acpica Plug a memory leak in AcpiOsDeleteSemaphore where the mutex is not properly 2001-01-22 05:33:36 +00:00
advansys
agp
aha
ahb
aic Use PCCARD_CIS_xxx #defines for the table of oem ids. These usually 2001-01-21 08:15:37 +00:00
aic7xxx ahc_eisa.c: 2001-01-22 21:03:48 +00:00
amd
amr
an Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
ar Special case for compiling LINT - just give a warning and continue on. 2001-01-17 00:47:46 +00:00
asr
ata Correct botchup in last commit that made older VIA chips fail... 2001-01-21 16:13:03 +00:00
atkbdc
awi
bktr Finish deprecating <sys/select.h> in favor of <sys/selinfo.h> in kernel code. 2001-01-20 02:24:07 +00:00
buslogic
cardbus
ccd
cs Break the isa attachment of the Crystal Semiconductor 89x0 into two 2001-01-21 04:56:12 +00:00
cy Special case for compiling LINT - just give a warning and continue on. 2001-01-17 00:47:46 +00:00
dc Silence compiler warnings. 2001-01-20 00:07:49 +00:00
de
dec
dgb
dpt
ed Add a bunch of entries from NetBSD's if_ne_pcmcia.c v1.67. We still 2001-01-21 08:20:23 +00:00
eisa
en
ep Use PCCARD_CIS_xxx #defines for the table of oem ids. These usually 2001-01-21 08:15:37 +00:00
ex Warning police: 2001-01-19 09:04:56 +00:00
fb
fdc
fe
fxp Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
hea Minor tweaks to get these to stop breaking LINT. They still dont work 2001-01-17 01:08:50 +00:00
hfa Minor tweaks to get these to stop breaking LINT. They still dont work 2001-01-17 01:08:50 +00:00
ic
ichsmb
ida
ie This driver needs COMPAT_OLDISA too. Sigh. 2001-01-19 11:46:57 +00:00
iicbus
isp Guard against overflow of the calculated timeout value. 2001-01-16 07:15:36 +00:00
ispfw
joy
kbd
lmc Minor tweaks to get these to stop breaking LINT. They still dont work 2001-01-17 01:08:50 +00:00
lnc
mc146818
mca - Remove an unused write_ivars function that didn't do anything anyway. 2001-01-19 09:29:34 +00:00
mcd
md General cleanup. 2001-01-21 22:57:56 +00:00
mii
mlx
mly
mse Finish deprecating <sys/select.h> in favor of <sys/selinfo.h> in kernel code. 2001-01-20 02:24:07 +00:00
musycc Update these netgraph drivers in current so that these changes can be 2001-01-21 22:16:20 +00:00
ncv Zap some cut-paste code that isn't used. It #included "apm.h" and 2001-01-19 13:55:08 +00:00
nsp Zap some cut-paste code that isn't used. It #included "apm.h" and 2001-01-19 13:55:08 +00:00
null
ofw
pccard Convert the vendor/product cis strings to an array of CIS entries. This 2001-01-21 08:09:00 +00:00
pccbb
pcf
pci
pcic
pdq
ppbus
ppc
random Remove NOBLOCKRANDOM as a compile-time option. Instead, provide 2001-01-14 17:50:15 +00:00
ray Take advantage of the fixes to the pcic code that allows multiple 2001-01-17 17:55:00 +00:00
rc
rp
scd
sf Check the return value of sf_encap() and handle errors accordingly. 2001-01-20 00:50:51 +00:00
si
sio
sk Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
smbus
sn Use PCCARD_CIS_xxx #defines for the table of oem ids. These usually 2001-01-21 08:15:37 +00:00
snc
snp
sound
speaker
sr Special case for compiling LINT - just give a warning and continue on. 2001-01-17 00:47:46 +00:00
stg Zap some cut-paste code that isn't used. It #included "apm.h" and 2001-01-19 13:55:08 +00:00
streams
sym
syscons Added PC-98 apm support. 2001-01-22 11:27:25 +00:00
tdfx
ti Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
twe
tx
usb Make intr_nesting_level per-process, rather than per-cpu. Setup 2001-01-21 19:25:07 +00:00
vinum Make intr_nesting_level per-process, rather than per-cpu. Setup 2001-01-21 19:25:07 +00:00
vn
vr Set the OACTIVE flag if vr_encap() fails. 2001-01-20 00:47:55 +00:00
vx
wds
wi wi has been converted to NEWCARD, so included it when pccard is 2001-01-21 18:10:38 +00:00
wl
xe