summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/sbp_targ.c
Commit message (Collapse)AuthorAgeFilesLines
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Change u_intXX_t to uintXX_t. Change a couple of 'unsigned long's todfr2004-05-221-37/+37
| | | | uint32_t where appropriate.
* MFp4: FireWiresimokawa2004-03-261-65/+65
| | | | | | | | | | | | | | | | | | | * all - s/__FUNCTION__/__func__/. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> - Compatibility for RELENG_4 and DragonFly. * firewire - Timestamp just before queuing. - Retry bus probe if it fails. - Use device_printf() for debug message. - Invalidiate CROM while update. - Don't process minimum/invalid CROM. * sbp - Add ORB_SHORTAGE flag. - Add sbp.tags tunable. - Revive doorbell support. It's not enabled by default.
* * fwohci_pci.csimokawa2004-01-231-7/+8
| | | | | | | | Improve error message for attach failure. * sbp_targ.c - Add speed in struct sbp_targ_login. - Remove unnecessary htonl().
* Fix panic.simokawa2003-12-131-6/+2
| | | | | - Don't call sbp_targ_status_FIFO() twice for LOGIN error. - Don't access login if it's NULL.
* MFp4:simokawa2003-12-111-129/+309
| | | | | | - Introduce sbp_targ_login instead of sbp_targ_istate. - Implement reconnection and logout. - Freeze simq while bus reset.
* Improve debug message.simokawa2003-11-121-6/+6
|
* Add SBP-II target mode driver.simokawa2003-10-181-0/+1550
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.
OpenPOWER on IntegriCloud