diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-04-02 00:08:05 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-04-02 00:08:05 -0500 |
commit | 95d465fd750897ab32462a6702fbfe1b122cbbc0 (patch) | |
tree | 65c38b2f11c51bb6932e44dd6c92f15b0091abfe /drivers/usb/host/ehci.h | |
parent | 642fde17dceceb56c7ba2762733ac688666ae657 (diff) | |
parent | 683aa4012f53b2ada0f430487e05d37b0d94e90a (diff) |
Manual merge with Linus.
Conflicts:
arch/powerpc/kernel/setup-common.c
drivers/input/keyboard/hil_kbd.c
drivers/input/mouse/hil_ptr.c
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r-- | drivers/usb/host/ehci.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 18e257c2bdb5..679c1cdcc915 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h | |||
@@ -88,7 +88,12 @@ struct ehci_hcd { /* one per controller */ | |||
88 | unsigned long next_statechange; | 88 | unsigned long next_statechange; |
89 | u32 command; | 89 | u32 command; |
90 | 90 | ||
91 | /* SILICON QUIRKS */ | ||
91 | unsigned is_tdi_rh_tt:1; /* TDI roothub with TT */ | 92 | unsigned is_tdi_rh_tt:1; /* TDI roothub with TT */ |
93 | unsigned no_selective_suspend:1; | ||
94 | unsigned has_fsl_port_bug:1; /* FreeScale */ | ||
95 | |||
96 | u8 sbrn; /* packed release number */ | ||
92 | 97 | ||
93 | /* irq statistics */ | 98 | /* irq statistics */ |
94 | #ifdef EHCI_STATS | 99 | #ifdef EHCI_STATS |
@@ -97,7 +102,6 @@ struct ehci_hcd { /* one per controller */ | |||
97 | #else | 102 | #else |
98 | # define COUNT(x) do {} while (0) | 103 | # define COUNT(x) do {} while (0) |
99 | #endif | 104 | #endif |
100 | u8 sbrn; /* packed release number */ | ||
101 | }; | 105 | }; |
102 | 106 | ||
103 | /* convert between an HCD pointer and the corresponding EHCI_HCD */ | 107 | /* convert between an HCD pointer and the corresponding EHCI_HCD */ |
@@ -638,6 +642,18 @@ ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) | |||
638 | 642 | ||
639 | /*-------------------------------------------------------------------------*/ | 643 | /*-------------------------------------------------------------------------*/ |
640 | 644 | ||
645 | #ifdef CONFIG_PPC_83xx | ||
646 | /* Some Freescale processors have an erratum in which the TT | ||
647 | * port number in the queue head was 0..N-1 instead of 1..N. | ||
648 | */ | ||
649 | #define ehci_has_fsl_portno_bug(e) ((e)->has_fsl_port_bug) | ||
650 | #else | ||
651 | #define ehci_has_fsl_portno_bug(e) (0) | ||
652 | #endif | ||
653 | |||
654 | |||
655 | /*-------------------------------------------------------------------------*/ | ||
656 | |||
641 | #ifndef DEBUG | 657 | #ifndef DEBUG |
642 | #define STUB_DEBUG_FILES | 658 | #define STUB_DEBUG_FILES |
643 | #endif /* DEBUG */ | 659 | #endif /* DEBUG */ |