Only treat positive values as errors...
Pointed out by: wsk Message-ID: <45060FC4.2090308@gddsn.org.cn>
This commit is contained in:
parent
eb84049d81
commit
140b3626da
@ -92,7 +92,7 @@ sio_pccard_attach(device_t dev)
|
||||
#endif
|
||||
/* Do not probe IRQ - pccard doesn't turn on the interrupt line */
|
||||
/* until bus_setup_intr */
|
||||
if ((err = sioprobe(dev, 0, 0UL, 1)) != 0)
|
||||
if ((err = sioprobe(dev, 0, 0UL, 1)) > 0)
|
||||
return (err);
|
||||
return (sioattach(dev, 0, 0UL));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user