Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95801
b: refs/heads/master
c: e9b29ff
h: refs/heads/master
i:
  95799: d57b43b
v: v3
  • Loading branch information
Peter Korsgaard authored and Greg Kroah-Hartman committed May 2, 2008
1 parent 1565603 commit fa2fe3d
Show file tree
Hide file tree
Showing 10 changed files with 1,837 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b02b371e6d14961ad458ca9d88b30eefef77003d
refs/heads/master: e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d
2 changes: 2 additions & 0 deletions trunk/drivers/usb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ obj-$(CONFIG_USB_SL811_HCD) += host/
obj-$(CONFIG_USB_U132_HCD) += host/
obj-$(CONFIG_USB_R8A66597_HCD) += host/

obj-$(CONFIG_USB_C67X00_HCD) += c67x00/

obj-$(CONFIG_USB_ACM) += class/
obj-$(CONFIG_USB_PRINTER) += class/

Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/usb/c67x00/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#
# Makefile for Cypress C67X00 USB Controller
#

ccflags-$(CONFIG_USB_DEBUG) += -DDEBUG

obj-$(CONFIG_USB_C67X00_HCD) += c67x00.o

c67x00-objs := c67x00-drv.o c67x00-ll-hpi.o c67x00-hcd.o c67x00-sched.o
13 changes: 13 additions & 0 deletions trunk/drivers/usb/c67x00/c67x00-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <linux/usb/c67x00.h>

#include "c67x00.h"
#include "c67x00-hcd.h"

static void c67x00_probe_sie(struct c67x00_sie *sie,
struct c67x00_device *dev, int sie_num)
Expand All @@ -51,6 +52,10 @@ static void c67x00_probe_sie(struct c67x00_sie *sie,
sie->mode = c67x00_sie_config(dev->pdata->sie_config, sie_num);

switch (sie->mode) {
case C67X00_SIE_HOST:
c67x00_hcd_probe(sie);
break;

case C67X00_SIE_UNUSED:
dev_info(sie_dev(sie),
"Not using SIE %d as requested\n", sie->sie_num);
Expand All @@ -66,6 +71,14 @@ static void c67x00_probe_sie(struct c67x00_sie *sie,

static void c67x00_remove_sie(struct c67x00_sie *sie)
{
switch (sie->mode) {
case C67X00_SIE_HOST:
c67x00_hcd_remove(sie);
break;

default:
break;
}
}

static irqreturn_t c67x00_irq(int irq, void *__dev)
Expand Down
Loading

0 comments on commit fa2fe3d

Please sign in to comment.