ehci.c (199672) | ehci.c (199675) |
---|---|
1/*- 2 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 3 * Copyright (c) 2004 The NetBSD Foundation, Inc. All rights reserved. 4 * Copyright (c) 2004 Lennart Augustsson. All rights reserved. 5 * Copyright (c) 2004 Charles M. Hannum. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 30 unchanged lines hidden (view full) --- 39 */ 40 41/* 42 * TODO: 43 * 1) command failures are not recovered correctly 44 */ 45 46#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 3 * Copyright (c) 2004 The NetBSD Foundation, Inc. All rights reserved. 4 * Copyright (c) 2004 Lennart Augustsson. All rights reserved. 5 * Copyright (c) 2004 Charles M. Hannum. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 30 unchanged lines hidden (view full) --- 39 */ 40 41/* 42 * TODO: 43 * 1) command failures are not recovered correctly 44 */ 45 46#include <sys/cdefs.h> |
47__FBSDID("$FreeBSD: head/sys/dev/usb/controller/ehci.c 199672 2009-11-22 21:16:43Z thompsa $"); | 47__FBSDID("$FreeBSD: head/sys/dev/usb/controller/ehci.c 199675 2009-11-22 21:21:22Z thompsa $"); |
48 49#include <sys/stdint.h> 50#include <sys/stddef.h> 51#include <sys/param.h> 52#include <sys/queue.h> 53#include <sys/types.h> 54#include <sys/systm.h> 55#include <sys/kernel.h> --- 38 unchanged lines hidden (view full) --- 94static int ehcinohighspeed = 0; 95 96SYSCTL_NODE(_hw_usb, OID_AUTO, ehci, CTLFLAG_RW, 0, "USB ehci"); 97SYSCTL_INT(_hw_usb_ehci, OID_AUTO, debug, CTLFLAG_RW, 98 &ehcidebug, 0, "Debug level"); 99SYSCTL_INT(_hw_usb_ehci, OID_AUTO, no_hs, CTLFLAG_RW, 100 &ehcinohighspeed, 0, "Disable High Speed USB"); 101 | 48 49#include <sys/stdint.h> 50#include <sys/stddef.h> 51#include <sys/param.h> 52#include <sys/queue.h> 53#include <sys/types.h> 54#include <sys/systm.h> 55#include <sys/kernel.h> --- 38 unchanged lines hidden (view full) --- 94static int ehcinohighspeed = 0; 95 96SYSCTL_NODE(_hw_usb, OID_AUTO, ehci, CTLFLAG_RW, 0, "USB ehci"); 97SYSCTL_INT(_hw_usb_ehci, OID_AUTO, debug, CTLFLAG_RW, 98 &ehcidebug, 0, "Debug level"); 99SYSCTL_INT(_hw_usb_ehci, OID_AUTO, no_hs, CTLFLAG_RW, 100 &ehcinohighspeed, 0, "Disable High Speed USB"); 101 |
102TUNABLE_INT("hw.usb.ehci.debug", &ehcidebug); 103TUNABLE_INT("hw.usb.ehci.no_hs", &ehcinohighspeed); 104 |
|
102static void ehci_dump_regs(ehci_softc_t *sc); 103static void ehci_dump_sqh(ehci_softc_t *sc, ehci_qh_t *sqh); 104 105#endif 106 107#define EHCI_INTR_ENDPT 1 108 109extern struct usb_bus_methods ehci_bus_methods; --- 3792 unchanged lines hidden --- | 105static void ehci_dump_regs(ehci_softc_t *sc); 106static void ehci_dump_sqh(ehci_softc_t *sc, ehci_qh_t *sqh); 107 108#endif 109 110#define EHCI_INTR_ENDPT 1 111 112extern struct usb_bus_methods ehci_bus_methods; --- 3792 unchanged lines hidden --- |