summaryrefslogtreecommitdiffstats
path: root/sys/pci/ohci_pci.c
Commit message (Collapse)AuthorAgeFilesLines
* Only display the 'Disable PNP-OS BIOS option' message on the i386 arch.jhb2000-05-111-0/+2
| | | | | | Alpha's don't have a PNP BIOS option. Reviewed by: n_hibma
* Do the attach (and detach) properly. Store the cookies.n_hibma2000-05-071-37/+67
| | | | This is a first step to make usb unloadable.
* Add an ID for the SiS 5571.n_hibma2000-03-151-3/+10
| | | | Remove the unnecessary use of parent.
* Move the warning on wrong IRQ values to the right place, before anyn_hibma2000-02-201-8/+8
| | | | | | | resource allocation is attempted. It will present the user with a message that he has to switch on USB support in his BIOS.
* bus_release_resource is spellt like bus_release_resource not liken_hibma2000-01-311-13/+13
| | | | | | | | | bus_delete_resource. Fixes a problem when the probe succeeded, but the attach failed. The release of the resources was done inproperly. Approved by: jkh
* Properly teardown the allocated and initialised stuff when an errorn_hibma2000-01-261-31/+38
| | | | | | | | occurs (OHCIwas already done for UHCI). Get rid of the usbus variable. It is confusing. Align uhci_pci.c and ohci_pci.c again.
* Don't set ivars until we checked the return value from device_add_child.n_hibma2000-01-261-1/+1
|
* Add ID for the AMD-756 OHCI controllern_hibma2000-01-211-0/+9
|
* Remove the 'ivars' arguement to device_add_child() andmdodd1999-12-031-1/+2
| | | | | | | | | | | | | | | | device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function. This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc. Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree. Reviewed by: peter, dfr
* Fix the 'usb0: USB revision unknown, not supported' people have been seeingn_hibma1999-12-031-0/+3
| | | | | | | | by identifying the version in the PCI drivers. The OHCI driver just presets this to 1.0 as it is not specified in the PCI registers anywhere. This should be revisited once USB 2.0 is in wide spread use.
* Remove some bogus bus methods peter added. We are hardly doingn_hibma1999-11-221-6/+1
| | | | anything as a bus.
* Check for a valid irq number before calling BUS_SETUP_INTR.n_hibma1999-10-031-1/+9
| | | | Requested-By: msmith
* 1) rename dev->self to be consistentn_hibma1999-08-181-32/+47
| | | | | 2) use device_printf 3) properly tear down and disable interrupts when init fails
* Shorten the strings a bit (remove 'Host')n_hibma1999-06-131-6/+6
|
* Add comment about split in drivern_hibma1999-05-201-1/+6
|
* Move the declaration of the interrupt type from the driver structuredfr1999-05-081-2/+2
| | | | to the BUS_SETUP_INTR call.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-161-66/+88
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Cleaning up of code, remove unneeded cruft and maken_hibma1999-03-271-57/+44
| | | | code more compact.
* Moved [uo]hci_pci.c from /sys/dev/pci to /sys/pci after Sorenn_hibma1999-02-181-0/+231
threatened to send Bruce. These files are no longer shared with NetBSD anyway. Requires a config and make depend.
OpenPOWER on IntegriCloud