Replace hard-coded magic constants to system defined constants
(BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc). These pseudo PHY drivers were forgotten from the conversion due to the repo copy to dc driver location.
This commit is contained in:
parent
4350e12f23
commit
07c4a8dfa6
@ -131,7 +131,7 @@ dcphy_probe(device_t dev)
|
||||
|
||||
device_set_desc(dev, "Intel 21143 NWAY media interface");
|
||||
|
||||
return (0);
|
||||
return (BUS_PROBE_DEFAULT);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -116,7 +116,7 @@ pnphy_probe(device_t dev)
|
||||
|
||||
device_set_desc(dev, "PNIC 82c168 media interface");
|
||||
|
||||
return (0);
|
||||
return (BUS_PROBE_DEFAULT);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user