differentiate cmi8330 and als100 pnp cards based on their vendor id. this
is a kludge for 4.0
This commit is contained in:
parent
cabdf9cef3
commit
a05382d9ae
@ -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);
|
||||
}
|
||||
|
||||
|
@ -220,8 +220,13 @@ static int
|
||||
sbc_probe(device_t dev)
|
||||
{
|
||||
char *s = NULL;
|
||||
u_int32_t logical_id = isa_get_logicalid(dev);
|
||||
if (logical_id) {
|
||||
u_int32_t lid, vid;
|
||||
|
||||
lid = isa_get_logicalid(dev);
|
||||
vid = isa_get_vendorid(dev);
|
||||
if (lid) {
|
||||
if (lid == 0x01000000 && vid != 0x01009305) /* ALS0001 */
|
||||
return ENXIO;
|
||||
/* Check pnp ids */
|
||||
return ISA_PNP_PROBE(device_get_parent(dev), dev, sbc_ids);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user