#
5e7c89e4 |
| 03-Nov-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Change driver name to fix if_xname breakage in the previous revision. - Don't call device_get_unit() twice.
Tested by: nork
|
#
9bf40ede |
| 31-Oct-2003 |
Brooks Davis <brooks@FreeBSD.org> |
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance.
T
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics.
Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
show more ...
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
c4778b5d |
| 02-Oct-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
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.
show more ...
|
#
29b187dc |
| 19-Aug-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Drop too short packets.
|
#
9925de28 |
| 01-Aug-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Workaround for gcc on alpha/ia64. (warning: `xferq' might be used uninitialized in this function)
|
#
6a3f229e |
| 01-Aug-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Detect full of DMA channel correctly.
|
#
9547314f |
| 18-Jul-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Clean up include files.
|
#
efd4a0c1 |
| 10-Jun-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add tx_speed sysctl variable.
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
77ee030b |
| 17-Apr-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
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 <tabira@scd.mei.co.jp> - Improve self id handling
Tested on: i386, sparc64 and i386 with forced bounce buffer
show more ...
|
#
f246e4a1 |
| 15-Apr-2003 |
Matthew N. Dodd <mdodd@FreeBSD.org> |
- Express hard dependencies on bus (pci, isa, pccard) and network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do n
- Express hard dependencies on bus (pci, isa, pccard) and network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.)
show more ...
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
58089a20 |
| 19-Mar-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Clear channel and tag bits before set them. This should fix the problem that if_fwe doesn't work after DV receiving.
|
#
2b4601d1 |
| 06-Mar-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
MFp4(simokawa_sbp)
Improve if_fwe performance. - Simplify mbuf handling by using bulkxfer. Now, it uses mbuf clusters for RX buffer as usual ethernet drivers. - Recycle struct xfer buffer and don't
MFp4(simokawa_sbp)
Improve if_fwe performance. - Simplify mbuf handling by using bulkxfer. Now, it uses mbuf clusters for RX buffer as usual ethernet drivers. - Recycle struct xfer buffer and don't call malloc at runtime. - Count input and output errors. - Handle a mbuf chain longer than 6 correctly. - Increase queue length.
show more ...
|
#
a163d034 |
| 19-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
48249fe0 |
| 03-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Take malloc type as an argument in fw_xfer_alloc(). - Fix overwrite problem of freed buffers. It was rare but could happen when fwohci_arcv() is called before fwohci_txd() is called for the trans
- Take malloc type as an argument in fw_xfer_alloc(). - Fix overwrite problem of freed buffers. It was rare but could happen when fwohci_arcv() is called before fwohci_txd() is called for the transcation. - Drain AT queues and pend AR queues on SID receive rather than BUS reset to make sure DMA actually stops. - Do agent reset in sbp_timeout().
show more ...
|
#
5166f1df |
| 01-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Define new malloc type M_FW and use it.
|
#
c547b896 |
| 25-Jan-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Change API of FW_GDEVLST ioctl. - include information about itself. - define struct fw_devinfo and use it in struct fw_devlstreq. - unify EUI64 representation using struct fw_eui64.
|
#
44956c98 |
| 21-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
a4239576 |
| 05-Jan-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Reduce diff to RELENG_4.
|
#
ee126d67 |
| 26-Dec-2002 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Cosmetic change. s/Firewire/FireWire/.
|
#
17c3d42c |
| 06-Dec-2002 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Reduce and improve debug messages.
Approved by: re
|
#
673d9191 |
| 15-Nov-2002 |
Sam Leffler <sam@FreeBSD.org> |
network interface driver changes:
o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definit
network interface driver changes:
o don't strip the Ethernet header from inbound packets; pass packets up the stack intact (required significant changes to some drivers) o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN) o track ether_ifattach/ether_ifdetach API changes o track bpf changes (use BPF_TAP and BPF_MTAP) o track vlan changes (ifnet capabilities, revised processing scheme, etc.) o use if_input to pass packets "up" o call ether_ioctl for default handling of ioctls
Reviewed by: many Approved by: re
show more ...
|
Revision tags: release/4.7.0_cvs |
|
#
3c60ba66 |
| 13-Sep-2002 |
Katsushi Kobayashi <ikob@FreeBSD.org> |
Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial Bus Protocol 2:SCSI over IEEE1394) support for CAM.
|