aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/firewire
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-157-7/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-167-7/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Fix some modules to export more used symbolsKonstantin Belousov2021-11-181-0/+2
| | | | | | | | | and remove non-present symbols that are now reported by kmod_syms.awk. Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-045-5/+5
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* Move most of the 15 variations on generating opt_inet.h andWarner Losh2014-08-041-5/+0
| | | | | | | | | opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too. Notes: svn path=/head/; revision=269540
* Fix buildworld -DMODULES_WITH_WORLDUlrich Spörlein2011-04-051-1/+1
| | | | Notes: svn path=/head/; revision=220371
* Remove opt_mac.h generation for various kernel modules that no longerRobert Watson2009-06-061-1/+1
| | | | | | | | | require it. Submitted by: pjd Notes: svn path=/head/; revision=193588
* Style: Remove blank lines before EOF.Yaroslav Tykhiy2006-02-184-4/+0
| | | | | | | Tested by: cvs diff -B Notes: svn path=/head/; revision=155824
* Let modules use the kernel's opt_*.h files if built along withYaroslav Tykhiy2005-10-141-0/+2
| | | | | | | | | | | | | | | | | the kernel by wrapping all targets for fake opt_*.h files in .if defined(KERNBUILDDIR). Thus, such fake files won't be created at all if modules are built with the kernel. Some modules undergo cleanup like removing unused or unneeded options or .h files, without which they wouldn't build this way or the other. Reviewed by: ru Tested by: no binary changes in modules built alone Tested on: i386 sparc64 amd64 Notes: svn path=/head/; revision=151350
* Add fwip module.Doug Rabson2004-07-121-0/+1
| | | | Notes: svn path=/head/; revision=132034
* Add fwip module.Doug Rabson2004-07-121-0/+19
| | | | | | | Submitted by: simokawa Notes: svn path=/head/; revision=132033
* Removed -g from CFLAGS. There is a better way to build debuggingRuslan Ermilov2004-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. Notes: svn path=/head/; revision=125771
* Normalize SUBDIR.Ruslan Ermilov2004-01-191-5/+4
| | | | Notes: svn path=/head/; revision=124711
* Add SBP-II target mode driver.Hidetoshi Shimokawa2003-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. Notes: svn path=/head/; revision=121186
* MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions.Hidetoshi Shimokawa2003-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. Notes: svn path=/head/; revision=120660
* MFp4(simokawa_firewire):Hidetoshi Shimokawa2003-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 Notes: svn path=/head/; revision=113584
* Remove unnecessary EXPORT_SYMS.Hidetoshi Shimokawa2003-02-131-2/+0
| | | | Notes: svn path=/head/; revision=110799
* - Replace printf() with device_printf().Hidetoshi Shimokawa2003-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. Notes: svn path=/head/; revision=108655
* - Implement primal Configuration ROM parser.Hidetoshi Shimokawa2002-12-311-1/+1
| | | | | | | - Support multiple LUNs for SBP-II. Notes: svn path=/head/; revision=108503
* Split userland services to fwdev.c.Hidetoshi Shimokawa2002-11-121-9/+1
| | | | Notes: svn path=/head/; revision=106813
* Include "../Makefile.inc".Yoshihiro Takahashi2002-11-061-0/+3
| | | | Notes: svn path=/head/; revision=106496
* Enable if_fwe.Hidetoshi Shimokawa2002-11-031-1/+1
| | | | Notes: svn path=/head/; revision=106375
* - Remove unused opt_foo.h headers.John Baldwin2002-10-143-20/+6
| | | | | | | | - Don't mess with CFLAGS. - Fix description of fwe module Makefile. Notes: svn path=/head/; revision=105115
* Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (SerialKatsushi Kobayashi2002-09-134-0/+76
Bus Protocol 2:SCSI over IEEE1394) support for CAM. Notes: svn path=/head/; revision=103285