BCMA - Account for variable PCI memory base/size
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-3.2 / 180-USB-HCI-add-struct-for-ehci-and-ohci-platform-driver.patch
1 From d85bba4eb399a8273aabaef5c21c89820d7a0514 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Thu, 9 Feb 2012 23:14:57 +0100
4 Subject: [PATCH 180/186] USB: HCI: add struct for ehci and ohci platform
5 driver
6
7
8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 ---
10 include/linux/usb/hci_driver.h | 32 ++++++++++++++++++++++++++++++++
11 1 files changed, 32 insertions(+), 0 deletions(-)
12 create mode 100644 include/linux/usb/hci_driver.h
13
14 --- /dev/null
15 +++ b/include/linux/usb/hci_driver.h
16 @@ -0,0 +1,32 @@
17 +/*
18 + * Copyright (C) 2012 Hauke Mehrtens <hauke@hauke-m.de>
19 + *
20 + * This program is free software; you can redistribute it and/or modify it
21 + * under the terms of the GNU General Public License as published by the
22 + * Free Software Foundation; either version 2 of the License, or (at your
23 + * option) any later version.
24 + *
25 + * This program is distributed in the hope that it will be useful, but
26 + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
27 + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
28 + * for more details.
29 + *
30 + * You should have received a copy of the GNU General Public License
31 + * along with this program; if not, write to the Free Software Foundation,
32 + * Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 + */
34 +
35 +#ifndef __USB_CORE_HCI_PDRIVER_H
36 +#define __USB_CORE_HCI_PDRIVER_H
37 +
38 +#define USB_HCI_PDATA_PORT_POWER_SET (1 << 0)
39 +#define USB_HCI_PDATA_HAS_TT_SET (1 << 1)
40 +
41 +struct usb_hci_pdata {
42 + int flags;
43 + int caps_offset;
44 + unsigned has_tt:1;
45 + unsigned power_set_is_on:1;
46 +};
47 +
48 +#endif /* __USB_CORE_HCI_PDRIVER_H */