add geode companion support to ohci probe code

Andrew Atrens atrens at nortel.com
Fri Aug 24 05:49:30 PDT 2007


Index: ohci_pci.c
===================================================================
RCS file: /usr/dfly/repo/src/sys/bus/usb/ohci_pci.c,v
retrieving revision 1.8
diff -u -r1.8 ohci_pci.c
--- ohci_pci.c  1 May 2007 00:05:16 -0000       1.8
+++ ohci_pci.c  9 Aug 2007 03:00:22 -0000
@@ -91,6 +91,9 @@
 #define PCI_OHCI_DEVICEID_AMD766       0x74141022
 static const char *ohci_device_amd766 = "AMD-766 USB Controller";

+#define PCI_OHCI_DEVICEID_CS5536       0x20941022
+static const char *ohci_device_cs5536 = "AMD CS5536 [geode companion] USB Controller";
+
 #define PCI_OHCI_DEVICEID_SB400_1      0x43741002
 #define PCI_OHCI_DEVICEID_SB400_2      0x43751002
 static const char *ohci_device_sb400 = "ATI SB400 USB Controller";
@@ -180,6 +183,8 @@
                return (ohci_device_amd756);
        case PCI_OHCI_DEVICEID_AMD766:
                return (ohci_device_amd766);
+       case PCI_OHCI_DEVICEID_CS5536:
+               return (ohci_device_cs5536);
        case PCI_OHCI_DEVICEID_SB400_1:
        case PCI_OHCI_DEVICEID_SB400_2:
                return (ohci_device_sb400);





More information about the Submit mailing list