summaryrefslogtreecommitdiffstats
path: root/sys/pci/uhci_pci.c
Commit message (Collapse)AuthorAgeFilesLines
* Add 440MX chipset.kuriyama2000-05-241-0/+8
| | | | | Submitted by: YOSHIMURA Hideaki <hideakiy@cs-tokyo01.chuosystem.co.jp> References: [bsd-nomads:13764]
* 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-40/+76
| | | | This is a first step to make usb unloadable.
* Add an ID for the SiS 5571.n_hibma2000-03-151-3/+2
| | | | 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.
* Add PCI Id's for i810 chipsets.n_hibma2000-02-071-0/+16
| | | | | | PR: 16517 Submitted by: SAKIYAMA Nobuo <sakichan@lares.dti.ne.jp> Approved by: jhk
* Disable the generation of SMIs (System Management Interrupts). Always setn_hibma2000-02-061-10/+10
| | | | | | | | | | the PIRQD bit. This fixes the problem of uhub0 hanging forever during boot when USB keyboard support is switched on in the BIOS on motherboards with Intel chipsets (UHCI). Approved by: The Sheep
* Commit missing bits, forgotten when committing support for suspend/resumen_hibma2000-02-041-4/+7
| | | | | | | | for USB. Call uhci_power when suspending and resuming. Approved by: The One.
* 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-7/+5
| | | | | | | | 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
|
* Fix some warnings.peter2000-01-231-2/+2
|
* Properly remove interrupts if initialisation fails.n_hibma2000-01-201-29/+37
|
* 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-15/+10
| | | | | | | | 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.
* remove the use of uhci_reset to wake up the controller aftern_hibma1999-10-071-5/+4
| | | | | | resume/suspend (->resume is broken again, will be fixed properly ASAP) style fixes
* Check for a valid irq number before calling BUS_SETUP_INTR.n_hibma1999-10-031-3/+14
| | | | Requested-By: msmith
* Reset the UHCI controller when the device comes back from suspend.n_hibma1999-08-231-6/+33
| | | | | | | This should be replaced by proper support for suspend one day (global suspend). Submitted-by: Christopher Masto <chris@netmonger.net>
* 1) rename dev->self to be consistentn_hibma1999-08-181-44/+60
| | | | | 2) use device_printf 3) properly tear down and disable interrupts when init fails
* Remove option USBVERBOSEn_hibma1999-06-161-2/+2
| | | | | | Add the options for debugging used in dev/usb/*.c Submitted by: Kazu
* Shorten the strings a bit (remove 'Host')n_hibma1999-06-131-9/+10
|
* Move the declaration of the interrupt type from the driver structuredfr1999-05-081-3/+3
| | | | to the BUS_SETUP_INTR call.
* Move the disabling of interrupts right before the allocation of then_hibma1999-05-011-1/+16
| | | | | | resource. Avoids useless interrupts occurring between the allocation of the interrupt resource and the final initialisation of the kernel. Cause of these interrupts is unknown (a resuming device?).
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-161-71/+95
| | | | | | | | | | | | | | | | | | 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
* Changed pci_config_read() to pci_map_port(). Pointed out by Doug Rabson.n_hibma1999-04-111-2/+5
|
* fix typon_hibma1999-04-061-2/+2
|
* Cleaning up of code, remove unneeded cruft and maken_hibma1999-03-271-70/+46
| | | | code more compact.
* Check whether the PIRQD enable bit is set in LegSup and if not, set it.n_hibma1999-03-231-8/+17
| | | | | On my PIIX4 chip rev 1 this is required. Have not had any complaints from other people so it might be a problem with this stepping.
* Moved [uo]hci_pci.c from /sys/dev/pci to /sys/pci after Sorenn_hibma1999-02-181-0/+227
threatened to send Bruce. These files are no longer shared with NetBSD anyway. Requires a config and make depend.
OpenPOWER on IntegriCloud