Copyright (c) 2003 Hidetoshi Shimokawa All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/o...
NAMEsbp_targ - Serial Bus Protocol 2 (SBP-2) Target Mode devices driver
SYNOPSISTo compile this driver into the kernel, place the following lines in your kernel configuration file:
device sbp_targ device firewire device scbus device targ
Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf5:
firewire_load="YES" cam_load="YES" sbp_targ_load"YES"
DESCRIPTIONThe ifconfig driver provides support for SBP-2 target mode. This driver is supposed to work with cam(4), targ(4) and firewire(4). You also need to use scsi_target8, which can be found in /usr/share/examples/scsi_target to provide actual devices.
# mdconfig -a -t malloc -s 10m md0 # scsi_target 0:0:0 /dev/md0 (Assuming sbp_targ0 on scbus0)