]> err.no Git - linux-2.6/commit
[SCSI] megaraid: Use the proper type to hold the irq number.
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 25 Sep 2006 23:59:01 +0000 (16:59 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 26 Sep 2006 17:39:55 +0000 (10:39 -0700)
commitf5ebbeb57e4b57ac44f29ff9ec2ebde1401999d1
tree689b256141424360c2fc39921570310e7f56d764
parentd41ba22a6d330ab1e8d3adde7d2ce9349d4e4dc7
[SCSI] megaraid: Use the proper type to hold the irq number.

When testing on a Unisys machine it was discovered that the megaraid driver
would not initialize as it was requesting irq 162 instead of irq 1442 it
was assigned.  The problem was the irq number had been truncated by being
stored in an unsigned char.

This patches fixes that problem and the driver now appears to work.

The ioctl interface appears fundamentally broken as it exports the irq
number to user space in an unsigned char.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid/mega_common.h