diff options
author | imp <imp@FreeBSD.org> | 2004-07-21 20:38:12 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-07-21 20:38:12 +0000 |
commit | d7343d0e328a6166b38eec1e02e3f4781d0ae25b (patch) | |
tree | 7cc0241360afd4e6e6fc383cf1182e984184aa8a /sys | |
parent | 695543e4da52de37acbefbb1254b7aae54bd0709 (diff) | |
download | FreeBSD-src-d7343d0e328a6166b38eec1e02e3f4781d0ae25b.zip FreeBSD-src-d7343d0e328a6166b38eec1e02e3f4781d0ae25b.tar.gz |
It is a little better to return ENXIO from probe/match routine than EIO.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ed/if_ed_pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 3770c89..a30a137 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -203,7 +203,7 @@ ed_pccard_match(device_t dev) device_set_flags(dev, ED_FLAGS_AX88190); return (0); } - return (EIO); + return (ENXIO); } /* |