aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pccard
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-10-07 06:35:04 +0000
committerWarner Losh <imp@FreeBSD.org>2002-10-07 06:35:04 +0000
commitc6a6193f79fdfbc06ad00aaf31ca21bd5bceeb5a (patch)
tree697c1a86b88a4d7c7fbbe5eca08ddd916022d396 /sys/dev/pccard
parentda7b83f9ea70cd9426d730aac3f41cae7a975dd5 (diff)
Notes
Diffstat (limited to 'sys/dev/pccard')
-rw-r--r--sys/dev/pccard/pccard_cis.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c
index 923f32e93e03..3ee3813f8fb6 100644
--- a/sys/dev/pccard/pccard_cis.c
+++ b/sys/dev/pccard/pccard_cis.c
@@ -716,10 +716,13 @@ pccard_parse_cis_tuple(struct pccard_tuple *tuple, void *arg)
state->card->manufacturer = pccard_tuple_read_2(tuple, 0);
state->card->product = pccard_tuple_read_2(tuple, 2);
/*
- * This is for xe driver. But not better.
+ * This is for xe driver. But not limited to that driver.
* In PC Card Standard,
* Manufacturer ID: 2byte.
- * Product ID: 2byte usually, but no limited.
+ * Product ID: typically 2bytes, but there's no limit on its
+ * size. prodext is a two byte field, so maybe we should
+ * also handle the '6' case. So far no cards have surfaced
+ * with a length of '6'.
*/
if (tuple->length == 5 ) {
state->card->prodext = pccard_tuple_read_1(tuple, 4);