diff options
| author | Warner Losh <imp@FreeBSD.org> | 2015-12-11 05:27:56 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2015-12-11 05:27:56 +0000 |
| commit | f6cea53f9db2d88883ea7d7cee5fac10e186650b (patch) | |
| tree | 51c67d8f989abcf155937134d4d0168e42f113f9 /sys/dev/pccard | |
| parent | 493b2041d642a9449a0cfd800c68cc28acfddf8b (diff) | |
Notes
Diffstat (limited to 'sys/dev/pccard')
| -rw-r--r-- | sys/dev/pccard/pccardvar.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/pccard/pccardvar.h b/sys/dev/pccard/pccardvar.h index bef4a7c86eba..3bc27e352105 100644 --- a/sys/dev/pccard/pccardvar.h +++ b/sys/dev/pccard/pccardvar.h @@ -85,6 +85,16 @@ struct pccard_product { const char *pp_cis[4]; }; +/** + * Note: There's no cis3 or cis4 reported for NOMATCH / pnpinfo events for pccard + * It's unclear if we actually need that for automatic loading or not. These stirngs + * are informative, according to the standard, but I have a dim memory of using these + * strings to match things, though I can't find the example right now. + */ +#define PCCARD_PNP_DESCR "D:human;V32:manufacturer;V32:product;Z:cisvendor;Z:cisproduct;" +#define PCCARD_PNP_INFO(t) \ + MODULE_PNP_INFO(PCCARD_PNP_DESCR, pccard, t, t, sizeof(t[0]), sizeof(t) / sizeof(t[0])); \ + typedef int (*pccard_product_match_fn) (device_t dev, const struct pccard_product *ent, int vpfmatch); |
