X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fusb%2Fhost%2Fehci.h;h=0e8541133ff1ad4bf3cbf5da6524f05fbf43bbc8;hb=6f71f83334a552167ccbbd42fe5dd979428c89e4;hp=2e2cb6eba1efcb19338305d672d0256eef84fed2;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 2e2cb6eba..0e8541133 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -47,13 +47,6 @@ struct ehci_stats { #define EHCI_MAX_ROOT_PORTS 15 /* see HCS_N_PORTS */ struct ehci_hcd { /* one per controller */ - - /* glue to PCI and HCD framework */ - struct usb_hcd hcd; /* must come first! */ - struct ehci_caps __iomem *caps; - struct ehci_regs __iomem *regs; - __u32 hcs_params; /* cached register copy */ - spinlock_t lock; /* async schedule support */ @@ -76,6 +69,12 @@ struct ehci_hcd { /* one per controller */ /* per root hub port */ unsigned long reset_done [EHCI_MAX_ROOT_PORTS]; + /* glue to PCI and HCD framework */ + struct usb_hcd hcd; + struct ehci_caps __iomem *caps; + struct ehci_regs __iomem *regs; + __u32 hcs_params; /* cached register copy */ + /* per-HC memory pools (could be per-bus, but ...) */ struct dma_pool *qh_pool; /* qh per active urb */ struct dma_pool *qtd_pool; /* one or more per qh */