diff options
| author | Ian Lepore <ian@FreeBSD.org> | 2014-02-02 19:17:28 +0000 |
|---|---|---|
| committer | Ian Lepore <ian@FreeBSD.org> | 2014-02-02 19:17:28 +0000 |
| commit | add35ed5b81bd56b4e0f1f9db0636b785cc0c8d1 (patch) | |
| tree | f7a07f25a40a264286f85b60ecb1346dd35ef91b /sys/dev/ffec | |
| parent | 6f34487cc9dca0d09c4bd0f11004895bb8add4bd (diff) | |
Notes
Diffstat (limited to 'sys/dev/ffec')
| -rw-r--r-- | sys/dev/ffec/if_ffec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ffec/if_ffec.c b/sys/dev/ffec/if_ffec.c index 01974ffa8cf8..05a6c99dc502 100644 --- a/sys/dev/ffec/if_ffec.c +++ b/sys/dev/ffec/if_ffec.c @@ -1713,6 +1713,9 @@ ffec_probe(device_t dev) { uintptr_t fectype; + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + fectype = ofw_bus_search_compatible(dev, compat_data)->ocd_data; if (fectype == FECTYPE_NONE) return (ENXIO); |
