require '_h2ph_pre.ph';

unless(defined(&_LINUX_USBDEVICE_FS_H)) {
    eval 'sub _LINUX_USBDEVICE_FS_H () {1;}' unless defined(&_LINUX_USBDEVICE_FS_H);
    require 'linux/types.ph';
    eval 'sub USBDEVICE_SUPER_MAGIC () {0x9fa2;}' unless defined(&USBDEVICE_SUPER_MAGIC);
    eval 'sub USBDEVFS_MAXDRIVERNAME () {255;}' unless defined(&USBDEVFS_MAXDRIVERNAME);
    eval 'sub USBDEVFS_URB_DISABLE_SPD () {1;}' unless defined(&USBDEVFS_URB_DISABLE_SPD);
    eval 'sub USBDEVFS_URB_ISO_ASAP () {2;}' unless defined(&USBDEVFS_URB_ISO_ASAP);
    eval 'sub USBDEVFS_URB_QUEUE_BULK () {0x10;}' unless defined(&USBDEVFS_URB_QUEUE_BULK);
    eval 'sub USBDEVFS_URB_TYPE_ISO () {0;}' unless defined(&USBDEVFS_URB_TYPE_ISO);
    eval 'sub USBDEVFS_URB_TYPE_INTERRUPT () {1;}' unless defined(&USBDEVFS_URB_TYPE_INTERRUPT);
    eval 'sub USBDEVFS_URB_TYPE_CONTROL () {2;}' unless defined(&USBDEVFS_URB_TYPE_CONTROL);
    eval 'sub USBDEVFS_URB_TYPE_BULK () {3;}' unless defined(&USBDEVFS_URB_TYPE_BULK);
    eval 'sub USBDEVFS_CONTROL () { &_IOWR(ord(\'U\'), 0, \'struct usbdevfs_ctrltransfer\');}' unless defined(&USBDEVFS_CONTROL);
    eval 'sub USBDEVFS_BULK () { &_IOWR(ord(\'U\'), 2, \'struct usbdevfs_bulktransfer\');}' unless defined(&USBDEVFS_BULK);
    eval 'sub USBDEVFS_RESETEP () { &_IOR(ord(\'U\'), 3, \'unsigned int\');}' unless defined(&USBDEVFS_RESETEP);
    eval 'sub USBDEVFS_SETINTERFACE () { &_IOR(ord(\'U\'), 4, \'struct usbdevfs_setinterface\');}' unless defined(&USBDEVFS_SETINTERFACE);
    eval 'sub USBDEVFS_SETCONFIGURATION () { &_IOR(ord(\'U\'), 5, \'unsigned int\');}' unless defined(&USBDEVFS_SETCONFIGURATION);
    eval 'sub USBDEVFS_GETDRIVER () { &_IOW(ord(\'U\'), 8, \'struct usbdevfs_getdriver\');}' unless defined(&USBDEVFS_GETDRIVER);
    eval 'sub USBDEVFS_SUBMITURB () { &_IOR(ord(\'U\'), 10, \'struct usbdevfs_urb\');}' unless defined(&USBDEVFS_SUBMITURB);
    eval 'sub USBDEVFS_DISCARDURB () { &_IO(ord(\'U\'), 11);}' unless defined(&USBDEVFS_DISCARDURB);
    eval 'sub USBDEVFS_REAPURB () { &_IOW(ord(\'U\'), 12,  &void *);}' unless defined(&USBDEVFS_REAPURB);
    eval 'sub USBDEVFS_REAPURBNDELAY () { &_IOW(ord(\'U\'), 13,  &void *);}' unless defined(&USBDEVFS_REAPURBNDELAY);
    eval 'sub USBDEVFS_DISCSIGNAL () { &_IOR(ord(\'U\'), 14, \'struct usbdevfs_disconnectsignal\');}' unless defined(&USBDEVFS_DISCSIGNAL);
    eval 'sub USBDEVFS_CLAIMINTERFACE () { &_IOR(ord(\'U\'), 15, \'unsigned int\');}' unless defined(&USBDEVFS_CLAIMINTERFACE);
    eval 'sub USBDEVFS_RELEASEINTERFACE () { &_IOR(ord(\'U\'), 16, \'unsigned int\');}' unless defined(&USBDEVFS_RELEASEINTERFACE);
    eval 'sub USBDEVFS_CONNECTINFO () { &_IOW(ord(\'U\'), 17, \'struct usbdevfs_connectinfo\');}' unless defined(&USBDEVFS_CONNECTINFO);
    eval 'sub USBDEVFS_IOCTL () { &_IOWR(ord(\'U\'), 18, \'struct usbdevfs_ioctl\');}' unless defined(&USBDEVFS_IOCTL);
    eval 'sub USBDEVFS_HUB_PORTINFO () { &_IOR(ord(\'U\'), 19, \'struct usbdevfs_hub_portinfo\');}' unless defined(&USBDEVFS_HUB_PORTINFO);
    eval 'sub USBDEVFS_RESET () { &_IO(ord(\'U\'), 20);}' unless defined(&USBDEVFS_RESET);
    eval 'sub USBDEVFS_CLEAR_HALT () { &_IOR(ord(\'U\'), 21, \'unsigned int\');}' unless defined(&USBDEVFS_CLEAR_HALT);
}
1;
