Changeset 964 for trunk/src/ifd/sys-bsd.c
- Timestamp:
- 05/25/07 21:11:36 (5 years ago)
- File:
-
- 1 edited
-
trunk/src/ifd/sys-bsd.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ifd/sys-bsd.c
r941 r964 313 313 int ifd_sysdep_usb_open(const char *device) 314 314 { 315 return open(device, O_RDWR);315 return open(device, O_RDWR); 316 316 } 317 317 … … 378 378 379 379 /* FIXME: if we don't find a driver with vendor/product 380 * then check for the interface type (ccid) and use381 * driver ccid... */380 * then check for the interface type (ccid) and use 381 * driver ccid... */ 382 382 383 383 if (!(driver = ifd_driver_for_id(&id))) … … 385 385 #ifdef __OpenBSD__ 386 386 snprintf(typedev, sizeof(typedev), 387 "usb:/dev/%s.00", device_info.udi_devnames[0]);387 "usb:/dev/%s.00", device_info.udi_devnames[0]); 388 388 #else 389 389 snprintf(typedev, sizeof(typedev), 390 390 "usb:/dev/%s", device_info.udi_devnames[0]); 391 #endif /* __OpenBSD__ */391 #endif /* __OpenBSD__ */ 392 392 393 393 ifd_spawn_handler(driver, typedev, -1);
Note: See TracChangeset
for help on using the changeset viewer.
