diff options
author | yongari <yongari@FreeBSD.org> | 2006-07-03 02:53:40 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2006-07-03 02:53:40 +0000 |
commit | 5fe63e39e85c05f49c9c4e4bb6d46b012481331a (patch) | |
tree | 7c86d14d85c7a448cf7b3957e7f0f010c97b33fa /sys/dev/mii/amphy.c | |
parent | a4a29e2efc3a44f4f0fd8fe3ae58b878c1d439bd (diff) | |
download | FreeBSD-src-5fe63e39e85c05f49c9c4e4bb6d46b012481331a.zip FreeBSD-src-5fe63e39e85c05f49c9c4e4bb6d46b012481331a.tar.gz |
Replace hard-coded magic constants to system defined constants
(BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc).
There is no functional changes.
Reviewed by: oleg, scottl
Diffstat (limited to 'sys/dev/mii/amphy.c')
-rw-r--r-- | sys/dev/mii/amphy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c index 78e5544..f50b0b7 100644 --- a/sys/dev/mii/amphy.c +++ b/sys/dev/mii/amphy.c @@ -100,7 +100,7 @@ amphy_probe(device_t dev) else if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxDAVICOM) device_set_desc(dev, MII_STR_xxDAVICOM_DM9101); - return(0); + return(BUS_PROBE_DEFAULT); } static int |