summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-02-01 17:00:05 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-02-01 17:00:05 +0000
commit79debcbe44db2b01dcb69fddb4fb0aed9820ce37 (patch)
treecda942d831c58d38f7a67df106e1bd9d86e51158 /sys/dev
parentaeb58e0a93f739a35bb04528d00bb13005acec85 (diff)
sync with the new names; add support for a second model.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pcmcia/if_cnw.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c
index cc37e412c44..560317fa580 100644
--- a/sys/dev/pcmcia/if_cnw.c
+++ b/sys/dev/pcmcia/if_cnw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cnw.c,v 1.2 1999/08/24 07:11:09 fgsch Exp $ */
+/* $OpenBSD: if_cnw.c,v 1.3 2000/02/01 17:00:04 fgsch Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -358,8 +358,12 @@ cnw_match(parent, match, aux)
{
struct pcmcia_attach_args *pa = aux;
- return (pa->manufacturer == PCMCIA_VENDOR_XIRCOM &&
- pa->product == PCMCIA_PRODUCT_XIRCOM_XIR_CNW);
+ if (pa->manufacturer == PCMCIA_VENDOR_XIRCOM &&
+ pa->product == PCMCIA_PRODUCT_XIRCOM_XIR_CNW_801)
+ return 1;
+ if (pa->manufacturer == PCMCIA_VENDOR_XIRCOM &&
+ pa->product == PCMCIA_PRODUCT_XIRCOM_XIR_CNW_802)
+ return 1;
}