opnsense-src/sys
Matt Jacob 443e752d97 Revamp the pieces of some of the stuff I forgot to do when shifting to
32 bit handles. The RIO (reduced interrupt operation) and fast posting
for the parallel SCSI cards were all 16 bit handles. Furthermore,
target mode parallel SCSI only can have 16 bit handles.

Use part of a supplied patch to switch over to using 32 bit handles.
Be a bit more conservative here and only do this for parallel SCSI
for the 12160 (Ultra3) cards. There were a lot of marginal Ultra2
cards, and, frankly, few are findable now for testing.

Fix the target handle routine to only do 16 bit handles for parallel
SCSI cards. This is okay because the upper sixteen bits of the new
32 bit handles is a sequence number to help protect against duplicate
completions. This would be very unlikely to happen with parallel
SCSI target mode, and wasn't present before, so we're no worse off
than we used to be.

While we're at it, finally split the async mailbox completion handlers
into FC and parallel SCSI functions. This makes it much cleaner and
easier to figure out what is or isn't a legal async mailbox completion
code for different card classes.

PR:		kern/144250
Submitted partially by:	Charles D
MFC after:	1 week
2010-02-27 05:41:23 +00:00
..
amd64 Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
arm Do not force verbose and single mode in non-metadata boot case. 2010-02-24 20:31:00 +00:00
boot Add bwn(4) driver. 2010-02-25 19:47:47 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Make PUIS detection more strict. Previous implementation caused false 2010-02-26 10:42:46 +00:00
cddl Use mf and not mf.a. The latter doesn't force memory ordering and 2010-02-22 01:24:34 +00:00
compat No need to include security/mac/mac_framework.h here. 2010-02-18 22:26:01 +00:00
conf MFi386: the part of r204309 to fix pc98 kernel 2010-02-25 15:44:54 +00:00
contrib Uuencode the rt2870 firmware into ascii like the other firmware blobs. 2010-01-29 03:35:01 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Add a space before printing 'thread pid ...' to match the space before 2010-02-12 19:52:51 +00:00
dev Revamp the pieces of some of the stuff I forgot to do when shifting to 2010-02-27 05:41:23 +00:00
fs Fix common misspelling of hierarchy 2010-02-20 10:19:19 +00:00
gdb
geom Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
gnu Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer 2010-01-14 14:30:54 +00:00
i386 Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
ia64 Prefer I-units and M-units for nop instructions. This works around 2010-02-22 01:23:41 +00:00
isa Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
kern Don't inforce an upper bound on kern.ngroups. The INT_MAX-1 limit was 2010-02-24 15:52:18 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern Merge from head at r201628. 2010-01-06 05:58:07 +00:00
mips Fix another fo-pa of mine... duplicate patches should 2010-02-21 17:27:20 +00:00
modules Add bwn(4) driver to the build. 2010-02-25 19:42:51 +00:00
net Fix edge cases in several KASSERTs: use <= rather than < when testing that 2010-02-25 09:51:14 +00:00
net80211 Ensure that tkip_mixing_phase1() is called after a rekeying event when 2010-02-08 18:16:59 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Declare a new EVENTHANDLER called iflladdr_event which signals that the L2 2010-01-18 20:34:00 +00:00
netinet Upon virtual network stack teardown properly release the TCP syncache 2010-02-20 21:45:04 +00:00
netinet6 No need to include security/mac/mac_framework.h here. 2010-02-18 22:30:37 +00:00
netipsec Correct typo in comment. 2010-02-18 22:34:29 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nfsclient Simplify code a bit. 2010-02-18 22:10:55 +00:00
nfsserver Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
pci Add initial support for RTL8103E PCIe fastethernet. 2010-01-27 17:49:27 +00:00
powerpc Fix another bug involving /dev/mem and the OEA64 scratchpage. When 2010-02-25 14:51:06 +00:00
rpc Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic 2010-01-12 07:49:34 +00:00
security Make sure we convert audit records that were produced as the result of the 2010-01-31 22:31:01 +00:00
sparc64 Some machines can not only consist of CPUs running at different speeds 2010-02-21 09:25:53 +00:00
sun4v Adjust style (following the already existing rules) for the newly 2010-02-15 23:44:48 +00:00
sys Make PUIS detection more strict. Previous implementation caused false 2010-02-26 10:42:46 +00:00
teken Fall back to ASCII codepoints for box drawing. 2010-02-08 09:16:59 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs When ffs_realloccg() failed to allocate bigger fragment and, because 2010-02-13 10:34:50 +00:00
vm Remove write-only variable. 2010-02-22 16:00:56 +00:00
x86 Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00