]> git.pld-linux.org Git - packages/kernel.git/blob - 2.6.0-t6-usb-irq.patch
- CSZ scheduler removed from kernel tree.
[packages/kernel.git] / 2.6.0-t6-usb-irq.patch
1 --- 1.44/drivers/usb/host/uhci-hcd.c    Fri Jul 18 06:22:32 2003
2 +++ edited/drivers/usb/host/uhci-hcd.c  Fri Sep 19 12:23:54 2003
3 @@ -1960,8 +1960,9 @@
4  {
5         unsigned int io_addr = uhci->io_addr;
6  
7 -       /* Global reset for 50ms */
8 +       /* Global reset for 50ms, and don't interrupt me */
9         uhci->state = UHCI_RESET;
10 +       outw(0, io_addr + USBINTR);
11         outw(USBCMD_GRESET, io_addr + USBCMD);
12         set_current_state(TASK_UNINTERRUPTIBLE);
13         schedule_timeout((HZ*50+999) / 1000);
14 @@ -2187,6 +2188,7 @@
15         /* Maybe kick BIOS off this hardware.  Then reset, so we won't get
16          * interrupts from any previous setup.
17          */
18 +       outw(0, uhci->io_addr + USBINTR);
19         reset_hc(uhci);
20         pci_write_config_word(hcd->pdev, USBLEGSUP, USBLEGSUP_DEFAULT);
21         return 0;
This page took 0.03972 seconds and 3 git commands to generate.