Fix some modules to export more used symbols(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htarge
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htargets here too.
show more ...
Fix buildworld -DMODULES_WITH_WORLD
Remove opt_mac.h generation for various kernel modules that no longerrequire it.Submitted by: pjd
Style: Remove blank lines before EOF.Tested by: cvs diff -B
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all i
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all if modules are built with the kernel.Some modules undergo cleanup like removing unused or unneededoptions or .h files, without which they wouldn't build this wayor the other.Reviewed by: ruTested by: no binary changes in modules built aloneTested on: i386 sparc64 amd64
Add fwip module.
Add fwip module.Submitted by: simokawa
Removed -g from CFLAGS. There is a better way to build debuggingversions of the modules, and unconditionally putting -g in CFLAGShas negative impact on the size of the resulting .ko object, evenn
Removed -g from CFLAGS. There is a better way to build debuggingversions of the modules, and unconditionally putting -g in CFLAGShas negative impact on the size of the resulting .ko object, evennow that debugging symbols are always stripped.
Normalize SUBDIR.
Add SBP-II target mode driver.Though this is still incomplete and has some missing features such asexclusive login and event notification, it may be enough for someonewho wants to play with it.
Add SBP-II target mode driver.Though this is still incomplete and has some missing features such asexclusive login and event notification, it may be enough for someonewho 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 firewiredevice scbusdevice targdevice sbp_targAfter reboot:# mdconfig -a -t malloc -s 10mmd0# 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 connectedto the target using FireWire.Manpage is not finished yet.
MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions. And many changes.* all - Major change of struct fw_xfer. o {send,recv}.buf is splitted into hdr and payload. o Remove
MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions. 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): Many internal structure changes for the FireWire driver.- Compute CRC in CROM parsing.- Add support for configuration ROM build.- Simplify dummy buffer handling.- busdm
MFp4(simokawa_firewire): 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 <[email protected]>- Improve self id handlingTested on: i386, sparc64 and i386 with forced bounce buffer
Remove unnecessary EXPORT_SYMS.
- Replace printf() with device_printf().- Separate fc->dev (i.e. fwohci0) and fc->bdev (i.e. firewire0).- Remove unused firewirebusreg.h.- Reduce size of descriptor block for asynchronous transmit
- Replace printf() with device_printf().- 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.- Support multiple LUNs for SBP-II.
Split userland services to fwdev.c.
Include "../Makefile.inc".
Enable if_fwe.
- Remove unused opt_foo.h headers.- Don't mess with CFLAGS.- Fix description of fwe module Makefile.
Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (SerialBus Protocol 2:SCSI over IEEE1394) support for CAM.