diff options
author | imp <imp@FreeBSD.org> | 2005-11-19 23:26:57 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-11-19 23:26:57 +0000 |
commit | 2649691fbc4934d86581352971af1e15c1ea50ef (patch) | |
tree | 100db2d740ccbb2515840eb6d5b8c1b7eb5f1640 /sys/dev/fe | |
parent | 7fe698f6976536c85680aceafd4dbb94664ec9c9 (diff) | |
download | FreeBSD-src-2649691fbc4934d86581352971af1e15c1ea50ef.zip FreeBSD-src-2649691fbc4934d86581352971af1e15c1ea50ef.tar.gz |
Return 0 if we are a network card and do match. Previously, we'd bogusly
fail and the card wouldn't be detected.
Submitted by: Bryan Blackburn
Diffstat (limited to 'sys/dev/fe')
-rw-r--r-- | sys/dev/fe/if_fe_pccard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fe/if_fe_pccard.c b/sys/dev/fe/if_fe_pccard.c index 00b1fa4..ed0e001 100644 --- a/sys/dev/fe/if_fe_pccard.c +++ b/sys/dev/fe/if_fe_pccard.c @@ -106,6 +106,7 @@ fe_pccard_probe(device_t dev) return (error); if (fcn != PCCARD_FUNCTION_NETWORK) return (ENXIO); + return (0); } return (ENXIO); } |