From 6d69b36945d97015c3eb50a5fb51c2a2489c7902 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 21 Jul 2004 20:38:12 +0000 Subject: [PATCH] It is a little better to return ENXIO from probe/match routine than EIO. --- sys/dev/ed/if_ed_pccard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 3770c89a1e76..a30a13791e8a 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); } /*