diff --git a/sys/dev/pbio/pbio.c b/sys/dev/pbio/pbio.c index 84b883da1bc6..e4c2b0ea185d 100644 --- a/sys/dev/pbio/pbio.c +++ b/sys/dev/pbio/pbio.c @@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$"); #include /* pbio IOCTL definitions */ #include #include +#include /* Function prototypes (these should all be static) */ static d_open_t pbioopen; @@ -168,6 +169,8 @@ pbioprobe(device_t dev) unsigned char val; #endif + if (isa_get_logicalid(dev)) /* skip PnP probes */ + return (ENXIO); rid = 0; scp->res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, IO_PBIOSIZE, RF_ACTIVE);