From owner-cvs-all@FreeBSD.ORG Fri Oct 17 22:41:32 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EC5D16A4B3; Fri, 17 Oct 2003 22:41:32 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E6A343FE0; Fri, 17 Oct 2003 22:41:32 -0700 (PDT) (envelope-from simokawa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9I5fVXJ077967; Fri, 17 Oct 2003 22:41:31 -0700 (PDT) (envelope-from simokawa@repoman.freebsd.org) Received: (from simokawa@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9I5fVdl077966; Fri, 17 Oct 2003 22:41:31 -0700 (PDT) (envelope-from simokawa) Message-Id: <200310180541.h9I5fVdl077966@repoman.freebsd.org> From: Hidetoshi Shimokawa Date: Fri, 17 Oct 2003 22:41:31 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/dev/firewire sbp_targ.c src/sys/modules/firewire/sbp_targ Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2003 05:41:32 -0000 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)