Deleted Added
full compact
mtk_ehci.c (297670) mtk_ehci.c (298059)
1#include <sys/cdefs.h>
1#include <sys/cdefs.h>
2__FBSDID("$FreeBSD: head/sys/mips/mediatek/mtk_ehci.c 297670 2016-04-07 11:20:03Z sgalabov $");
2__FBSDID("$FreeBSD: head/sys/mips/mediatek/mtk_ehci.c 298059 2016-04-15 15:24:42Z sgalabov $");
3
4/*-
5 * Copyright (c) 2015 Stanislav Galabov. All rights reserved.
6 * Copyright (c) 2010,2011 Aleksandr Rybalko. All rights reserved.
7 * Copyright (c) 2007-2008 Hans Petter Selasky. All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions

--- 62 unchanged lines hidden (view full) ---

73
74static int
75ehci_fdt_probe(device_t self)
76{
77
78 if (!ofw_bus_status_okay(self))
79 return (ENXIO);
80
3
4/*-
5 * Copyright (c) 2015 Stanislav Galabov. All rights reserved.
6 * Copyright (c) 2010,2011 Aleksandr Rybalko. All rights reserved.
7 * Copyright (c) 2007-2008 Hans Petter Selasky. All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions

--- 62 unchanged lines hidden (view full) ---

73
74static int
75ehci_fdt_probe(device_t self)
76{
77
78 if (!ofw_bus_status_okay(self))
79 return (ENXIO);
80
81 if (!ofw_bus_is_compatible(self, "ralink,rt3xxx-ehci"))
81 if (!ofw_bus_is_compatible(self, "generic-ehci"))
82 return (ENXIO);
83
84 device_set_desc(self, EHCI_HC_DEVSTR);
85
86 return (BUS_PROBE_DEFAULT);
87}
88
89static int

--- 134 unchanged lines hidden ---
82 return (ENXIO);
83
84 device_set_desc(self, EHCI_HC_DEVSTR);
85
86 return (BUS_PROBE_DEFAULT);
87}
88
89static int

--- 134 unchanged lines hidden ---