Fix the xircom match routine. In it we were always return a match
when the base vendor/id didn't match. Some cards woudl bogusly match and would cause other downstream problems.
This commit is contained in:
parent
f35f3346a2
commit
d55dc24982
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148029
@ -259,6 +259,9 @@ xe_pccard_product_match(device_t dev, const struct pccard_product* ent, int vpfm
|
||||
const struct xe_pccard_product* xpp;
|
||||
uint16_t prodext;
|
||||
|
||||
if (vpfmatch == 0)
|
||||
return (0);
|
||||
|
||||
xpp = (const struct xe_pccard_product*)ent;
|
||||
pccard_get_prodext(dev, &prodext);
|
||||
if (xpp->prodext != prodext)
|
||||
|
Loading…
Reference in New Issue
Block a user