atom feed3 messages in org.freebsd.freebsd-usbusb/116574: [patch] Add device ids fo...
FromSent OnAttachments
Dave GrochowskiSep 23, 2007 12:29 am 
Dave GrochowskiSep 23, 2007 1:36 am 
Dave GrochowskiSep 23, 2007 1:39 am 
Subject:usb/116574: [patch] Add device ids for ICH8 USB chipsets
From:Dave Grochowski (malu@gmail.com)
Date:Sep 23, 2007 12:29:50 am
List:org.freebsd.freebsd-usb

Number: 116574 Category: usb Synopsis: [patch] Add device ids for ICH8 USB chipsets Confidential: no Severity: non-critical Priority: low Responsible: freebsd-usb State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Sun Sep 23 07:30:09 GMT 2007 Closed-Date: Last-Modified: Originator: Dave Grochowski Release: 7.0-CURRENT Organization: Lockheed Martin Environment: FreeBSD wanderer 7.0-CURRENT FreeBSD 7.0-CURRENT #6: Sat Sep 22 00:38:37 EDT
2007 root@wanderer:/usr/obj/usr/src/sys/WANDERER i386 Description: The patch adds the device ids for the various ICH8 USB chipsets. I followed the
naming scheme used for the ICH7 chipsets. How-To-Repeat:

Fix:

Patch attached with submission follows:

--- src/sys/dev/usb/ehci_pci.c.orig 2007-09-21 21:39:47.000000000 -0400 +++ src/sys/dev/usb/ehci_pci.c 2007-09-21 21:50:56.000000000 -0400 @@ -117,6 +117,10 @@ static const char *ehci_device_ich6 = "Intel 82801FB (ICH6) USB 2.0
controller"; #define PCI_EHCI_DEVICEID_ICH7 0x27cc8086 static const char *ehci_device_ich7 = "Intel 82801GB/R (ICH7) USB 2.0
controller"; +#define PCI_EHCI_DEVICEID_ICH8_A 0x28368086 +static const char *ehci_device_ich8_a = "Intel 82801H (ICH8) USB 2.0 controller
USB2-A"; +#define PCI_EHCI_DEVICEID_ICH8_B 0x283a8086 +static const char *ehci_device_ich8_b = "Intel 82801H (ICH8) USB 2.0 controller
USB2-B";

/* NEC */ #define PCI_EHCI_DEVICEID_NEC 0x00e01033 @@ -226,6 +230,10 @@ return (ehci_device_ich6); case PCI_EHCI_DEVICEID_ICH7: return (ehci_device_ich7); + case PCI_EHCI_DEVICEID_ICH8_A: + return (ehci_device_ich8_a); + case PCI_EHCI_DEVICEID_ICH8_B: + return (ehci_device_ich8_b); case PCI_EHCI_DEVICEID_NEC: return (ehci_device_nec); case PCI_EHCI_DEVICEID_NF2: --- src/sys/dev/usb/uhci_pci.c.orig 2007-09-21 20:35:43.000000000 -0400 +++ src/sys/dev/usb/uhci_pci.c 2007-09-21 20:54:57.000000000 -0400 @@ -139,6 +139,21 @@ #define PCI_UHCI_DEVICEID_ICH6_D 0x265b8086 static const char *uhci_device_ich6_d = "Intel 82801FB/FR/FW/FRW (ICH6) USB
controller USB-D";

+#define PCI_UHCI_DEVICEID_ICH8_A 0x28308086 +static const char *uhci_device_ich8_a = "Intel 82801H (ICH8) USB controller
USB-A"; + +#define PCI_UHCI_DEVICEID_ICH8_B 0x28318086 +static const char *uhci_device_ich8_b = "Intel 82801H (ICH8) USB controller
USB-B"; + +#define PCI_UHCI_DEVICEID_ICH8_C 0x28328086 +static const char *uhci_device_ich8_c = "Intel 82801H (ICH8) USB controller
USB-C"; + +#define PCI_UHCI_DEVICEID_ICH8_D 0x28348086 +static const char *uhci_device_ich8_d = "Intel 82801H (ICH8) USB controller
USB-D"; + +#define PCI_UHCI_DEVICEID_ICH8_E 0x28358086 +static const char *uhci_device_ich8_e = "Intel 82801H (ICH8) USB controller
USB-E"; + #define PCI_UHCI_DEVICEID_440MX 0x719a8086 static const char *uhci_device_440mx = "Intel 82443MX USB controller";

@@ -230,6 +245,16 @@ return (uhci_device_ich6_c); } else if (device_id == PCI_UHCI_DEVICEID_ICH6_D) { return (uhci_device_ich6_d); + } else if (device_id == PCI_UHCI_DEVICEID_ICH8_A) { + return (uhci_device_ich8_a); + } else if (device_id == PCI_UHCI_DEVICEID_ICH8_B) { + return (uhci_device_ich8_b); + } else if (device_id == PCI_UHCI_DEVICEID_ICH8_C) { + return (uhci_device_ich8_c); + } else if (device_id == PCI_UHCI_DEVICEID_ICH8_D) { + return (uhci_device_ich8_d); + } else if (device_id == PCI_UHCI_DEVICEID_ICH8_E) { + return (uhci_device_ich8_e); } else if (device_id == PCI_UHCI_DEVICEID_440MX) { return (uhci_device_440mx); } else if (device_id == PCI_UHCI_DEVICEID_460GX) {

Release-Note: Audit-Trail: Unformatted: