#
aad970f1 |
| 24-Aug-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID(). Also some minor style cleanups.
|
#
2c56e6e4 |
| 01-Jul-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Fix tsleep/wakup race on FreeBSD-4.
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
1bba1572 |
| 04-Jun-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Open fwmem device exclusively.
|
#
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 ...
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
73aa55ba |
| 24-Mar-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- The payload of Write Request Quad and Read Response Quad must be network byte order. - Set ATRetries register after each bus reset because the value is 'undef' in OHCI spec.
|
#
3b79dd16 |
| 07-Mar-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- improve timeout handling in fwmem.c - stop processing of TX db if we reaches the end of active db.
|
#
45545499 |
| 27-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
MFp4(simokawa_sbp branch)
Improve SBP device probeing: - Wait 2 sec before issuing LOGIN ORB expecting the reconnection hold timer expires. - Serialize management ORB and scanning LUN by CAM on eac
MFp4(simokawa_sbp branch)
Improve SBP device probeing: - Wait 2 sec before issuing LOGIN ORB expecting the reconnection hold timer expires. - Serialize management ORB and scanning LUN by CAM on each target. This should fix the problem for devices which have multiple LUNs. Test device is donated by: Jaye Mathisen <mrcpu@internetcds.com> - Freeze SIM queue for 2 sec after BUS RESET. - Retry with LOGIN rather than RECONNECT after LOGIN is not completed for BUS RESET. - Use appropriate CAM status for BUS RESET and DEVICE RESET. - Let CAM to scan targets after BUS REST. - Implement CAM scan target function. - Keep our own devq freeze count. - Let CAM to know that SBP does tagged queuing.
These should be merged to RELENG_4 before 4.8-RELEASE.
show more ...
|
#
07159f9c |
| 25-Feb-2003 |
Maxime Henrion <mux@FreeBSD.org> |
Cleanup of the d_mmap_t interface.
- Get rid of the useless atop() / pmap_phys_address() detour. The device mmap handlers must now give back the physical address without atop()'ing it. - Don't
Cleanup of the d_mmap_t interface.
- Get rid of the useless atop() / pmap_phys_address() detour. The device mmap handlers must now give back the physical address without atop()'ing it. - Don't borrow the physical address of the mapping in the returned int. Now we properly pass a vm_offset_t * and expect it to be filled by the mmap handler when the mapping was successful. The mmap handler must now return 0 when successful, any other value is considered as an error. Previously, returning -1 was the only way to fail. This change thus accidentally fixes some devices which were bogusly returning errno constants which would have been considered as addresses by the device pager. - Garbage collect the poorly named pmap_phys_address() now that it's no longer used. - Convert all the d_mmap_t consumers to the new API.
I'm still not sure wheter we need a __FreeBSD_version bump for this, since and we didn't guarantee API/ABI stability until 5.1-RELEASE.
Discussed with: alc, phk, jake Reviewed by: peter Compile-tested on: LINT (i386), GENERIC (alpha and sparc64) Runtime-tested on: i386
show more ...
|
#
233b1b97 |
| 09-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add new ioctl to specify target EUI64 for fwmem.
|
#
864d7e72 |
| 09-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Detect split transcation timeout. * implement watchdog timer. * check all standing transactions in firewire_xfer_timeout(). - Add firewire_xferq_drain() for fw_busreset(). - Add/improve some debu
- Detect split transcation timeout. * implement watchdog timer. * check all standing transactions in firewire_xfer_timeout(). - Add firewire_xferq_drain() for fw_busreset(). - Add/improve some debug messages. - Call fw_xfer_done() if retry handler is NULL.
show more ...
|
#
d3539e97 |
| 06-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Fix memory leak.
|
#
5db3899d |
| 05-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Fix for fwmem write part. - fix typo - don't need to check receive buffer. - don't forget to free xfer on errer.
|
#
8a45d99b |
| 04-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Implement write part. - Use quad access for aligned 4 byte access.
|
#
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.
|
#
958c7749 |
| 30-Jan-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Restart cycle master after bus manager election. This should fix the IR(and maybe IT) problem when the host becames the bus manager. - rename fw_noderesolve() to fw_noderesolve_eui64() and add fw_no
Restart cycle master after bus manager election. This should fix the IR(and maybe IT) problem when the host becames the bus manager. - rename fw_noderesolve() to fw_noderesolve_eui64() and add fw_noderesolve_nodeid().
show more ...
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
ee126d67 |
| 26-Dec-2002 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Cosmetic change. s/Firewire/FireWire/.
|
#
d6ec5885 |
| 12-Nov-2002 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Add fwmem_xfer_req() and use this in other functions.
|
#
f90ce7b1 |
| 12-Nov-2002 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Use struct fw_device in fwmem.c - specify fwmem target by EUI64. - fw_noderesolve returns struct fw_device rather than dst. - include struct firewire_comm in struct fw_device.
|
#
c3b09522 |
| 12-Nov-2002 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Change interface of fwmem_read_*() functions to be usable from other part of the module.
|
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.
|