PATCH: linux-2.4.10-pre4/drivers/net/irda/irda-usb.c incorrectly matched to other USB devices

PATCH: linux-2.4.10-pre4/drivers/net/irda/irda-usb.c incorrectly matched to other USB devices

Post by Greg K » Fri, 07 Sep 2001 07:50:07




> --- linux-2.4.10-pre4/drivers/net/irda/irda-usb.c  Sun Aug  5 13:12:40 2001
> +++ linux/drivers/net/irda/irda-usb.c      Tue Sep  4 21:19:43 2001

>    { USB_DEVICE(0x50f, 0x180), driver_info: IUC_SPEED_BUG | IUC_NO_WINDOW },
>    /* Extended Systems, Inc.,  XTNDAccess IrDA USB (ESI-9685) */
>    { USB_DEVICE(0x8e9, 0x100), driver_info: IUC_SPEED_BUG | IUC_NO_WINDOW },
> -  { match_flags: USB_DEVICE_ID_MATCH_INT_CLASS,
> +  { match_flags: USB_DEVICE_ID_MATCH_INT_CLASS |
> +                 USB_DEVICE_ID_MATCH_INT_SUBCLASS,
>      bInterfaceClass: USB_CLASS_APP_SPEC,
>      bInterfaceSubClass: USB_CLASS_IRDA,
>      driver_info: IUC_DEFAULT, },

That should be:
        { USB_INTERFACE_INFO (USB_CLASS_APP_SPEC, USB_CLASS_IRDA, 0), driver_info: IUC_DEFAULT},

according to the IrDA USB spec.

greg k-h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.45 drivers/net/irda/irda-usb.c Compile Fix

Fixes an apparent typo in irda-usb.c that prevented it from compiling.

[ linux-2.4.45-irda-usb.patch < 1K ]
--- drivers/net/irda/irda-usb.c.orig    2002-10-30 22:16:48.000000000 -0500

         * specify an alternate, but very few driver do like this.
         * Jean II */
        ret = usb_set_interface(dev, intf->altsetting->desc.bInterfaceNumber, 0);
-       IRDA_DEBUG(1, "usb-irda: set interface %d result %d\n", intf->altsetting->bInterfaceNumber, ret);
+       IRDA_DEBUG(1, "usb-irda: set interface %d result %d\n", intf->altsetting->desc.bInterfaceNumber, ret);
        switch (ret) {
                case 0:
                        break;

2. PnP Changes for 2.5.66

3. patch-2.4.2-irda1 (irda-usb)

4. NIC card configuration 3c905B-TX

5. where are irDA and USB device driver's code?please help me.thanks

6. Turning auto-repeat back on

7. 2.5.28 make modules_install error (sound/oss/*.o , net/irda/irda.o)

8. Volume Manager and root volumes

9. : irda-usb Rx path cleanup + no clear_halt

10. 2.5.70-bk7 -- drivers/net/irda/w83977af_ir.ko needs unknown symbol setup_dma

11. PATCH: linux-2.4.2-pre4/drivers/media/video/cpia_usb.c device ID update

12. USB, IrDA, PnP in Linux

13. USB and IrDA Development on Linux