summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa/mss.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/isa/mss.c')
-rw-r--r--sys/dev/sound/isa/mss.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c
index c7db5b8..6a1a3ed 100644
--- a/sys/dev/sound/isa/mss.c
+++ b/sys/dev/sound/isa/mss.c
@@ -1343,6 +1343,12 @@ static struct isa_pnp_id pnpmss_ids[] = {
static int
pnpmss_probe(device_t dev)
{
+ u_int32_t lid, vid;
+
+ lid = isa_get_logicalid(dev);
+ vid = isa_get_vendorid(dev);
+ if (lid == 0x01000000 && vid != 0x0100a90d) /* CMI0001 */
+ return ENXIO;
return ISA_PNP_PROBE(device_get_parent(dev), dev, pnpmss_ids);
}
OpenPOWER on IntegriCloud