Hi,

Here's a patch against 2.5.1-pre7 that adds a new device to the usbnet
driver, and replaces the USB_ST_STALL #define with the proper error
number.

thanks,

greg k-h


diff -Nru a/drivers/usb/usbnet.c b/drivers/usb/usbnet.c
--- a/drivers/usb/usbnet.c      Fri Dec  7 21:30:07 2001
+++ b/drivers/usb/usbnet.c      Fri Dec  7 21:30:07 2001
@@ -1535,7 +1535,7 @@
        struct skb_data         *entry = (struct skb_data *) skb->cb;
        struct usbnet           *dev = entry->dev;
 
-       if (urb->status == USB_ST_STALL) {
+       if (urb->status == -EPIPE) {
                if (dev->ctrl_task.sync == 0) {
                        dev->ctrl_task.routine = tx_clear_halt;
                        dev->ctrl_task.data = dev;
@@ -1868,6 +1868,11 @@
 #ifdef CONFIG_USB_AN2720
 {
        USB_DEVICE (0x0547, 0x2720),    // AnchorChips defaults
+       driver_info:    (unsigned long) &an2720_info,
+},
+
+{
+       USB_DEVICE (0x0547, 0x2727),    // Xircom PGUNET
        driver_info:    (unsigned long) &an2720_info,
 },
 #endif


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to