Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0 |
|
#
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
#
7d4b968b |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head up to r188941 (last revision before the USB stack switch)
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
1829d5da |
| 12-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
Update the projects tree to a newer FreeBSD current.
|
#
155a83e8 |
| 09-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
remove now-redunant cardbus attachment.
|
#
3042cc43 |
| 02-Feb-2009 |
Sean Bruno <sbruno@FreeBSD.org> |
Some updates and bug squashing in the firewire stack.
Move the interupt handler to a driver_intr_t type function as it was trying to do way to much for a lightweight filter interrupt function.
Intr
Some updates and bug squashing in the firewire stack.
Move the interupt handler to a driver_intr_t type function as it was trying to do way to much for a lightweight filter interrupt function.
Introduce much more locking around fc->mtx. Tested this for lock reversals and other such lockups. Locking seems to be working better, but there is much more to do with regard to locking. The most significant lock is in the BUS RESET handler. It was possible, before this checkin, to set a bus reset via "fwcontrol -r" and have the BUS RESET handler fire before the code responsible for asserting BUS RESET was complete. This locking fixes that issue.
Move some of the memory allocations in the fc struct to the attach function in firewire.c
Rework the businfo.generation indicator to be merely a on/off bit now. It's purpose according to spec is to notify the bus that the config ROM has changed. That's it.
Catch and squash a possible panic in SBP where in the SBP_LOCK was held during a possible error case. The error handling code would definitely panic as it would try to acquire the SBP_LOCK on entrance.
Catch and squash a camcontrol/device lockup when firewire drives go away. When a firewire device was powered off or disconnected from the firewire bus, a "camcontrol rescan all" would hang trying to poll removed devices as they were not properly detached. Don't do that.
Approved by: scottl MFC after: 2 weeks
show more ...
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
9950b741 |
| 06-Jun-2007 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
MFp4: MPSAFE firewire stack. - lock its own locks and drop Giant. - create its own taskqueue thread. - split interrupt routine - use interrupt filter as a fast interrupt. - run watchdog timer in task
MFp4: MPSAFE firewire stack. - lock its own locks and drop Giant. - create its own taskqueue thread. - split interrupt routine - use interrupt filter as a fast interrupt. - run watchdog timer in taskqueue so that it should be serialized with the bottom half. - add extra sanity check for transaction labels. disable ad-hoc workaround for unknown tlabels. - add sleep/wakeup synchronization primitives - don't reset OHCI in fwohci_stop()
show more ...
|
#
437a3435 |
| 31-Mar-2007 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Teardown interrupt only when sc->ih is not NULL.
MFC after: 3 days
|
#
06767d30 |
| 19-Mar-2007 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Poll only while interrupt is disabled.
MFC: 3 days after
|
#
4813ecc3 |
| 15-Mar-2007 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Don't mess with PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN. This will fix 'NMI RAM parity error' while booting on some machines.
PR: kern/95077 MFC after: 3 days
|
#
ef544f63 |
| 23-Feb-2007 |
Paolo Pisati <piso@FreeBSD.org> |
o break newbus api: add a new argument of type driver_filter_t to bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org
o break newbus api: add a new argument of type driver_filter_t to bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many Approved by: re@
show more ...
|
#
c2175ff5 |
| 21-Jan-2007 |
Marius Strobl <marius@FreeBSD.org> |
Change the remainder of the drivers for DMA'ing devices enabled in the sparc64 GENERIC and the sound device drivers known working on sparc64 to use bus_get_dma_tag() to obtain the parent DMA tag so w
Change the remainder of the drivers for DMA'ing devices enabled in the sparc64 GENERIC and the sound device drivers known working on sparc64 to use bus_get_dma_tag() to obtain the parent DMA tag so we can get rid of the sparc64_root_dma_tag kludge eventually. Except for ath(4), sk(4), stge(4) and ti(4) these changes are runtime tested (unless I booted up the wrong kernels again...).
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
d47f7646 |
| 12-Jun-2006 |
Warner Losh <imp@FreeBSD.org> |
Better printf
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0 |
|
#
4143dbe3 |
| 17-Jul-2005 |
Warner Losh <imp@FreeBSD.org> |
The Sony i.LINK CXD1947 device is a firewire bridge, but it doesn't implement the OHCI programming interface. Thus it probes, but fails to attach because of an invalid OHCI version. Rather than cou
The Sony i.LINK CXD1947 device is a firewire bridge, but it doesn't implement the OHCI programming interface. Thus it probes, but fails to attach because of an invalid OHCI version. Rather than count on the downstream tests properly failing, print a message that this chipset isn't supported and fail the probe.
show more ...
|
#
c44123e1 |
| 20-May-2005 |
Marius Strobl <marius@FreeBSD.org> |
Recognize the integrated (though not necessarily enabled) FireWire controllers of Sun PCIO-2 chips which are used onboard in most of the newer PCI-based sun4u machines (cosmetic change as they were a
Recognize the integrated (though not necessarily enabled) FireWire controllers of Sun PCIO-2 chips which are used onboard in most of the newer PCI-based sun4u machines (cosmetic change as they were also already probed as generic FWOHCI without this). As with gem(4), hme(4) and ohci(4) detect whether their intpin register is valid and correct it if necessary, i.e. set the respective IVAR to the right value for allocating the IRQ resource, as some of them come up having it set to 0 (in fact in all machines I'm currently aware of the FireWire part being enabled). This fixes attaching affected controllers.
Apporved by: simokawa Tested by: Michiel Boland <michiel@boland.org> MFC after: 1 month
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
538565c4 |
| 05-Mar-2005 |
Warner Losh <imp@FreeBSD.org> |
Use BUS_PROBE_DEFAULT for pci probe return value
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
e726a7e1 |
| 06-Jan-2005 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Clear PCIM_CMD_SERRESPEN and PCIM_CMD_PERRESPEN for broken hardware. Some amd64 laptops fail to boot with these flags.
PR: kern/75482
|
#
098ca2bd |
| 06-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
433dd56b |
| 04-Aug-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Fix and add deivce ID's.
Obtained from: DragonFly BSD
|
#
f9d9941f |
| 20-Jul-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Don't output too many debug messages for bootverbose. This driver seems to be fairly stable now.
|
#
6e2b0d0b |
| 17-Jul-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Add some PCI IDs for OHCI chips.
Obtained from: DragonFly BSD
|
#
39981fed |
| 01-Jul-2004 |
John Baldwin <jhb@FreeBSD.org> |
Trim a few things from the dmesg output and stick them under bootverbose to cut down on the clutter including PCI interrupt routing, MTRR, pcibios, etc.
Discussed with: USENIX Cabal
|
#
79495006 |
| 28-Jun-2004 |
Warner Losh <imp@FreeBSD.org> |
Remove the setting of the pci config variables on power state changes. The bus does this now.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
03161bbc |
| 22-May-2004 |
Doug Rabson <dfr@FreeBSD.org> |
Change u_intXX_t to uintXX_t. Change a couple of 'unsigned long's to uint32_t where appropriate.
|
#
10d3ed64 |
| 27-Mar-2004 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
MFp4: FireWire * all - s/__FUNCTION__/__func__/. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> - Compatibility for RELENG_4 and DragonFly.
* firewire - Timestamp just before queuing. - Ret
MFp4: FireWire * all - s/__FUNCTION__/__func__/. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> - Compatibility for RELENG_4 and DragonFly.
* firewire - Timestamp just before queuing. - Retry bus probe if it fails. - Use device_printf() for debug message. - Invalidiate CROM while update. - Don't process minimum/invalid CROM.
* sbp - Add ORB_SHORTAGE flag. - Add sbp.tags tunable. - Revive doorbell support. It's not enabled by default.
show more ...
|
#
5f96beb9 |
| 17-Mar-2004 |
Nate Lawson <njl@FreeBSD.org> |
Convert callers to the new bus_alloc_resource_any(9) API.
Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
|