1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Nick Hibma 540d9130cc Add a hack to cam that makes the cam_xpt available to the rest of the
kernel. Justin agress that there is no other reasonable alternative to
do automatic rescans on connect.

The problem is that when a new device attaches to a SIM (SCSI host
controller) we need to send a XPT_SCAN_BUS command to the SIM using
xpt_action. This requires however that there is a peripheral available
to take the command (otherwise xpt_done and later bomb). The RESCAN
ioctl uses the same periph.

This enables a USB mass storage drive to do an automatic rescan on
connection of the drive.

The automatic dropping of a CAM entry on disconnection was already
working (asynchronous event).

The next thing to do is find someone to commit a change to vpo to do the
same thing. Just port umass_cam_rescan and friends across to that
driver.

Approved by:   gibbs
2000-04-03 11:11:12 +00:00
..
alpha Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
amd64 Remove the !(I386 & SMP) tests; we don't run SMP on an i386 system, and 2000-04-03 06:02:00 +00:00
boot Synced with following files: 2000-03-31 16:03:02 +00:00
cam Add a hack to cam that makes the cam_xpt available to the rest of the 2000-04-03 11:11:12 +00:00
coda
compat Fix some style bugs. The long line is in a chunk of code that's 2000-03-13 15:27:19 +00:00
compile
conf One in a while, something happens so uncannily that you get knocked off 2000-04-02 07:02:48 +00:00
contrib Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
crypto
ddb
dev Add a hack to cam that makes the cam_xpt available to the rest of the 2000-04-03 11:11:12 +00:00
fs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
geom Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
gnu fix missing defines and prototype for emu_vdump() 2000-04-03 00:28:43 +00:00
i4b Fix a problem which caused i/o resource allocation conflict of this 2000-03-09 20:57:47 +00:00
i386 Remove the !(I386 & SMP) tests; we don't run SMP on an i386 system, and 2000-04-03 06:02:00 +00:00
isa Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
isofs/cd9660 Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
kern regenerate with MPSAFE from syscalls.master 2000-04-03 06:36:57 +00:00
libkern
miscfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
modules Move linprocfs to the i386-only section so the Alpha buildworld has a 2000-03-30 08:04:01 +00:00
msdosfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
net Add support for offloading IP/TCP/UDP checksums to NIC hardware which 2000-03-27 19:14:27 +00:00
netatalk Slight cleanup of aarp code 2000-03-29 17:12:09 +00:00
netatm Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netgraph Call bpfdetach() before going away. 2000-03-21 01:42:56 +00:00
netinet Correct Charles Mott's email address 2000-04-02 20:16:45 +00:00
netinet6 Support per socket based IPv4 mapped IPv6 addr enable/disable control. 2000-04-01 22:35:47 +00:00
netipx Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netkey
netnatm Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netncp
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
nfsclient Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
nfsserver Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
ntfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
nwfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
pc98 Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
pccard Fix typo in description of Cirrus Logic PD6832 PCI-CardBus Bridge. 2000-03-30 18:47:00 +00:00
pci Fix typo in description of Cirrus Logic PD6832 PCI-CardBus Bridge. 2000-03-30 18:47:00 +00:00
posix4 Commit major SMP cleanups and move the BGL (big giant lock) in the 2000-03-28 07:16:37 +00:00
powerpc Remove B_READ, B_WRITE and B_FREEBUF and replace them with a new 2000-03-20 10:44:49 +00:00
rpc
svr4
sys Silence some warnings. 2000-04-03 10:09:18 +00:00
tools
ufs Clone bio versions of certain bits of infrastructure: 2000-04-02 19:08:05 +00:00
vm Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
Makefile Remove the old a.out-only boot loader, we don't use it any more. 2000-03-19 11:42:34 +00:00