summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /openembedded/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch')
-rw-r--r--openembedded/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/openembedded/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch b/openembedded/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch
deleted file mode 100644
index c2ceeb686e..0000000000
--- a/openembedded/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- hotplug-2004_09_20/etc/hotplug/usb.rc~userspecified_hcd.patch
7+++ hotplug-2004_09_20/etc/hotplug/usb.rc
8@@ -24,6 +24,7 @@
9 unset I_WANT_A_BROKEN_PS
10 PS_PERSONALITY=linux
11
12+HCD=
13 STATIC_MODULE_LIST=
14 X11_USBMICE_HACK=false
15
16@@ -166,20 +167,25 @@
17 # FIXME: some of this should be driven by PCI hotplugging, and have
18 # the blacklist control which uhci driver gets used (before 2.5).
19
20- # "new style" HCDs ... more common code
21- modprobe -q ehci-hcd >/dev/null 2>&1
22- modprobe -q ohci-hcd >/dev/null 2>&1
23- modprobe -q uhci-hcd >/dev/null 2>&1
24-
25- # "old style" HCDs ... more driver-specific bugs
26- modprobe -q usb-ohci >/dev/null 2>&1
27- # NOTE: this prefers "uhci"; you may prefer "usb-uhci".
28- # modprobe -q usb-uhci >/dev/null 2>&1 || modprobe -q uhci >/dev/null 2>&1
29- modprobe -q uhci >/dev/null 2>&1 || modprobe -q usb-uhci >/dev/null 2>&1
30-
31- # ... add any non-PCI HCDS here. Examples include the
32- # CRIS usb-host, Philips ISP-1161, Symlogic 811HS, and so on.
33- # ohci-hcd can handle some non-pci variants.
34+ # If the user specified which HCD they want, trust them.
35+ if [ -n "$HCD" ]; then
36+ modprobe -q $HCD >/dev/null 2>&1
37+ else
38+ # "new style" HCDs ... more common code
39+ modprobe -q ehci-hcd >/dev/null 2>&1
40+ modprobe -q ohci-hcd >/dev/null 2>&1
41+ modprobe -q uhci-hcd >/dev/null 2>&1
42+
43+ # "old style" HCDs ... more driver-specific bugs
44+ modprobe -q usb-ohci >/dev/null 2>&1
45+ # NOTE: this prefers "uhci"; you may prefer "usb-uhci".
46+ # modprobe -q usb-uhci >/dev/null 2>&1 || modprobe -q uhci >/dev/null 2>&1
47+ modprobe -q uhci >/dev/null 2>&1 || modprobe -q usb-uhci >/dev/null 2>&1
48+
49+ # ... add any non-PCI HCDS here. Examples include the
50+ # CRIS usb-host, Philips ISP-1161, Symlogic 811HS, and so on.
51+ # ohci-hcd can handle some non-pci variants.
52+ fi
53
54 if [ -d /proc/bus/usb ]; then
55 # If we see there are no busses, we "failed" and