freebsd-skq/sys
simokawa 8b6083e5fd Add SBP-II target mode driver.
Though this is still incomplete and has some missing features such as
exclusive login and event notification, it may be enough for someone
who wants to play with it.

This driver is supposed to work with firewire(4), targ(4) of CAM(4)
and scsi_target(8) which can be found in /usr/share/example/scsi_target.
This driver doesn't require sbp(4) which implements initiator mode.

Sample configuration:

Kernel: (you can use modules as well)
device	firewire
device	scbus
device	targ
device	sbp_targ

After reboot:
# mdconfig -a -t malloc -s 10m
md0
# scsi_target 0:0:0 /dev/md0
(Assuming sbp_targ0 on scbus0)

You should find the 10MB HDD on FreeBSD/MacOS X/WinXP or whatever connected
to the target using FireWire.

Manpage is not finished yet.
2003-10-18 05:41:31 +00:00
..
alpha Implement preliminary support for the PT_SYSCALL command to ptrace(2). 2003-10-09 10:17:16 +00:00
amd64 Don't forget to load %es with the kernel data segment selector in 2003-10-16 10:44:24 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot Don't repeat selected defines from ns16550.h or sioreg.h. Just 2003-09-16 11:24:23 +00:00
cam (dacleanup, dasysctlinit): Defend against calling sysctl_ctx_free on 2003-10-08 07:12:30 +00:00
coda Include <sys/mutex.h>. Don't depend on namespace pollution in <sys/vnode.h>. 2003-10-05 07:44:45 +00:00
compat Fix some problems in linux_sendmsg() and linux_recvmsg(). 2003-10-11 15:08:32 +00:00
conf Add SBP-II target mode driver. 2003-10-18 05:41:31 +00:00
contrib use ND_IFINFO(). 2003-10-17 20:20:14 +00:00
crypto Fix alignment problem on 64 bit arch. 2003-10-14 13:37:37 +00:00
ddb Reworked rev.1.14. Use the ELF symbol type again to summarily reject 2003-09-28 06:02:33 +00:00
dev Add SBP-II target mode driver. 2003-10-18 05:41:31 +00:00
fs Introduce a new optional memberfunction for cdevsw, fdopen() which 2003-10-15 20:00:59 +00:00
geom Assume that bp->bio_offset is correctly initialized. 2003-10-12 11:35:55 +00:00
gnu - File systems that wish to inspect the vnode contents or their private 2003-10-05 06:43:03 +00:00
i4b Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
i386 Don't forget to load %es with the kernel data segment selector in 2003-10-16 10:44:24 +00:00
ia64 Implement cpu_idle() on ia64. We put the processor in a lightweight 2003-10-17 02:24:59 +00:00
isa Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
isofs/cd9660 - Don't cache_purge() in cd9660_reclaim. vclean() does it for us so 2003-10-05 02:45:36 +00:00
kern Wrap db_active check in #ifdef DDB, as db_active is not defined ifndef 2003-10-18 02:23:57 +00:00
libkern - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
modules Add SBP-II target mode driver. 2003-10-18 05:41:31 +00:00
net - add dom_if{attach,detach} framework. 2003-10-17 15:46:31 +00:00
net80211 fix station mode breakage (repeat after me: "test every change, no 2003-10-17 23:59:11 +00:00
netatalk More checking of M_PREPEND() return values: pass through link-layer 2003-08-29 19:27:09 +00:00
netatm
netgraph Update Bluetooth code. 2003-10-12 22:04:24 +00:00
netinet - add dom_if{attach,detach} framework. 2003-10-17 15:46:31 +00:00
netinet6 nuke duplicate function and unused function. 2003-10-17 17:50:09 +00:00
netipsec MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
netipx Fix a bunch of off-by-one errors in the range checking code. 2003-09-11 21:40:21 +00:00
netkey nuke unused ICMPV6CTL_NAMES and KEYCTL_NAMES macros. 2003-10-07 15:14:33 +00:00
netnatm
netncp The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
netsmb - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
nfs
nfsclient Since the addition of the VI_DOINGINACT flag some time ago, 2003-10-05 12:41:35 +00:00
nfsserver - Set the sopt_dir member of the sockopt structure, otherwise, this parameter 2003-10-04 17:37:51 +00:00
opencrypto The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
pc98 MFi386: revision 1.576. 2003-10-11 09:24:58 +00:00
pccard More debug under boot verbose. 2003-08-29 23:25:00 +00:00
pci Sanitize the code relating to the /dev/ti%d entries. In particular evict 2003-10-10 20:35:28 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc Move pmap_resident_count() from the MD pmap.h to the MI pmap.h. 2003-10-06 01:47:12 +00:00
rpc
security Use __BEGIN_DECLS and __END_DECLS around userland function prototypes 2003-10-02 03:07:51 +00:00
sparc64 Add an 'include' directive to pull in <sys/ptrace.h>. 2003-10-10 10:31:48 +00:00
sys Add a new cn_flags fields to struct consdev, the low-level console 2003-10-18 02:13:39 +00:00
tools Changes for new SMP-safe kobj method dispatch algorithm. 2003-10-16 13:29:26 +00:00
ufs When expunging unlinked files from a snapshot, skip over holes in the 2003-10-17 13:57:58 +00:00
vm - Synchronize access to a vm page's valid field using the containing 2003-10-17 05:07:17 +00:00
Makefile