Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
dbc80c7b |
| 30-Jan-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add NEC uPD72873.
Submitted by: Christian Laursen <xi@borderworlds.dk>
|
#
b180671c |
| 30-Jan-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Use device_identify and bus_add_child methods to add a firewire bus on fwohci. This should fix attach failure caused by a race between firewire and fwochi initialization for the kernel module.
|
#
1398a889 |
| 23-Jan-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
* fwohci_pci.c Improve error message for attach failure.
* sbp_targ.c - Add speed in struct sbp_targ_login. - Remove unnecessary htonl().
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
5b50d9ad |
| 05-Jan-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
MFp4: * firewire - Remove pending list. - Ignore timeout for the FWXF_START state. - Define M_FWMEM for debugging. - Comment out DELAY() in fw_asybusy(). - Improve debugging messages * sbp - Fr
MFp4: * firewire - Remove pending list. - Ignore timeout for the FWXF_START state. - Define M_FWMEM for debugging. - Comment out DELAY() in fw_asybusy(). - Improve debugging messages * sbp - Freeze simq while bus reset.
show more ...
|
#
347934fa |
| 28-Nov-2003 |
Warner Losh <imp@FreeBSD.org> |
Sometimes cardbus attachments don't attach, so while we track down this problem put these lines back in. While they should be unnecessary, they appear to be sometimes necessary.
Reviewed in concept
Sometimes cardbus attachments don't attach, so while we track down this problem put these lines back in. While they should be unnecessary, they appear to be sometimes necessary.
Reviewed in concept: dfr Approved by: re (scottl@)
show more ...
|
#
0be389f3 |
| 03-Nov-2003 |
Doug Rabson <dfr@FreeBSD.org> |
Remove explicit cardbus attachments from drivers where this is identical to the pci attachment. Cardbus is a derived class of pci so all pci drivers are automatically available for matching against c
Remove explicit cardbus attachments from drivers where this is identical to the pci attachment. Cardbus is a derived class of pci so all pci drivers are automatically available for matching against cardbus devices.
Reviewed by: imp
show more ...
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
65290832 |
| 25-Oct-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Fix fwmem_strategy() race in 4-stable.
|
#
2109dbc4 |
| 22-Aug-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Make this compiled on RELENG_4.
|
#
4fbd232c |
| 22-Aug-2003 |
Warner Losh <imp@FreeBSD.org> |
Prefer new location of pci include files (which have only been in the tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
|
#
18349893 |
| 04-Aug-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Don't mess with TX queue in fwohci_stop() if we failed to attach the device.
Tested by: wilko
- Detect memory mapping failure of registers by checking OHCI version.
Tested by: KONDOU, Kazuhiro <
- Don't mess with TX queue in fwohci_stop() if we failed to attach the device.
Tested by: wilko
- Detect memory mapping failure of registers by checking OHCI version.
Tested by: KONDOU, Kazuhiro <kazuhiro@alib.jp>
show more ...
|
#
9547314f |
| 18-Jul-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Clean up include files.
|
#
4f933468 |
| 04-Jul-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add compatibility for FreeBSD-4.
|
#
fa4b32fa |
| 03-Jul-2003 |
Warner Losh <imp@FreeBSD.org> |
All current uses of pci_set_powerstate are bogus, at least in theory. However, they are presently necessary due to bigger bogusness in the pci bus layer not doing the right thing on suspend/resume or
All current uses of pci_set_powerstate are bogus, at least in theory. However, they are presently necessary due to bigger bogusness in the pci bus layer not doing the right thing on suspend/resume or on initial device probe. This is exactly the sort of thing that the BURN_BRIDGES option was invented for. Mark all of them as BURN_BRIDGES. As soon as I have the powerstate stuff properly integrated into the pci bus code, I intend to remove all these workarounds.
show more ...
|
#
f6b1c44d |
| 01-Jul-2003 |
Scott Long <scottl@FreeBSD.org> |
Mega busdma API commit.
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg. Lockfunc allows a driver to provide a function for managing its locking semantics while using busdma.
Mega busdma API commit.
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg. Lockfunc allows a driver to provide a function for managing its locking semantics while using busdma. At the moment, this is used for the asynchronous busdma_swi and callback mechanism. Two lockfunc implementations are provided: busdma_lock_mutex() performs standard mutex operations on the mutex that is specified from lockfuncarg. dftl_lock() is a panic implementation and is defaulted to when NULL, NULL are passed to bus_dma_tag_create(). The only time that NULL, NULL should ever be used is when the driver ensures that bus_dmamap_load() will not be deferred. Drivers that do not provide their own locking can pass busdma_lock_mutex,&Giant args in order to preserve the former behaviour.
sparc64 and powerpc do not provide real busdma_swi functions, so this is largely a noop on those platforms. The busdma_swi on is64 is not properly locked yet, so warnings will be emitted on this platform when busdma callback deferrals happen.
If anyone gets panics or warnings from dflt_lock() being called, please let me know right away.
Reviewed by: tmm, gibbs
show more ...
|
#
170e7a20 |
| 30-Jun-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Include file clean up.
|
#
630529ad |
| 28-Jun-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Fix several problems related to resume: - Initialize fc->status to process bus reset correctly after resume. - Initialize AT ring buffer pointer. - Requeue stdma to stfree for active IR buffer. - Sto
Fix several problems related to resume: - Initialize fc->status to process bus reset correctly after resume. - Initialize AT ring buffer pointer. - Requeue stdma to stfree for active IR buffer. - Stop DMA before suspend for safe. - Set powerstate after resume.
show more ...
|
#
740b10aa |
| 27-Jun-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
- Use fwohci_poll() instead of fwohci_intr() to process the first bus reest. - Wait 2 cycles before starting the process for fast machines.
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
3be95df6 |
| 04-Jun-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add id for TI's 1394b link chip.
|
#
8fd36d4a |
| 24-Apr-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add some IEEE 1394 OHCI chips.
Partially submitted by: Tetsuya Ryuchi <ryuchi@ryuchi.org> PR: misc/51336
|
#
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 |
|
#
a84fda13 |
| 24-Mar-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Safe PCI configuration. - Clear PCIM_CMD_MWRICEN: some chips seem to have problem with write invalidate. clearing this bit fixes SBP timeout problem.
Tested by: Michael Reifenberger <Michael.Reife
Safe PCI configuration. - Clear PCIM_CMD_MWRICEN: some chips seem to have problem with write invalidate. clearing this bit fixes SBP timeout problem.
Tested by: Michael Reifenberger <Michael.Reifenberger@Plaut.de>
- Set PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN - Moderate value for latency timer.
show more ...
|
#
69f034da |
| 18-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Use pci_get_devid().
|
#
12f2a295 |
| 18-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add 'uPD72871/2 IEEE1394 1-Chip OHCI Host Controller'.
|
#
66117323 |
| 15-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Protect calling fwohci_intr() with splfw() for 4-stable.
|
#
c26f4c71 |
| 14-Feb-2003 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Clear the bus reset event flag as soon as possible after the initialization has completed to start transactions even when interrupt is disabled during the boot process.
|