From c6a6193f79fdfbc06ad00aaf31ca21bd5bceeb5a Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 7 Oct 2002 06:35:04 +0000 Subject: [PATCH] Better comment for the product ID thing. --- sys/dev/pccard/pccard_cis.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c index 923f32e93e0..3ee3813f8fb 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);