usb_floppy is for the most part a copy of usb_disk and should probably be merged
into it again (adding generic CBI support). It is so much of a copy even that it still claimed to have the original 3 support descriptors while in fact it only has one. Since the memory beyond that one support descriptor was probably just zeros, making them complete wildcards usb_support_descriptor wise, this lead to every single USB device being handed to the usb_floppy device added hook. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42145 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
804177aa7b
commit
7c865cf94d
@ -1245,7 +1245,7 @@ init_driver()
|
||||
return result;
|
||||
}
|
||||
|
||||
gUSBModule->register_driver(DRIVER_NAME, supportedDevices, 3, NULL);
|
||||
gUSBModule->register_driver(DRIVER_NAME, supportedDevices, 1, NULL);
|
||||
gUSBModule->install_notify(DRIVER_NAME, ¬ifyHooks);
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user