summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-10-23 09:42:34 +0000
committerOlivier Blin <oblin@mandriva.com>2007-10-23 09:42:34 +0000
commit7465fa874e6651684768344d06dfe959d69f0733 (patch)
tree6395274f6c9b78ec97dd8016d53c1435a52addb2
parent6d0c3098f259cd4c19c7cabe66b3d812d65b109b (diff)
downloaddrakx-backup-do-not-use-7465fa874e6651684768344d06dfe959d69f0733.tar
drakx-backup-do-not-use-7465fa874e6651684768344d06dfe959d69f0733.tar.gz
drakx-backup-do-not-use-7465fa874e6651684768344d06dfe959d69f0733.tar.bz2
drakx-backup-do-not-use-7465fa874e6651684768344d06dfe959d69f0733.tar.xz
drakx-backup-do-not-use-7465fa874e6651684768344d06dfe959d69f0733.zip
fix probing USB controllers when probing USB devices directly
-rw-r--r--mdk-stage1/probing.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index ce8b48181..145343cc5 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -362,10 +362,8 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
struct pciusb_entries entries;
int i;
- if (!already_probed_usb_controllers) {
- already_probed_usb_controllers = 1;
+ if (!already_probed_usb_controllers)
probe_that_type(USB_CONTROLLERS, BUS_ANY);
- }
if (!already_mounted_usbdev) {
already_mounted_usbdev = 1;