Attachments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #6: 0002-Update-constants-as-specified-in-linux-usbdevice_fs.patch

File 0002-Update-constants-as-specified-in-linux-usbdevice_fs.patch, 893 bytes (added by nikias, 3 years ago)
  • libusb/os/linux_usbfs.h

    From e55956cd89acd18f0c1e581fb238cbe76285f4de Mon Sep 17 00:00:00 2001
    From: Nikias Bassen <nikias@gmx.li>
    Date: Fri, 28 Aug 2009 00:11:01 +0200
    Subject: [PATCH] Update constants as specified in linux/usbdevice_fs.h
    
    ---
     libusb/os/linux_usbfs.h |    7 ++++---
     1 files changed, 4 insertions(+), 3 deletions(-)
    
    diff --git a/libusb/os/linux_usbfs.h b/libusb/os/linux_usbfs.h
    index 9ed0b4f..4660e3b 100644
    a b struct usbfs_getdriver { 
    6060        char driver[USBFS_MAXDRIVERNAME + 1]; 
    6161}; 
    6262 
    63 #define USBFS_URB_DISABLE_SPD   1 
    64 #define USBFS_URB_ISO_ASAP      2 
    65 #define USBFS_URB_QUEUE_BULK    0x10 
     63#define USBFS_URB_SHORT_NOT_OK  0x01 
     64#define USBFS_URB_ISO_ASAP      0x02 
     65#define USBFS_URB_NO_FSBR       0x20 
    6666#define USBFS_URB_ZERO_PACKET   0x40 
     67#define USBFS_URB_NO_INTERRUPT  0x80 
    6768 
    6869enum usbfs_urb_type { 
    6970        USBFS_URB_TYPE_ISO = 0,