summaryrefslogtreecommitdiffstats
path: root/sys/dev/dc
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2006-08-02 05:28:52 +0000
committeryongari <yongari@FreeBSD.org>2006-08-02 05:28:52 +0000
commit755364291b98b87bb18736cdef81a574287e40c2 (patch)
tree6d0e5b22fb43c82852d2b936162be3171aad689b /sys/dev/dc
parent2e7794f9080f1bb4dcb5da8965b182cbe8d9d2a6 (diff)
downloadFreeBSD-src-755364291b98b87bb18736cdef81a574287e40c2.zip
FreeBSD-src-755364291b98b87bb18736cdef81a574287e40c2.tar.gz
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.
Diffstat (limited to 'sys/dev/dc')
-rw-r--r--sys/dev/dc/dcphy.c2
-rw-r--r--sys/dev/dc/pnphy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c
index 3c0e60b..3b1de0f 100644
--- a/sys/dev/dc/dcphy.c
+++ b/sys/dev/dc/dcphy.c
@@ -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
diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c
index a690d60..415c22e 100644
--- a/sys/dev/dc/pnphy.c
+++ b/sys/dev/dc/pnphy.c
@@ -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
OpenPOWER on IntegriCloud