summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ohci_pci.c
AgeCommit message (Collapse)Author
2001-09-15Add a timer to reinable the OHCI RHSC (Root Hub Status Change)Dale Rahn
interrupt after one second. Originally the interrupt was disabled permanently after it fired once. This causes futher hot plug/removals to stop working. However the interrupt will fire several times in succession as a device is inserted/removed. This effectively debounces the interrupt. Apparently only some systems actually plug directly into the root hub: Most PCI cards do not, however newer apple motherboards all do. This was sent around for review some time back and again recently, this time with no feedback.
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-06-13dmesg cleanupTheo de Raadt
2001-06-12interrupts cannot happen beforeMichael Shalayeff
*hci cannot receive interrupts before it has been initialized. this was changed to accomodate the pcibios strategy change back in pre-2.9 times since *hci_init enables interrupts at it's end and thus unmapped pci interrupt hangs the machine in the endless loop trying to deliver it (and no hci handler to ack it). this new way we disable interrupts by hands before we map 'em on pci and thus ensure that they will not crash an uninitialized *hci which, in turn, will run right after the interrupt map/establish and by the time it enables *hci interrupts all gonna be just fine. please allow us to end this stretched remark for cvs is getting a power outage in less than 20 minutes.
2001-06-12Make pci_mapreg_map take an extra argument where we canNiklas Hallqvist
put a size limitation of the PCI region to map. That makes the PERC 3/Di raid controller usable, as it publishes too much PCI memory for us to map in the kernel virtual memory. As we only access the first 256 byte it is of no use to map 128MB of kvm.
2001-01-22fix pretty printTheo de Raadt
2001-01-21map and establish interrupts _after_ chip was initializedMichael Shalayeff
and driver has allocated it's internal data structures. deraadt@ ok
2000-07-04sync with NetBSD.Federico G. Schwindt
1999-11-07sync with NetBSD.Federico G. Schwindt
1999-09-27Disable ints. later; NetBSD.Federico G. Schwindt
1999-08-23Disable interrupts early; from NetBSD.Federico G. Schwindt
1999-08-13shorten dmesg output.Federico G. Schwindt
1999-08-13Remove unncessary printfs as well as NetBSD ifdefs.Federico G. Schwindt
Make dmesg output shorter.
1999-08-13USB controllers.Federico G. Schwindt