summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard/pccardvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-01-21 08:09:00 +0000
committerimp <imp@FreeBSD.org>2001-01-21 08:09:00 +0000
commit83ca21a6607ff254bcfa6b28afe8660f7629eb39 (patch)
treedefb593a7bcadb6598244ece15b8a682ff754772 /sys/dev/pccard/pccardvar.h
parent0f92919216bf30ceb87e24bc4dd8e9aa5c539e12 (diff)
downloadFreeBSD-src-83ca21a6607ff254bcfa6b28afe8660f7629eb39.zip
FreeBSD-src-83ca21a6607ff254bcfa6b28afe8660f7629eb39.tar.gz
Convert the vendor/product cis strings to an array of CIS entries. This
allows us to use the PCCARD_CIS #defines generated to distinguish cards that don't have a Manufacturer and OEM.
Diffstat (limited to 'sys/dev/pccard/pccardvar.h')
-rw-r--r--sys/dev/pccard/pccardvar.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pccard/pccardvar.h b/sys/dev/pccard/pccardvar.h
index e5117cc..7e66e62 100644
--- a/sys/dev/pccard/pccardvar.h
+++ b/sys/dev/pccard/pccardvar.h
@@ -214,8 +214,7 @@ struct pccard_product {
#define PCCARD_PRODUCT_ANY ((u_int32_t) -1)
u_int32_t pp_product;
int pp_expfunc;
- const char *pp_vendor_str; /* NULL to not match */
- const char *pp_product_str; /* NULL to not match */
+ const char *pp_cis[4];
};
typedef int (*pccard_product_match_fn) (device_t dev,
OpenPOWER on IntegriCloud