summaryrefslogtreecommitdiffstats
path: root/sys/dev/xe
diff options
context:
space:
mode:
authorrsm <rsm@FreeBSD.org>2004-04-11 16:34:29 +0000
committerrsm <rsm@FreeBSD.org>2004-04-11 16:34:29 +0000
commit8c727ff7fc3a5068c52c862092232f4063dca645 (patch)
treeb63d5107e2ee0ec6e2e55e3ed9a70bdfd7ba5594 /sys/dev/xe
parent64b26340c271da7b68ca5fcf83a9ac50595eab0c (diff)
downloadFreeBSD-src-8c727ff7fc3a5068c52c862092232f4063dca645.zip
FreeBSD-src-8c727ff7fc3a5068c52c862092232f4063dca645.tar.gz
Stop xe claiming ownership of every card passed to xe_pccard_match.
Found by: Pete Carss <itinerant at mac dot com> Reviewed by: imp (mentor) Pointy hat to: rsm
Diffstat (limited to 'sys/dev/xe')
-rw-r--r--sys/dev/xe/if_xe_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xe/if_xe_pccard.c b/sys/dev/xe/if_xe_pccard.c
index 0704e1d..9c3cf8b 100644
--- a/sys/dev/xe/if_xe_pccard.c
+++ b/sys/dev/xe/if_xe_pccard.c
@@ -408,7 +408,7 @@ xe_pccard_product_match(device_t dev, const struct pccard_product* ent, int vpfm
pccard_get_prodext(dev, &prodext);
if (xpp->prodext != prodext)
- vpfmatch--;
+ vpfmatch = 0;
return (vpfmatch);
}
OpenPOWER on IntegriCloud