Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338490
b: refs/heads/master
c: afe046b
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 5eb548d commit 30d9151
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7bccfcd2eb09297e0406b38cfac8e1f3001964f3
refs/heads/master: afe046be983f7da53c4bdcfa9a7689d163f08196
1 change: 1 addition & 0 deletions trunk/arch/mips/configs/ls1b_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ CONFIG_HID_GENERIC=m
CONFIG_USB=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
CONFIG_USB_STORAGE=m
CONFIG_USB_SERIAL=m
Expand Down
8 changes: 7 additions & 1 deletion trunk/arch/mips/loongson1/common/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <linux/phy.h>
#include <linux/serial_8250.h>
#include <linux/stmmac.h>
#include <linux/usb/ehci_pdriver.h>
#include <asm-generic/sizes.h>

#include <loongson1.h>
Expand Down Expand Up @@ -107,13 +108,18 @@ static struct resource ls1x_ehci_resources[] = {
},
};

static struct usb_ehci_pdata ls1x_ehci_pdata = {
.port_power_off = 1,
};

struct platform_device ls1x_ehci_device = {
.name = "ls1x-ehci",
.name = "ehci-platform",
.id = -1,
.num_resources = ARRAY_SIZE(ls1x_ehci_resources),
.resource = ls1x_ehci_resources,
.dev = {
.dma_mask = &ls1x_ehci_dmamask,
.platform_data = &ls1x_ehci_pdata,
},
};

Expand Down

0 comments on commit 30d9151

Please sign in to comment.