diff options
author | <jgarzik@pretzel.yyz.us> | 2005-05-26 13:03:24 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-26 13:03:24 -0400 |
commit | 8973a585aec125beb2a3de50bb491004299f53d5 (patch) | |
tree | 3f069a9c7eff2c916e02427fd9800ce2b55a4a90 /drivers/serial/serial_cs.c | |
parent | 907f4678c114a125fe4584758681c31bf3d627da (diff) | |
parent | bef9c558841604116704e10b3d9ff3dbf4939423 (diff) |
Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git branch HEAD
Diffstat (limited to 'drivers/serial/serial_cs.c')
-rw-r--r-- | drivers/serial/serial_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c index 6eeb48f6a482..0d7b65f93e8d 100644 --- a/drivers/serial/serial_cs.c +++ b/drivers/serial/serial_cs.c | |||
@@ -661,10 +661,10 @@ void serial_config(dev_link_t * link) | |||
661 | /* Is this a multiport card? */ | 661 | /* Is this a multiport card? */ |
662 | tuple->DesiredTuple = CISTPL_MANFID; | 662 | tuple->DesiredTuple = CISTPL_MANFID; |
663 | if (first_tuple(handle, tuple, parse) == CS_SUCCESS) { | 663 | if (first_tuple(handle, tuple, parse) == CS_SUCCESS) { |
664 | info->manfid = le16_to_cpu(buf[0]); | 664 | info->manfid = parse->manfid.manf; |
665 | for (i = 0; i < MULTI_COUNT; i++) | 665 | for (i = 0; i < MULTI_COUNT; i++) |
666 | if ((info->manfid == multi_id[i].manfid) && | 666 | if ((info->manfid == multi_id[i].manfid) && |
667 | (le16_to_cpu(buf[1]) == multi_id[i].prodid)) | 667 | (parse->manfid.card == multi_id[i].prodid)) |
668 | break; | 668 | break; |
669 | if (i < MULTI_COUNT) | 669 | if (i < MULTI_COUNT) |
670 | info->multi = multi_id[i].multi; | 670 | info->multi = multi_id[i].multi; |