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
This commit is contained in:
Warner Losh 2005-11-19 23:26:57 +00:00
parent 60b7823989
commit e2bf685dd4

View File

@ -106,6 +106,7 @@ fe_pccard_probe(device_t dev)
return (error);
if (fcn != PCCARD_FUNCTION_NETWORK)
return (ENXIO);
return (0);
}
return (ENXIO);
}