summaryrefslogtreecommitdiffstats
path: root/sys/modules/firewire
Commit message (Collapse)AuthorAgeFilesLines
* Add fwip module.dfr2004-07-121-0/+1
|
* Add fwip module.dfr2004-07-121-0/+19
| | | | Submitted by: simokawa
* Removed -g from CFLAGS. There is a better way to build debuggingru2004-02-132-2/+0
| | | | | | versions of the modules, and unconditionally putting -g in CFLAGS has negative impact on the size of the resulting .ko object, even now that debugging symbols are always stripped.
* Normalize SUBDIR.ru2004-01-191-5/+4
|
* Add SBP-II target mode driver.simokawa2003-10-182-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions.simokawa2003-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And many changes. * all - Major change of struct fw_xfer. o {send,recv}.buf is splitted into hdr and payload. o Remove unnecessary fields. o spd is moved under send and recv. - Remove unnecessary 'volatile' keyword. - Add definition of rtcode and extcode. * firewire.c - Ignore FWDEVINVAL devices in fw_noderesolve_nodeid(). - Check the existance of the bind before call STAILQ_REMOVE(). - Fix bug in the fw_bindadd(). - Change element of struct fw_bind for simplicity. - Check rtcode of response packet. - Reduce split transaction timeout to 200 msec. (100msec is the default value in the spec.) - Set watchdog timer cycle to 10 Hz. - Set xfer->tv just before calling fw_get_tlabel(). * fwohci.c - Simplifies fwohci_get_plen(). * sbp.c - Fix byte order of multibyte scsi_status informations. - Split sbp.c and sbp.h. - Unit number is not necessary for FIFO¤ address. - Reduce LOGIN_DELAY and SCAN_DELAY to 1 sec. - Add some constants defineded in SBP-2 spec. * fwmem.c - Introduce fwmem_strategy() and reduce memory copy.
* MFp4(simokawa_firewire):simokawa2003-04-173-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many internal structure changes for the FireWire driver. - Compute CRC in CROM parsing. - Add support for configuration ROM build. - Simplify dummy buffer handling. - busdma conversion - Use swi_taskqueue_giant for -current. Mark the interrupt routine as MPSAFE. - AR buffer handling. Don't reallocate AR buffer but just recycle it. Don't malloc and copy per packet in fwohci_arcv(). Pass packet to fw_rcv() using iovec. Application must prepare receiving buffer in advance. - Change fw_bind API so that application should pre-allocate xfer structure. - Add fw_xfer_unload() for recycling struct fw_xfer. - Add post_busreset hook - Remove unused 'sub' and 'act_type' in struct fw_xfer. - Remove npacket from struct fw_bulkxfer. - Don't call back handlers in fwochi_arcv() if the packet has not drained in AT queue - Make firewire works on big endian platform. - Use native endian for packet header and remove unnecessary ntohX/htonX. - Remove FWXFERQ_PACKET mode. We don't use it anymore. - Remove unnecessary restriction of FWSTMAXCHUNK. - Don't set root node for phy config packet if the root node is not cycle master capable but set myself for root node. We should be the root node after next bus reset. Spotted by: Yoshihiro Tabira <tabira@scd.mei.co.jp> - Improve self id handling Tested on: i386, sparc64 and i386 with forced bounce buffer
* Remove unnecessary EXPORT_SYMS.simokawa2003-02-131-2/+0
|
* - Replace printf() with device_printf().simokawa2003-01-041-1/+1
| | | | | | | | | - Separate fc->dev (i.e. fwohci0) and fc->bdev (i.e. firewire0). - Remove unused firewirebusreg.h. - Reduce size of descriptor block for asynchronous transmit and check the number of descriptor when copying from mbuf. - Skip mbuf whose length is zero. NFS seems passing such mbuf and some chips generates unrecoverable error.
* - Implement primal Configuration ROM parser.simokawa2002-12-311-1/+1
| | | | - Support multiple LUNs for SBP-II.
* Split userland services to fwdev.c.simokawa2002-11-121-9/+1
|
* Include "../Makefile.inc".nyan2002-11-061-0/+3
|
* Enable if_fwe.simokawa2002-11-031-1/+1
|
* - Remove unused opt_foo.h headers.jhb2002-10-143-20/+6
| | | | | - Don't mess with CFLAGS. - Fix description of fwe module Makefile.
* Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serialikob2002-09-134-0/+76
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
OpenPOWER on IntegriCloud