uhci_pci.c (217265) | uhci_pci.c (227843) |
---|---|
1/*- 2 * Copyright (c) 1998 The NetBSD Foundation, Inc. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The NetBSD Foundation 6 * by Lennart Augustsson (augustss@carlstedt.se) at 7 * Carlstedt Research & Technology. 8 * --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1998 The NetBSD Foundation, Inc. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The NetBSD Foundation 6 * by Lennart Augustsson (augustss@carlstedt.se) at 7 * Carlstedt Research & Technology. 8 * --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/dev/usb/controller/uhci_pci.c 217265 2011-01-11 13:59:06Z jhb $"); | 32__FBSDID("$FreeBSD: head/sys/dev/usb/controller/uhci_pci.c 227843 2011-11-22 21:28:20Z marius $"); |
33 34/* Universal Host Controller Interface 35 * 36 * UHCI spec: http://www.intel.com/ 37 */ 38 39/* The low level controller code for UHCI has been split into 40 * PCI probes and UHCI specific code. This was done to facilitate the --- 413 unchanged lines hidden (view full) --- 454 DEVMETHOD(device_probe, uhci_pci_probe), 455 DEVMETHOD(device_attach, uhci_pci_attach), 456 DEVMETHOD(device_detach, uhci_pci_detach), 457 458 DEVMETHOD(device_suspend, uhci_pci_suspend), 459 DEVMETHOD(device_resume, uhci_pci_resume), 460 DEVMETHOD(device_shutdown, bus_generic_shutdown), 461 | 33 34/* Universal Host Controller Interface 35 * 36 * UHCI spec: http://www.intel.com/ 37 */ 38 39/* The low level controller code for UHCI has been split into 40 * PCI probes and UHCI specific code. This was done to facilitate the --- 413 unchanged lines hidden (view full) --- 454 DEVMETHOD(device_probe, uhci_pci_probe), 455 DEVMETHOD(device_attach, uhci_pci_attach), 456 DEVMETHOD(device_detach, uhci_pci_detach), 457 458 DEVMETHOD(device_suspend, uhci_pci_suspend), 459 DEVMETHOD(device_resume, uhci_pci_resume), 460 DEVMETHOD(device_shutdown, bus_generic_shutdown), 461 |
462 /* Bus interface */ 463 DEVMETHOD(bus_print_child, bus_generic_print_child), 464 {0, 0} | 462 DEVMETHOD_END |
465 }, 466 .size = sizeof(struct uhci_softc), 467}; 468 469static devclass_t uhci_devclass; 470 471DRIVER_MODULE(uhci, pci, uhci_driver, uhci_devclass, 0, 0); 472MODULE_DEPEND(uhci, usb, 1, 1, 1); | 463 }, 464 .size = sizeof(struct uhci_softc), 465}; 466 467static devclass_t uhci_devclass; 468 469DRIVER_MODULE(uhci, pci, uhci_driver, uhci_devclass, 0, 0); 470MODULE_DEPEND(uhci, usb, 1, 1, 1); |