freebsd-skq/sys
mjacob 2ae6a1b3d3 This is a somewhat imperfect means to try and bring FreeBSD forward in
its ability to automatically scan and attach luns for modern storage
which has luns in the 0..1000 range, not 0..7.

The correct thing would be to do REPORT LUNS for devices whose LUN0
version shows a version >= SCSI3, but lacking that we should be able
to search higher than LUN 7 if we're >= SCSI3 with no ill effects.

This change keeps all of the QUIRK_HILUNS quirks, obeys the QUIRK_NOLUNS,
and introduces a QUIRK_NOHILUNS which will keep searches above LUN 7
happening for devices that report >= SCSI3 compliance. I doubt the latter
will be needed, but you never know.

This allowed me to randomly scan and attach  > 500 disks at a time in
a situation where quirking for QUIRK_HILUNS wasn't practical (the
vendor id and product id changes of the virtualization changes
constantly).

Reviewed by:	ken@freebsd.org, scottl@freebsd.org, gibbs@freebsd.org
MFC after:	2 weeks
2005-01-22 22:46:45 +00:00
..
alpha Add bus_dmamap_load_mbuf_sg() to alpha. 2005-01-15 20:11:25 +00:00
amd64 JumboMFi386: use bitmapped IPI handler. Update elcr and default mptable 2005-01-21 06:01:20 +00:00
arm Remove references to non-existing symbols DO_corb and got_mmu. 2005-01-20 22:23:26 +00:00
boot Only update the boot sector when there is a valid drive number provided. 2005-01-09 23:30:35 +00:00
cam This is a somewhat imperfect means to try and bring FreeBSD forward in 2005-01-22 22:46:45 +00:00
coda Remove unused coda_fbsd_getpages() 2005-01-19 08:24:53 +00:00
compat Add a 32bit syscall wrapper for modstat 2005-01-19 17:53:06 +00:00
conf Embellish rev 1.61. If we're not building a debug kernel, use -O2 as before. 2005-01-22 00:58:34 +00:00
contrib Use the packet's address family instead of the rule's when selecting a 2005-01-20 18:07:35 +00:00
crypto Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
ddb Start each of the license/copyright comments with /*- 2005-01-06 01:34:41 +00:00
dev Bring in support for SUGOI LAN GIGA NIC made by System TALKS, Inc from 2005-01-22 22:40:53 +00:00
doc
fs whitespace nit 2005-01-19 09:07:56 +00:00
gdb /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:27:30 +00:00
geom Only report state changes of subdisks and plexes when there's 2005-01-21 18:27:23 +00:00
gnu Eliminate unused and unnecessary "cred" argument from vinvalbuf() 2005-01-14 07:33:51 +00:00
i4b /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
i386 If a valid ELCR was found, consult it for the trigger mode of ISA 2005-01-18 20:27:24 +00:00
ia64 Fix compile errors. Bah. 2005-01-18 11:06:34 +00:00
isa Make life for owners of Synaptics Touchpads more pleasant :-) 2005-01-10 13:05:58 +00:00
isofs/cd9660 Wrap the bufobj operations in macros: BO_STRATEGY() and BO_WRITE() 2005-01-11 09:10:46 +00:00
kern When DDB is not defined, don't implement witness_thread_has_locks() and 2005-01-22 21:14:21 +00:00
libkern /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-07 00:24:33 +00:00
modules Provide a WITHOUT_MODULES variable that specifies a list of modules 2005-01-20 05:43:24 +00:00
net - Reduce number of arguments passed to dummynet_io(), we already have cookie 2005-01-16 11:13:18 +00:00
net80211 handle potential stale values of bssid in neighbor nodes that 2005-01-22 20:33:37 +00:00
netatalk /* -> /*- for license, minor formatting changes, insert COPYRIGHT into files 2005-01-07 02:35:34 +00:00
netatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netgraph Use log() instead of printf(), to reduce flood on console. 2005-01-20 13:28:39 +00:00
netinet Sort sections. 2005-01-20 09:17:07 +00:00
netinet6 we don't need to make fake sockaddr_in6 to compare subject address. 2005-01-21 18:12:46 +00:00
netipsec /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netipx Mark the IPX netisr as MPSAFE so that inbound IPX traffic is processed 2005-01-09 07:34:55 +00:00
netkey fixed an unexpected addr/port matching failure in IPv6 SA management 2005-01-10 13:06:42 +00:00
netnatm /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netncp /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
netsmb /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
nfs4client This file fell out of the list when adding bufsync. 2005-01-11 11:36:26 +00:00
nfsclient Mostly back out rev 1.33 from quite some time ago, and the followup fixes 2005-01-18 21:59:44 +00:00
nfsserver Now that we have a non blocking version of nfsm_dissect(), change all the 2005-01-19 22:53:40 +00:00
opencrypto /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pc98 MFi386: fix a comment. 2005-01-17 08:36:46 +00:00
pccard /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pci Bring in support for SUGOI LAN GIGA NIC made by System TALKS, Inc from 2005-01-22 22:40:53 +00:00
posix4 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
powerpc Fix (accidental?) lock order reversal in pmap_remove. Found when 2005-01-21 01:02:38 +00:00
rpc /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
security Update mac_test for MAC Framework policy entry points System V IPC 2005-01-22 20:31:29 +00:00
sparc64 At least on some U30 there's a spurious duplicate device node of an EBus 2005-01-20 13:29:31 +00:00
sys move kern_nanosleep to sys/syscallsubr.h 2005-01-19 18:09:50 +00:00
tools Get rid of the VDESC() macro while the pot is boiling anyway, it is 2005-01-13 08:05:20 +00:00
ufs Fix ACLs handling for the root file system. 2005-01-15 17:09:53 +00:00
vm Guard against address wrap in kernacc(). Otherwise, a program accessing a 2005-01-22 19:21:29 +00:00
Makefile Add a NO_BOOT knob to prevent building the boot blocks and loader. 2004-08-19 09:54:28 +00:00