| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
host controller because autoconf(9) already does it.
|
|
|
|
|
|
|
|
|
| |
definitions instead. We don't change usb.h for now to stay compatible
with userland.
Tested by mpi@ on macppc and myself on i386.
ok mpi@
|
|
|
|
|
|
| |
in *hci_softc
ok miod@, krw@
|
|
|
|
| |
ok jakemsr
|
|
|
|
|
| |
traversal code to suspend/resume
ok oga kettenis blambert
|
|
|
|
|
| |
functions
ok kettenis
|
| |
|
|
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but defer the remainder of their initialisation until after the other devices
on their PCI bus have attached. This ensures that any USB2 controller has also
completed its initialisation before we start to initialise the USB1 parts.
This minimises the chance that a nasty SMM implementation will trash the USB1
controller's config when it performs legacy emulation handover of the USB2 part.
This time without accidentally leaving the OHCI controller shutdown, and with
some cosmetic fixes.
ok dlg@, OHCI tests mglocker@
|
|
|
|
|
|
|
|
|
| |
time.
Chris; Get your shiz fixed and tested for the next time. We have
better todo then wasting our time by backing out untested stuff.
OK deraadt, OK ckuethe
|
|
|
|
|
|
|
|
|
| |
but defer the remainder of their initialisation until after the other devices
on their PCI bus have attached. This ensures that any USB2 controller has also
completed its initialisation before we start to initialise the USB1 parts.
This minimises the chance that a nasty SMM implementation will trash the USB1
controller's config when it performs legacy emulation handover of the USB2 part.
|
|
|
|
|
|
|
|
|
| |
extra correctness check that it is set before trying to disestablish it at
detach. Whether you can detach a pci ohci controller is a separate issue.
Inspired by krw@'s change in ohci.c 1.67 for PR #5128.
ok krw@
|
|
|
|
|
|
| |
Misused in many cases anyway.
ok dlg@
|
|
|
|
| |
i hate typedefs
|
| |
|
|
|
|
|
|
| |
temporarily before we attempt to take control.
ok dlg@
|
|
|
|
|
|
|
| |
controllers. remove the insane amount of support code needed just for the
printing of the companion controllers while here.
zap it deraadt@ sure pascoe@
|
|
|
|
| |
ok uwe@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This includes numerous fixes and paves the way for usb 2.0 support.
|
|
|
|
|
|
| |
attach the interrupt before initializing the hardware to make sure that
no interrupts are pending. By adding splusb() any possible interrupts
are blocked and will be handled correctly. Discussed with niklas, ok art@
|
|
|
|
|
| |
that will keep dying with this applied, though.
Discussed with drahn@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
and driver has allocated it's internal data structures.
deraadt@ ok
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Make dmesg output shorter.
|
|
|