rpms/kernel/devel linux-2.6-usb-via-ehci-sleep-time.patch, NONE, 1.1 kernel.spec, 1.582, 1.583

Dave Jones (davej) fedora-extras-commits at redhat.com
Fri Apr 4 22:34:01 UTC 2008


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15265

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-usb-via-ehci-sleep-time.patch 
Log Message:
USB: VIA VT6212 10us EHCI sleep time select. (#438599)

linux-2.6-usb-via-ehci-sleep-time.patch:

--- NEW FILE linux-2.6-usb-via-ehci-sleep-time.patch ---
https://bugzilla.redhat.com/show_bug.cgi?id=188630
http://lkml.org/lkml/2008/3/17/340

diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index 72ccd56..a2c929e 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -166,6 +166,15 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
 			pci_write_config_byte(pdev, 0x4b, tmp | 0x20);
 		}
 		break;
+	case PCI_VENDOR_ID_VIA:
+		if (pdev->device == 0x3104 && pdev->revision >= 0x60) {
+			u8 tmp;
+
+			/* VT6212: EHCI sleep time 10us (default 1) */
+			pci_read_config_byte(pdev, 0x4b, &tmp);
+			pci_write_config_byte(pdev, 0x4b, tmp | 0x20);
+		}
+		break;
 	}
 
 	ehci_reset(ehci);


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.582
retrieving revision 1.583
diff -u -r1.582 -r1.583
--- kernel.spec	4 Apr 2008 21:07:22 -0000	1.582
+++ kernel.spec	4 Apr 2008 22:33:04 -0000	1.583
@@ -645,6 +645,8 @@
 Patch2300: linux-2.6-usb-ehci-hcd-respect-nousb.patch
 # Fix HID usage descriptor on MS wireless desktop receiver
 Patch2301: linux-2.6-ms-wireless-receiver.patch
+# USB: VIA VT6212 10us EHCI sleep time select
+Patch2302: linux-2.6-usb-via-ehci-sleep-time.patch
 
 # acpi hotkey driver for asus eeepc
 Patch2350: linux-2.6-acpi-eeepc-hotkey.patch
@@ -1046,6 +1048,8 @@
 
 # USB
 ApplyPatch linux-2.6-usb-ehci-hcd-respect-nousb.patch
+# USB: VIA VT6212 10us EHCI sleep time select
+ApplyPatch linux-2.6-usb-via-ehci-sleep-time.patch
 
 # ACPI
 # eeepc hotkey support
@@ -1758,6 +1762,9 @@
 %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}.xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.xen.conf %{with_xen} xen
 
 %changelog
+* Fri Apr 04 2008 Dave Jones <davej at redhat.com>
+- USB: VIA VT6212 10us EHCI sleep time select. (#438599)
+
 * Fri Apr 04 2008 Jarod Wilson <jwilson at redhat.com>
 - firewire: add logging of register access failures to debug spew
 - firewire: don't append AT packets to halted contexts (because certain




More information about the fedora-extras-commits mailing list