Page MenuHomeFreeBSD

D4369.id10850.diff
No OneTemporary

D4369.id10850.diff

Index: sys/dev/usb/controller/ehci_mv.c
===================================================================
--- sys/dev/usb/controller/ehci_mv.c
+++ sys/dev/usb/controller/ehci_mv.c
@@ -99,6 +99,12 @@
#define MV_USB_HOST_OVERFLOW (1 << 2)
#define MV_USB_DEVICE_UNDERFLOW (1 << 3)
+static struct ofw_compat_data compat_data[] = {
+ {"mrvl,usb-ehci", true},
+ {"marvell,orion-ehci", true},
+ {NULL, false}
+};
+
static int
mv_ehci_probe(device_t self)
{
@@ -106,7 +112,7 @@
if (!ofw_bus_status_okay(self))
return (ENXIO);
- if (!ofw_bus_is_compatible(self, "mrvl,usb-ehci"))
+ if (!ofw_bus_search_compatible(self, compat_data)->ocd_data)
return (ENXIO);
device_set_desc(self, EHCI_HC_DEVSTR);

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 20, 8:38 PM (15 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31863266
Default Alt Text
D4369.id10850.diff (716 B)

Event Timeline