summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-09 03:54:02 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-08-09 03:54:02 +0000
commit01f61221078f570705ad22032827c1cb44ef0aac (patch)
tree20b6290ad23861b96753b64c76f6d1072f24ec4d /sys
parent49f68e52b1621a5aa3cbe74db09f8e07ecf975da (diff)
XEF_CE3 cards w/o modem are XEF_MOHAWK too.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pcmcia/if_xe.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c
index 5c1b02bf9db..1368fe6434f 100644
--- a/sys/dev/pcmcia/if_xe.c
+++ b/sys/dev/pcmcia/if_xe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xe.c,v 1.6 1999/08/08 21:44:43 niklas Exp $ */
+/* $OpenBSD: if_xe.c,v 1.7 1999/08/09 03:54:01 fgsch Exp $ */
/*
* Copyright (c) 1999 Niklas Hallqvist, C Stone, Job de Haas
@@ -620,10 +620,8 @@ xe_pcmcia_manfid_ciscallback(tuple, arg)
*flagsp |= XEF_CE2;
break;
case 3:
- /*
- * XXX Linux driver suggests this can be Mohawk if
- * there is no modem function on the card.
- */
+ if (!(*flagsp & XEF_MODEM))
+ *flagsp |= XEF_MOHAWK;
*flagsp |= XEF_CE3;
break;
case 4: