aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-03-08 03:14:30 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:16:09 -0500
commit7f101662dd55aa16852ff6228ac496f56a259f5e (patch)
tree74f5d279047890f21fd1c7cdcaf04fe3cf1cccf6 /drivers/scsi
parent69eb2ea47793366f59bfbc6e3c655b9c5047badd (diff)
[SCSI] drivers/scsi/FlashPoint.c: untypedef struct SCCBMgr_info
* struct SCCBMgr_info => struct sccb_mgr_info * PSCCBMGR_INFO => struct sccb_mgr_info * * SCCBMGR_INFO => struct sccb_mgr_info Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/FlashPoint.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index 88b7da371399..9969fef8fd52 100644
--- a/drivers/scsi/FlashPoint.c
+++ b/drivers/scsi/FlashPoint.c
@@ -57,7 +57,7 @@ struct sccb;
57typedef void (*CALL_BK_FN)(struct sccb *); 57typedef void (*CALL_BK_FN)(struct sccb *);
58 58
59 59
60typedef struct SCCBMgr_info { 60struct sccb_mgr_info {
61 unsigned long si_baseaddr; 61 unsigned long si_baseaddr;
62 unsigned char si_present; 62 unsigned char si_present;
63 unsigned char si_intvect; 63 unsigned char si_intvect;
@@ -79,9 +79,8 @@ typedef struct SCCBMgr_info {
79 unsigned char si_XlatInfo[4]; 79 unsigned char si_XlatInfo[4];
80 unsigned long si_reserved2[5]; 80 unsigned long si_reserved2[5];
81 unsigned long si_secondary_range; 81 unsigned long si_secondary_range;
82} SCCBMGR_INFO; 82};
83 83
84typedef SCCBMGR_INFO * PSCCBMGR_INFO;
85 84
86 85
87#define SCSI_PARITY_ENA 0x0001 86#define SCSI_PARITY_ENA 0x0001
@@ -309,7 +308,7 @@ typedef NVRAMINFO *PNVRamInfo;
309 308
310typedef struct SCCBcard { 309typedef struct SCCBcard {
311 struct sccb * currentSCCB; 310 struct sccb * currentSCCB;
312 PSCCBMGR_INFO cardInfo; 311 struct sccb_mgr_info * cardInfo;
313 312
314 unsigned long ioPort; 313 unsigned long ioPort;
315 314
@@ -1108,7 +1107,7 @@ static void (*FPT_s_PhaseTbl[8]) (unsigned long, unsigned char)= { 0 };
1108 * 1107 *
1109 *---------------------------------------------------------------------*/ 1108 *---------------------------------------------------------------------*/
1110 1109
1111static int FlashPoint_ProbeHostAdapter(PSCCBMGR_INFO pCardInfo) 1110static int FlashPoint_ProbeHostAdapter(struct sccb_mgr_info * pCardInfo)
1112{ 1111{
1113 static unsigned char first_time = 1; 1112 static unsigned char first_time = 1;
1114 1113
@@ -1386,7 +1385,7 @@ static int FlashPoint_ProbeHostAdapter(PSCCBMGR_INFO pCardInfo)
1386 * 1385 *
1387 *---------------------------------------------------------------------*/ 1386 *---------------------------------------------------------------------*/
1388 1387
1389static unsigned long FlashPoint_HardwareResetHostAdapter(PSCCBMGR_INFO pCardInfo) 1388static unsigned long FlashPoint_HardwareResetHostAdapter(struct sccb_mgr_info * pCardInfo)
1390{ 1389{
1391 PSCCBcard CurrCard = NULL; 1390 PSCCBcard CurrCard = NULL;
1392 PNVRamInfo pCurrNvRam; 1391 PNVRamInfo pCurrNvRam;
@@ -7788,14 +7787,14 @@ static unsigned char FPT_CalcLrc(unsigned char buffer[])
7788static inline unsigned char 7787static inline unsigned char
7789FlashPoint__ProbeHostAdapter(struct FlashPoint_Info *FlashPointInfo) 7788FlashPoint__ProbeHostAdapter(struct FlashPoint_Info *FlashPointInfo)
7790{ 7789{
7791 return FlashPoint_ProbeHostAdapter((PSCCBMGR_INFO) FlashPointInfo); 7790 return FlashPoint_ProbeHostAdapter((struct sccb_mgr_info *) FlashPointInfo);
7792} 7791}
7793 7792
7794 7793
7795static inline FlashPoint_CardHandle_T 7794static inline FlashPoint_CardHandle_T
7796FlashPoint__HardwareResetHostAdapter(struct FlashPoint_Info *FlashPointInfo) 7795FlashPoint__HardwareResetHostAdapter(struct FlashPoint_Info *FlashPointInfo)
7797{ 7796{
7798 return FlashPoint_HardwareResetHostAdapter((PSCCBMGR_INFO) FlashPointInfo); 7797 return FlashPoint_HardwareResetHostAdapter((struct sccb_mgr_info *) FlashPointInfo);
7799} 7798}
7800 7799
7801static inline void 7800static inline void