Only treat positive values as errors...
Pointed out by: wsk Message-ID: <45060FC4.2090308@gddsn.org.cn>
This commit is contained in:
parent
e2e1ab1c94
commit
9773a00fa7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162294
@ -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…
Reference in New Issue
Block a user