summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-10-31 19:43:33 +0000
committerasmodai <asmodai@FreeBSD.org>2001-10-31 19:43:33 +0000
commit460dbf267c6569ff5274babcf30cccac0723c4a8 (patch)
tree63a850aa5f4da8c6171ea82cc1be34b0758e579d /sys/dev/ed
parentaa7365e96b3604becf0fa967ed1f3dac2b60651b (diff)
downloadFreeBSD-src-460dbf267c6569ff5274babcf30cccac0723c4a8.zip
FreeBSD-src-460dbf267c6569ff5274babcf30cccac0723c4a8.tar.gz
Fix obvious bug where return from probe was botched.
People with HP PCLAN+ NICs can now happily use the card again PR: 21087 Submitted by: M. B. Buchanan <buchanan@orbitworld.net>
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index caa1bd2..9db8eb3 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -1428,7 +1428,7 @@ ed_probe_HP_pclanp(dev, port_rid, flags)
return ENXIO;
}
- return (ED_HPP_IO_PORTS);
+ return (0);
}
OpenPOWER on IntegriCloud