aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/FlashPoint.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-03-13 08:55:08 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:15:44 -0400
commit78b4b05db57b04b3ed17dc71259bf1402c04abfa (patch)
tree9d3100ad64dec6c5c3a9aa718682e13e3345c4d3 /drivers/scsi/FlashPoint.c
parent5c815d1501a9ce84578cb3ec64c9d31ef91e3de2 (diff)
[SCSI] BusLogic: make FlashPoint support x86-32 only
We've verified that there are 64 bit and endianness problems in the flashpoint driver. Reverse the logic of CONFIG_OMIT_FLASHPOINT (make it CONFIG_SCSI_FLASHPOINT) and make it depend on X86_32 so it can't appear for any other architectures. Long term, if someone chooses, they could make FlashPoint 64 bit compliant (it looks like its a question of fixing up the sizes in some of the packed descriptors) Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/FlashPoint.c')
-rw-r--r--drivers/scsi/FlashPoint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c
index 1c9078191d9e..b374e457e5e2 100644
--- a/drivers/scsi/FlashPoint.c
+++ b/drivers/scsi/FlashPoint.c
@@ -16,7 +16,7 @@
16*/ 16*/
17 17
18 18
19#ifndef CONFIG_SCSI_OMIT_FLASHPOINT 19#ifdef CONFIG_SCSI_FLASHPOINT
20 20
21#define MAX_CARDS 8 21#define MAX_CARDS 8
22#undef BUSTYPE_PCI 22#undef BUSTYPE_PCI
@@ -7626,7 +7626,7 @@ FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle)
7626#define FlashPoint_InterruptPending FlashPoint__InterruptPending 7626#define FlashPoint_InterruptPending FlashPoint__InterruptPending
7627#define FlashPoint_HandleInterrupt FlashPoint__HandleInterrupt 7627#define FlashPoint_HandleInterrupt FlashPoint__HandleInterrupt
7628 7628
7629#else /* CONFIG_SCSI_OMIT_FLASHPOINT */ 7629#else /* !CONFIG_SCSI_FLASHPOINT */
7630 7630
7631/* 7631/*
7632 Define prototypes for the FlashPoint SCCB Manager Functions. 7632 Define prototypes for the FlashPoint SCCB Manager Functions.
@@ -7641,4 +7641,4 @@ extern bool FlashPoint_InterruptPending(FlashPoint_CardHandle_T);
7641extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T); 7641extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T);
7642extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T); 7642extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T);
7643 7643
7644#endif /* CONFIG_SCSI_OMIT_FLASHPOINT */ 7644#endif /* CONFIG_SCSI_FLASHPOINT */