summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-05-22 11:04:51 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-05-22 11:04:51 +0000
commit6a93d2191c7a713bc5a0cd7e17b86e7c255c88aa (patch)
tree6d59c093c0885c6a5dbb5c5131bfe42263d92a42 /sys/dev
parent9056bf32b2ae025536fbb84aa218a00e205d3e72 (diff)
Vendor and prodid are 16-bits, not 32.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pcmcia/if_awi_pcmcia.c6
-rw-r--r--sys/dev/pcmcia/if_wi_pcmcia.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pcmcia/if_awi_pcmcia.c b/sys/dev/pcmcia/if_awi_pcmcia.c
index 99f84f5076f..34a88f90f3d 100644
--- a/sys/dev/pcmcia/if_awi_pcmcia.c
+++ b/sys/dev/pcmcia/if_awi_pcmcia.c
@@ -1,5 +1,5 @@
/* $NetBSD: if_awi_pcmcia.c,v 1.13 2000/03/22 11:22:20 onoe Exp $ */
-/* $OpenBSD: if_awi_pcmcia.c,v 1.7 2001/01/26 20:08:51 mickey Exp $ */
+/* $OpenBSD: if_awi_pcmcia.c,v 1.8 2001/05/22 11:04:50 fgsch Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -111,8 +111,8 @@ struct cfattach awi_pcmcia_ca = {
};
static struct awi_pcmcia_product {
- u_int32_t app_vendor; /* vendor ID */
- u_int32_t app_product; /* product ID */
+ u_int16_t app_vendor; /* vendor ID */
+ u_int16_t app_product; /* product ID */
const char *app_cisinfo[4]; /* CIS information */
const char *app_name; /* product name */
} awi_pcmcia_products[] = {
diff --git a/sys/dev/pcmcia/if_wi_pcmcia.c b/sys/dev/pcmcia/if_wi_pcmcia.c
index 7bfb262a24f..00b06b02d8a 100644
--- a/sys/dev/pcmcia/if_wi_pcmcia.c
+++ b/sys/dev/pcmcia/if_wi_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_pcmcia.c,v 1.1 2001/05/15 02:40:35 millert Exp $ */
+/* $OpenBSD: if_wi_pcmcia.c,v 1.2 2001/05/22 11:04:50 fgsch Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -92,8 +92,8 @@ struct cfattach wi_pcmcia_ca = {
};
static const struct wi_pcmcia_product {
- u_int32_t pp_vendor;
- u_int32_t pp_product;
+ u_int16_t pp_vendor;
+ u_int16_t pp_product;
const char *pp_cisinfo[4];
const char *pp_name;
int pp_prism2;