Diff for /src/sys/bus/usb/rio500_usb.h between versions 1.3 and 1.4

version 1.3, 2003/12/30 01:01:44 version 1.4, 2004/02/11 15:17:26
Line 24 Line 24
  * $DragonFly$   * $DragonFly$
  */   */
   
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
 #include <sys/ioccom.h>  #include <sys/ioccom.h>
 #ifndef USB_VENDOR_DIAMOND  #ifndef USB_VENDOR_DIAMOND
 #define USB_VENDOR_DIAMOND 0x841  #define USB_VENDOR_DIAMOND 0x841
Line 36 Line 36
   
 struct RioCommand  struct RioCommand
 {  {
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
   u_int16_t  length;    u_int16_t  length;
 #else  #else
   short length;    short length;
Line 49  struct RioCommand Line 49  struct RioCommand
   int  timeout;    int  timeout;
 };  };
   
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
 #define RIO_SEND_COMMAND        _IOWR('U', 200, struct RioCommand)  #define RIO_SEND_COMMAND        _IOWR('U', 200, struct RioCommand)
 #define RIO_RECV_COMMAND        _IOWR('U', 201, struct RioCommand)  #define RIO_RECV_COMMAND        _IOWR('U', 201, struct RioCommand)
 #else  #else

Removed from v.1.3  
changed lines
  Added in v.1.4