Hi!

As a temporary maintainer (for a couple days) of the USB drivers, I'm
sending you these three patches for inclusion in the latest 2.3.99-preX
kernel:

Bob Cutler      <[EMAIL PROTECTED]>           ohci-race.diff          - fixes a race 
condition in the OHCI driver
Vojtech Pavlik  <[EMAIL PROTECTED]>       wacom-wheel.diff        - fixes mouse wheel 
with wacom graphire
Adam J. Richter <[EMAIL PROTECTED]>    usb-speed.diff          - changes speed 
reporting to Mb/s in hub driver

-- 
Vojtech Pavlik
SuSE Labs
diff -urN linux-2.3.99-pre9-2-old/drivers/usb/usb-ohci.c linux/drivers/usb/usb-ohci.c
--- linux-2.3.99-pre9-2-old/drivers/usb/usb-ohci.c      Tue May  2 22:16:26 2000
+++ linux/drivers/usb/usb-ohci.c        Tue May 16 17:18:49 2000
@@ -497,12 +497,10 @@
        if (ed->state != ED_OPER)  /* link the ed into a chain if is not already */
                ep_link (ohci, ed);
        
+       urb->status = USB_ST_URB_PENDING; 
        td_submit_urb (urb); /* fill the TDs and link it to the ed */
 
        spin_unlock_irqrestore (&usb_ed_lock, flags);
-       
-       urb->status = USB_ST_URB_PENDING; 
-       // queue_urb(s, &urb->urb_list);
 
        return 0;       
 }
diff -urN linux-2.3.99-pre9-2-old/drivers/usb/hub.c linux/drivers/usb/hub.c
--- linux-2.3.99-pre9-2-old/drivers/usb/hub.c   Tue May  2 22:15:41 2000
+++ linux/drivers/usb/hub.c     Tue May 16 21:23:49 2000
@@ -338,7 +338,7 @@
        portstatus = le16_to_cpu(portsts.wPortStatus);
        portchange = le16_to_cpu(portsts.wPortChange);
        dbg("portstatus %x, change %x, %s", portstatus, portchange,
-               portstatus&(1<<USB_PORT_FEAT_LOWSPEED) ? "Low Speed" : "High Speed");
+               portstatus&(1<<USB_PORT_FEAT_LOWSPEED) ? "1.5 Mb/s" : "12 Mb/s");
 
        /* Clear the connection change status */
        usb_clear_port_feature(hub, port + 1, USB_PORT_FEAT_C_CONNECTION);
@@ -369,7 +369,7 @@
                portstatus = le16_to_cpu(portsts.wPortStatus);
                portchange = le16_to_cpu(portsts.wPortChange);
                dbg("portstatus %x, change %x, %s", portstatus ,portchange,
-                       portstatus&(1<<USB_PORT_FEAT_LOWSPEED) ? "Low Speed" : "High 
Speed");
+                       portstatus&(1<<USB_PORT_FEAT_LOWSPEED) ? "1.5 Mb/s" : "12 
+Mb/s");
 
                if ((portchange & USB_PORT_STAT_C_CONNECTION) ||
                    !(portstatus & USB_PORT_STAT_CONNECTION))
diff -urN linux-2.3.99-pre9-2-old/drivers/usb/wacom.c linux/drivers/usb/wacom.c
--- linux-2.3.99-pre9-2-old/drivers/usb/wacom.c Mon Mar 20 03:29:40 2000
+++ linux/drivers/usb/wacom.c   Tue May 16 17:43:53 2000
@@ -104,8 +104,8 @@
        int distance_max;
        void (*irq)(struct urb *urb);
        unsigned long evbit;
-       unsigned long relbit;
        unsigned long absbit;
+       unsigned long relbit;
        unsigned long btnbit;
        unsigned long digibit;
 };

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to