Am 14.06.2010 23:43, schrieb philippe.houdoin@xxxxxxxxx:
Author: phoudoin Date: 2010-06-14 23:43:29 +0200 (Mon, 14 Jun 2010) New Revision: 37135 Changeset: http://dev.haiku-os.org/changeset/37135/haiku Ticket: http://dev.haiku-os.org/ticket/5209 Modified: haiku/trunk/src/add-ons/kernel/drivers/network/usb_asix/Driver.cpp haiku/trunk/src/add-ons/kernel/drivers/network/usb_davicom/Driver.cpp Log:
> ...
The usb_serial driver also needs the same optimization, but gathering the IDs list will take more time than refactor the code and since usb_serial is not yet included in haiku image neither ready (no tty module), there is less user experience immediate gain...
I still have a draft tty module and usb_serial integration pending, but haven't managed to get it fully working. I could of course commit it so it is at least there. Since usb_serial doesn't work yet anyway it wouldn't really harm.
- gUSBModule->register_driver(DRIVER_NAME, 0, 0, NULL); + gUSBModule->register_driver(DRIVER_NAME, gSupportedDevices, + sizeof(gSupportedDevices)/sizeof(usb_support_descriptor), NULL);
Please apply proper spacing (in both files). Regards Michael