Date: Fri, 17 Oct 2003 22:41:31 -0700 (PDT) From: Hidetoshi Shimokawa <simokawa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/firewire sbp_targ.c src/sys/modules/firewire/sbp_targ Makefile Message-ID: <200310180541.h9I5fVdl077966@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
simokawa 2003/10/17 22:41:31 PDT
FreeBSD src repository
Modified files:
sys/conf files
sys/modules/firewire Makefile
Added files:
sys/dev/firewire sbp_targ.c
sys/modules/firewire/sbp_targ Makefile
Log:
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.
Revision Changes Path
1.835 +1 -0 src/sys/conf/files
1.1 +1550 -0 src/sys/dev/firewire/sbp_targ.c (new)
1.3 +1 -0 src/sys/modules/firewire/Makefile
1.1 +16 -0 src/sys/modules/firewire/sbp_targ/Makefile (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310180541.h9I5fVdl077966>
