diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-06-17 05:09:25 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:02:28 -0400 |
commit | aca794ddd688f1bbb7551f569b0620255c052d80 (patch) | |
tree | 4d840152a8958ecd585b896cc59b99a2bb7c4bf0 /drivers/message/fusion/mptbase.h | |
parent | 4d0695664ed8e168f97cce86289d0c5fab35b067 (diff) |
[SCSI] mptfusion: Corrected declaration of device_missing_delay
device missing delay is 8 bit value in io unit pg1. Making correct variable
declaration for device_missing_delay.
The driver is storing the calculated device missing delay in IOC structure
as a u8 instead of a u16. It needs to be a u16 if the delay is > 255.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index b613eb3d4706..453bcb7d6b5e 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -601,7 +601,7 @@ typedef struct _MPT_ADAPTER | |||
601 | u16 nvdata_version_default; | 601 | u16 nvdata_version_default; |
602 | int debug_level; | 602 | int debug_level; |
603 | u8 io_missing_delay; | 603 | u8 io_missing_delay; |
604 | u8 device_missing_delay; | 604 | u16 device_missing_delay; |
605 | SYSIF_REGS __iomem *chip; /* == c8817000 (mmap) */ | 605 | SYSIF_REGS __iomem *chip; /* == c8817000 (mmap) */ |
606 | SYSIF_REGS __iomem *pio_chip; /* Programmed IO (downloadboot) */ | 606 | SYSIF_REGS __iomem *pio_chip; /* Programmed IO (downloadboot) */ |
607 | u8 bus_type; | 607 | u8 bus_type; |