Lines 141-147
Link Here
|
141 |
# if distro hasn't already done part of this ... load core, |
141 |
# if distro hasn't already done part of this ... load core, |
142 |
# and mount usbfs before the first hotplug agent fires |
142 |
# and mount usbfs before the first hotplug agent fires |
143 |
# (so it'll be available to the agents). |
143 |
# (so it'll be available to the agents). |
144 |
modprobe -q usbcore >/dev/null 2>&1 |
144 |
if ! blacklisted usbcore ; then |
|
|
145 |
modprobe -q usbcore >/dev/null 2>&1 |
146 |
fi |
145 |
if [ -d /proc/bus/usb ]; then |
147 |
if [ -d /proc/bus/usb ]; then |
146 |
# if it's not mounted, try to mount it |
148 |
# if it's not mounted, try to mount it |
147 |
if [ -z "`grep " /proc/bus/usb " /proc/mounts`" ]; then |
149 |
if [ -z "`grep " /proc/bus/usb " /proc/mounts`" ]; then |
Lines 163-169
Link Here
|
163 |
# is enabled on this system, initting a root hub will cause hotplug |
165 |
# is enabled on this system, initting a root hub will cause hotplug |
164 |
# events to fire for every device on the tree at that root. |
166 |
# events to fire for every device on the tree at that root. |
165 |
|
167 |
|
166 |
for i in `/usr/bin/pciscan -r -c 00c:03 2>/dev/null|sort -u`;do modprobe $i;done >/dev/null 2>&1 |
168 |
for i in `/usr/bin/pciscan -r -c 00c:03 2>/dev/null|sort -u`; do |
|
|
169 |
if ! loaded $i ; then |
170 |
if ! blacklisted $i ; then |
171 |
modprobe $i >/dev/null |
172 |
fi |
173 |
fi |
174 |
done |
167 |
|
175 |
|
168 |
# ... add any non-PCI HCDS here. Examples include the |
176 |
# ... add any non-PCI HCDS here. Examples include the |
169 |
# CRIS usb-host, Philips ISP-1161, Symlogic 811HS, and so on. |
177 |
# CRIS usb-host, Philips ISP-1161, Symlogic 811HS, and so on. |
Lines 201-207
Link Here
|
201 |
# Some modules are statically loaded, perhaps because they are |
209 |
# Some modules are statically loaded, perhaps because they are |
202 |
# needed to activate filesystem device nodes. |
210 |
# needed to activate filesystem device nodes. |
203 |
for MODULE in $STATIC_MODULE_LIST; do |
211 |
for MODULE in $STATIC_MODULE_LIST; do |
204 |
modprobe $MODULE |
212 |
if ! loaded $MODULE ; then |
|
|
213 |
if ! blacklisted $MODULE ; then |
214 |
modprobe $MODULE |
215 |
fi |
216 |
fi |
205 |
done |
217 |
done |
206 |
|
218 |
|
207 |
# we did everything we could ... |
219 |
# we did everything we could ... |