mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
uhci(4): Correct PCI device ID for Zhaoxin USB controller
And minor style fixes.
Tested by: Weitao Wang <WeitaoWang-oc@zhaoxin.com>
Fixes: 986c7be472 uhci(4): Add new USB IDs
Differential Revision: https://reviews.freebsd.org/D38924
This commit is contained in:
parent
95b2d16b38
commit
b754d7faaf
1 changed files with 6 additions and 6 deletions
|
|
@ -82,7 +82,7 @@ __FBSDID("$FreeBSD$");
|
|||
#define PCI_UHCI_VENDORID_HP 0x103c
|
||||
#define PCI_UHCI_VENDORID_VIA 0x1106
|
||||
#define PCI_UHCI_VENDORID_VMWARE 0x15ad
|
||||
#define PCI_UHCI_VENDORID_ZHAOXIN 0x1d17
|
||||
#define PCI_UHCI_VENDORID_ZHAOXIN 0x1d17
|
||||
|
||||
/* PIIX4E has no separate stepping */
|
||||
|
||||
|
|
@ -242,8 +242,8 @@ uhci_pci_match(device_t self)
|
|||
case 0x077415ad:
|
||||
return ("VMware USB controller");
|
||||
|
||||
case 0x1d173038:
|
||||
return ("Zhaoxin ZX-100/ZX-200/ZX-E USB controller");
|
||||
case 0x30381d17:
|
||||
return ("Zhaoxin ZX-100/ZX-200/ZX-E USB controller");
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
@ -338,9 +338,9 @@ uhci_pci_attach(device_t self)
|
|||
case PCI_UHCI_VENDORID_VMWARE:
|
||||
sprintf(sc->sc_vendor, "VMware");
|
||||
break;
|
||||
case PCI_UHCI_VENDORID_ZHAOXIN:
|
||||
sprintf(sc->sc_vendor, "Zhaoxin");
|
||||
break;
|
||||
case PCI_UHCI_VENDORID_ZHAOXIN:
|
||||
sprintf(sc->sc_vendor, "Zhaoxin");
|
||||
break;
|
||||
default:
|
||||
if (bootverbose) {
|
||||
device_printf(self, "(New UHCI DeviceId=0x%08x)\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue