diff options
| author | Andreas Herrmann <andreas.herrmann@caviumnetworks.com> | 2015-01-12 10:05:52 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 07:48:28 -0500 |
| commit | c99e76c55f68eaa0c307ba25803c4e59c2fca1ca (patch) | |
| tree | 15b4b0b3210fcb9235b28df11a02808b784558bd /include/linux/usb | |
| parent | a5790e9e834bb48cb681620ec680203edb536242 (diff) | |
USB: host: Introduce flag to enable use of 64-bit dma_mask for ehci-platform
ehci-octeon driver used a 64-bit dma_mask. With removal of ehci-octeon
and usage of ehci-platform ehci dma_mask is now limited to 32 bits
(coerced in ehci_platform_probe).
Provide a flag in ehci platform data to allow use of 64 bits for
dma_mask.
Cc: David Daney <david.daney@cavium.com>
Cc: Alex Smith <alex.smith@imgtec.com>
Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/ehci_pdriver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/ehci_pdriver.h b/include/linux/usb/ehci_pdriver.h index 6287b398abd9..db0431b39a63 100644 --- a/include/linux/usb/ehci_pdriver.h +++ b/include/linux/usb/ehci_pdriver.h | |||
| @@ -48,6 +48,7 @@ struct usb_ehci_pdata { | |||
| 48 | unsigned big_endian_mmio:1; | 48 | unsigned big_endian_mmio:1; |
| 49 | unsigned no_io_watchdog:1; | 49 | unsigned no_io_watchdog:1; |
| 50 | unsigned reset_on_resume:1; | 50 | unsigned reset_on_resume:1; |
| 51 | unsigned dma_mask_64:1; | ||
| 51 | 52 | ||
| 52 | /* Turn on all power and clocks */ | 53 | /* Turn on all power and clocks */ |
| 53 | int (*power_on)(struct platform_device *pdev); | 54 | int (*power_on)(struct platform_device *pdev); |
