summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/cardbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cardbus/cardbus.c')
-rw-r--r--sys/dev/cardbus/cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index 5d19b6f2fa2..fd05e608d30 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cardbus.c,v 1.23 2005/08/22 18:00:37 fgsch Exp $ */
+/* $OpenBSD: cardbus.c,v 1.24 2005/09/05 20:25:27 fgsch Exp $ */
/* $NetBSD: cardbus.c,v 1.24 2000/04/02 19:11:37 mycroft Exp $ */
/*
@@ -299,7 +299,7 @@ parse_tuple(u_int8_t *tuple, int len, void *data)
char *p;
switch(tuple[0]) {
case PCMCIA_CISTPL_MANFID:
- if(tuple[1] != 5) {
+ if(tuple[1] < 4) {
DPRINTF(("%s: wrong length manufacturer id (%d)\n",
func, tuple[1]));
break;