opnsense-src/sys/dev
Kenneth D. Merry 0b883cf6b4 Fix a couple of mps problems.
When the driver is completely saturated with commands (1024 in the
case of the SAS2008 in my test system), I/O stops.  If we tell CAM
that we have one less command slot than we have actually allocated,
everything works fine.  We also need a few extra command slots to
allow for aborts and other task management commands to be sent down.

This needs more investigation to determine the root cause, but for
now this fixes things in my testing.

mps.c:		Change a printf() to mps_printf().

mps_sas.c:	Subtract 5 command slots when we tell CAM how many
		commands we can handle.

		Add some commented-out logic to print the contents
		the CDBs for timed-out commands.  This can help
		in debugging devices that are timing out.  This
		will be uncommented once I bring some CAM changes in.

Reported by:	Andrew Boyer <aboyer at averesystems dot com>
2010-09-17 21:53:56 +00:00
..
aac Use device_printf where possible, and otherwise at least include the 2010-09-16 23:33:24 +00:00
acpi_support Remove an unnecessary hack from ACPICA 20100915 (r212761). 2010-09-16 20:11:40 +00:00
acpica Merge ACPICA 20100915. 2010-09-16 20:08:00 +00:00
adb Add support for interpreting taps on ADB touchpads as a button click. 2009-11-28 17:48:25 +00:00
adlink Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
advansys Separate the parallel scsi knowledge out of the core of the XPT, and 2009-07-10 08:18:08 +00:00
ae Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
age Remove unnecessary controller reinitialization. 2010-08-24 19:41:15 +00:00
agp Do not mention VM_ALLOC_RETRY in comment, and normalize the terminology 2010-07-08 08:39:02 +00:00
aha Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag() 2008-10-07 23:55:32 +00:00
ahb
ahci Fix panic, when due to some kind of congestion on FIS-based switching 2010-09-16 12:39:50 +00:00
aic Snip redundant assignment. 2009-05-13 22:31:25 +00:00
aic7xxx For every instance of '.if ${CC} == "foo"' or '.if ${CC} != "foo"' in 2010-08-17 20:39:28 +00:00
alc status bits should be &'ed against status to be really functional. 2010-09-16 21:06:23 +00:00
ale It seems ale(4) controllers do not like to see TCP payload in the 2010-04-26 21:08:15 +00:00
amd Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
amdsbwd amdsbwd: fix nonsensical timeout calculations 2010-05-31 09:07:23 +00:00
amdtemp Restore (undocumented) support for early revisions and add more comments. 2009-09-14 23:08:19 +00:00
amr Fix clang warning on empty statement. 2010-07-28 16:24:11 +00:00
an Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
arcmsr Apply vendor version 1.20.00.17. 2010-07-21 18:50:24 +00:00
asmc Use %zu for size_t. 2009-09-14 21:33:00 +00:00
asr MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
ata Fix a problem where device detection would work unreliably on Serverworks 2010-09-09 13:17:30 +00:00
ath Fix indenting/whitespace issues introduced by me. 2010-08-15 11:40:53 +00:00
atkbdc bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
auxio Enroll these drivers in multipass probing. The motivation behind this 2009-12-22 21:02:46 +00:00
bce Fix an apparent typo. 2010-07-26 23:24:42 +00:00
bfe Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
bge Fix incorrect RX BD producer updates. The producer index was 2010-09-16 17:32:37 +00:00
bktr Fix build on architectures where PAGE_SIZE is a long (sparc64, powerpc). 2010-07-13 19:27:20 +00:00
bm Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
buslogic
bwi Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework 2010-08-14 20:12:10 +00:00
bwn Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework 2010-08-14 20:12:10 +00:00
cardbus Move the PCI-specific logic of removing a cardbus device into a 2010-01-05 20:42:25 +00:00
cas KTR_CTx are long time aliased by existing classes so they can't serve 2010-07-21 10:05:07 +00:00
ce Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cfe Start using the 'init_static_kenv()' API provided by r198561 to initialize 2010-08-11 02:13:50 +00:00
cfi Convert Freescale PowerPC platforms to FDT convention. 2010-07-11 21:08:29 +00:00
ciss Initialize the callout structure earlier in attach before calling any 2010-04-28 18:49:45 +00:00
cm Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cmx Commit cmx(4), a driver for Omnikey CardMan 4040 PCMCIA smartcard readers. 2008-03-06 08:09:45 +00:00
coretemp Catch known CPUs before using IA32_TEMPERATURE_TARGET. 2010-08-04 00:25:13 +00:00
cp Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cpuctl - Add support to atomically set/clear individual bits of a MSR register 2009-06-30 12:35:47 +00:00
cpufreq Attach the cpufreq child devices with specific orders to enforce relative 2008-08-13 16:09:40 +00:00
cs Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ct Spell "Hz" correctly wherever it is user-visible. 2010-01-12 17:59:58 +00:00
ctau Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cx Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cxgb Re-add r212370 now that the LOR in powerpc64 has been resolved: 2010-09-16 16:13:12 +00:00
cy
dc cardbus -> CardBus 2010-01-03 23:28:32 +00:00
dcons Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
de Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
digi Remove unused files from the digi(4) driver. 2009-01-16 14:45:48 +00:00
dpms Attach dpms(4) to vgapm and make sure to restore DPMS state after 2009-12-15 19:58:23 +00:00
dpt Get rid of #ident, GCC 4.4 warns about it being deprecated. 2010-01-08 17:20:41 +00:00
drm Add support for ATI Radeon HD 4250. 2010-08-03 16:30:56 +00:00
e1000 Code correction in refresh_mbufs, just continuing 2010-09-07 21:28:45 +00:00
ed On second thought, we need to force 16-bit mode 2010-08-25 02:09:07 +00:00
eisa strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
en Hide an unused variable in case we compile with neither INET nor INET6. 2008-11-06 09:41:31 +00:00
ep Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
esp Include <machine/ofw_machdep.h> for OF_getscsinitid(). 2010-05-10 20:02:39 +00:00
et Change copyright holder to author. We prefer using a real legal 2010-07-30 17:51:22 +00:00
ex Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
exca CardBus instead of cardbus. 2010-01-03 23:26:29 +00:00
fatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
fb Fix segment:offset calculation of interrupt vector for relocated video BIOS 2010-09-13 19:58:46 +00:00
fdc Fix a regression from r200554, which broke fdc(4) attachment to acpi(4). 2010-05-30 03:45:41 +00:00
fdt Eliminate FDT_IMMR_VA define. 2010-07-19 18:47:18 +00:00
fe Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
firewire bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
flash Add s25sl064a, an 8mb SPI flash part. 2010-08-17 16:27:13 +00:00
fxp If controller received bad frames make sure to update newly added 2010-05-14 17:39:28 +00:00
gem Merge r207585 from cas(4): 2010-09-16 09:29:48 +00:00
glxsb Fix two possible (but unlikely) NULL-pointer dereferences in glxsb(4). 2008-11-17 07:09:40 +00:00
hatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
hifn Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
hme KTR_CTx are long time aliased by existing classes so they can't serve 2010-07-21 10:05:07 +00:00
hptiop Report transport type in XPT_PATH_INQ. 2010-06-19 13:41:17 +00:00
hptmv Report transport type in XPT_PATH_INQ. 2010-06-19 13:42:14 +00:00
hptrr MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
hwpmc Fix invalid class removal when IAF is not the last class. 2010-09-05 13:31:14 +00:00
ic Merge from projects/mips to head by hand: 2010-01-11 04:13:06 +00:00
ichsmb Add support for Intel Cougar Point SMBus controller. 2010-08-27 23:24:08 +00:00
ichwd Add Intel Cougar Point PCH LPC Controller Device IDs 2010-08-28 00:09:46 +00:00
ida
ie Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ieee488 GPIB overhaul, part #2: make the tnt4882 driver work with the newer 2010-02-01 21:21:10 +00:00
if_ndis Add missing MODULE_VERSION() definitions, this resolves problems around 2010-09-01 23:47:53 +00:00
iicbus bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
iir Get rid of #ident. 2010-01-08 20:40:28 +00:00
io - Extract the IODEV_PIO interface from ia64 and make it MI. 2010-04-28 15:38:01 +00:00
ipmi Fix test for double-nul characters that terminate the string table at 2010-07-29 13:46:37 +00:00
ips Fix argument order in a call to mtx_init. 2009-12-17 00:21:12 +00:00
ipw Enable 5.5 and 11Mbit TX rates. 2010-05-11 17:14:17 +00:00
iscsi/initiator Remove the freelist, which simply duplicates some of the zone allocator's 2010-09-02 14:13:43 +00:00
isp Don't pass a buffer directly as a printflike format string. 2010-06-10 19:38:07 +00:00
ispfw Don't spam dmesg with "registered firmware ..." when module is compiled 2010-03-05 03:37:42 +00:00
iwi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
iwn Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework 2010-08-14 20:12:10 +00:00
ixgb Do not allocate multicast array memory in multicast filter 2010-08-28 00:34:22 +00:00
ixgbe Do not allocate multicast array memory in multicast filter 2010-08-28 00:34:22 +00:00
jme Add TSO support on VLANs. jme(4) controllers do not require VLAN 2010-02-22 22:05:49 +00:00
joy Use si_drv1 to store joy(4)'s softc. 2009-04-14 11:23:09 +00:00
kbd Use an unsigned integer for storing the key code. 2009-09-22 11:29:11 +00:00
kbdmux Use proper types in kbdmux_kbd_getc(): 2009-06-08 20:24:29 +00:00
ksyms Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
le Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
led Fix an incorrect use of sbuf_overflowed() after a call to sbuf_finish(). 2010-09-09 18:35:08 +00:00
lge - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
lindev lindev(4) [1] is supposed to be a collection of linux-specific pseudo 2009-09-26 12:45:28 +00:00
lmc One more #ifdef fix for GCC 4.4. 2010-01-08 15:57:56 +00:00
malo Fix firmware module dependencies. 2010-09-10 08:11:48 +00:00
mc146818 Remove clause 3 from Izumi Tsutsui's licenses. 2009-12-25 22:58:43 +00:00
mca strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
mcd
md - Remove some extra white space. 2010-07-26 10:37:14 +00:00
mem
mfi Correct mfip module dependency on mfi. This allows mfip to be loaded as 2010-03-02 17:34:11 +00:00
mge Convert Marvell ARM platforms to FDT convention. 2010-06-13 13:28:53 +00:00
mii Correct definition of T2 mode bit of MRBE Message Page 5 Next Page 2010-09-08 21:08:54 +00:00
mk48txx Fix botches in r201005: 2010-01-01 22:47:53 +00:00
mlx Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
mly MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
mmc Report relative card address to NewBus as location string. 2010-05-23 09:44:48 +00:00
mn Move mn over. One of the last stragglers in sys/pci. There's no 2008-11-02 17:04:54 +00:00
mps Fix a couple of mps problems. 2010-09-17 21:53:56 +00:00
mpt Figure which is the IO and MEM bars- do not assume that they are in 2010-08-06 17:27:00 +00:00
mse Make mse(4) use si_drv1, instead of using unit numbers. 2009-04-20 15:15:24 +00:00
msk Catch up to rename of the constant for the Master Data Parity Error bit in 2010-09-09 20:26:30 +00:00
mvs Fix panic, when due to some kind of congestion on FIS-based switching 2010-09-16 12:39:50 +00:00
mwl Fix firmware module dependencies. 2010-09-10 08:11:48 +00:00
mxge Add interrupt descriptions for mxge's msi-x vectors 2010-05-21 15:57:24 +00:00
my Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ncv strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
nfe With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
nge Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
nmdm - Remove an unnecessary memory barrier from an atomic op. 2009-06-09 13:33:03 +00:00
nsp strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
null Mark /dev/zero and /dev/null as eternal. 2010-08-06 09:47:48 +00:00
nve Initialize the ifnet before calling mii_phy_probe() as some phy drivers 2010-01-27 14:43:28 +00:00
nvram - Use an sx lock to serialize writes since they update the checksum. 2008-08-01 20:39:18 +00:00
nxge Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ofw Change OF_interpret() to also take an array of cell_t (missed in r209801). 2010-09-11 18:55:00 +00:00
patm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
pbio Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
pccard cardbus -> CardBus 2010-01-03 23:31:58 +00:00
pccbb Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
pcf strict kobj signatures: fix iicbus_write impl in dev/pcf 2009-06-11 17:15:44 +00:00
pci - Rename the constant for the Master Data Parity Error flag in the 2010-09-09 18:19:15 +00:00
pcn - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
pdq Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powermac_nvram Add support for the Sharp/Micron flash chips to powermac_mvram(4). 2010-09-05 20:04:02 +00:00
ppbus bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
ppc Add PCI ID for MCS9901's parallel port. 2010-03-23 20:08:18 +00:00
pst Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
pty Move ptmx into pty(4). 2009-09-06 10:27:45 +00:00
puc Add support for the Perle Speed4 LE. 2010-05-20 13:16:42 +00:00
quicc Convert Freescale PowerPC platforms to FDT convention. 2010-07-11 21:08:29 +00:00
ral Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework 2010-08-14 20:12:10 +00:00
random Use the fpu_kern_enter() interface to properly separate usermode FPU 2010-06-05 16:00:53 +00:00
rc
re Don't change PCIe maximum read request size to 2048 on RTL810x 2010-05-07 23:05:27 +00:00
rndtest
rp These checks against BUSY aren't needed: the newbus layer does this 2009-09-05 08:38:25 +00:00
safe Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
sbni Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
scc Make iclear return int, since that matches all function definitions of it. 2009-02-05 19:32:34 +00:00
scd
sdhci Add support for interruptless kernel dumping. 2009-02-17 19:12:15 +00:00
sec Convert Freescale PowerPC platforms to FDT convention. 2010-07-11 21:08:29 +00:00
sf Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
sge Remove enabling RX checksum offloading in RX filter setup. RX 2010-07-08 18:22:49 +00:00
si Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
siba bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
siis Fix panic, when due to some kind of congestion on FIS-based switching 2010-09-16 12:39:50 +00:00
sio remove now-redunant cardbus attachment. 2009-03-09 13:23:54 +00:00
sis Fix another bug introduced in r212109. We should unload DMA maps 2010-09-03 18:00:17 +00:00
sk Some revision of Yukon controller generates corrupted frame when TX 2010-07-09 21:21:08 +00:00
smbus Make generic_intr routines match prototype. 2009-03-09 13:30:00 +00:00
smc Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
sn Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
snc Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
snp Add ttydisc_rint_simple(). 2009-08-23 08:04:40 +00:00
sound Add Intel Cougar Point PCH HD Audio Controller ID 2010-08-28 00:23:13 +00:00
speaker Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
spibus bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
ste It seems some old Sundace(now IC Plus Corp.) controllers do not 2010-08-09 01:47:09 +00:00
stg strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
stge The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-01 16:52:11 +00:00
streams The streams ptm code is pretty awful and likely incorrect. I don't know 2009-02-16 20:12:28 +00:00
sym - On sparc64 obtain the initiator ID from the Open Firmware device tree 2010-04-27 18:05:33 +00:00
syscons Improve style slightly. 2010-07-19 20:31:04 +00:00
tdfx Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
ti Neither the page lock nor the page queues lock is required to unwire and 2010-05-03 15:51:59 +00:00
tl - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
tpm Add tpm(4) driver for Trusted Platform Module. 2010-08-12 00:16:18 +00:00
trm MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
tsec Convert Freescale PowerPC platforms to FDT convention. 2010-07-11 21:08:29 +00:00
twa Fix a compile problem introduced with r212008 on 32bit: 2010-09-04 16:27:14 +00:00
twe Teach twe driver to report array stripe size to GEOM. 2009-12-25 17:34:43 +00:00
tx Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
txp Make sure rx descriptor ring align on 16 bytes. I guess the 2009-08-31 22:09:48 +00:00
uart Eliminate FDT_IMMR_VA define. 2010-07-19 18:47:18 +00:00
ubsec Cast the bus_size_t to a intmax_t rather than assuming type-punning to 2010-03-29 17:26:24 +00:00
usb Use saner nsegments and maxsegsz parameters when creating certain DMA tags; 2010-09-14 20:41:06 +00:00
utopia
vge Remove wrong assertion. 2009-12-25 00:23:47 +00:00
vkbd Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
vr vr_init_locked() will stop and reset the controller. Remove 2010-08-24 18:44:12 +00:00
vx Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
watchdog
wb - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
wds
wi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
wl Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
wpi Introduce IEEE80211_C_RATECTL, drivers which use the ratectl framework 2010-08-14 20:12:10 +00:00
xe Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
xen A number of netfront fixes and stability improvements: 2010-06-08 03:13:26 +00:00
xl Implement basic WOL support. Note, not all xl(4) controllers 2010-08-23 19:18:50 +00:00