diff options
| author | Tony Luck <tony.luck@intel.com> | 2005-05-17 18:53:14 -0400 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2005-05-17 18:53:14 -0400 |
| commit | 325a479c4c110db278ef3361460a48c4093252cc (patch) | |
| tree | bcfbf4d0647d9442045639a5c19da59d55190e81 /drivers/scsi/pas16.c | |
| parent | ebcc80c1b6629a445f7471cc1ddb48faf8a84e70 (diff) | |
| parent | 7f9eaedf894dbaa08c157832e9a6c9c03ffed1ed (diff) | |
Merge with temp tree to get David's gdb inferior calls patch
Diffstat (limited to 'drivers/scsi/pas16.c')
| -rw-r--r-- | drivers/scsi/pas16.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c index e70dedb0d0a5..7976947c0322 100644 --- a/drivers/scsi/pas16.c +++ b/drivers/scsi/pas16.c | |||
| @@ -137,7 +137,7 @@ static unsigned short pas16_addr = 0; | |||
| 137 | static int pas16_irq = 0; | 137 | static int pas16_irq = 0; |
| 138 | 138 | ||
| 139 | 139 | ||
| 140 | int scsi_irq_translate[] = | 140 | static const int scsi_irq_translate[] = |
| 141 | { 0, 0, 1, 2, 3, 4, 5, 6, 0, 0, 7, 8, 9, 0, 10, 11 }; | 141 | { 0, 0, 1, 2, 3, 4, 5, 6, 0, 0, 7, 8, 9, 0, 10, 11 }; |
| 142 | 142 | ||
| 143 | /* The default_irqs array contains values used to set the irq into the | 143 | /* The default_irqs array contains values used to set the irq into the |
| @@ -145,7 +145,7 @@ int scsi_irq_translate[] = | |||
| 145 | * irq jumpers on the board). The first value in the array will be | 145 | * irq jumpers on the board). The first value in the array will be |
| 146 | * assigned to logical board 0, the next to board 1, etc. | 146 | * assigned to logical board 0, the next to board 1, etc. |
| 147 | */ | 147 | */ |
| 148 | int default_irqs[] __initdata = | 148 | static int default_irqs[] __initdata = |
| 149 | { PAS16_DEFAULT_BOARD_1_IRQ, | 149 | { PAS16_DEFAULT_BOARD_1_IRQ, |
| 150 | PAS16_DEFAULT_BOARD_2_IRQ, | 150 | PAS16_DEFAULT_BOARD_2_IRQ, |
| 151 | PAS16_DEFAULT_BOARD_3_IRQ, | 151 | PAS16_DEFAULT_BOARD_3_IRQ, |
| @@ -177,7 +177,7 @@ static struct base { | |||
| 177 | 177 | ||
| 178 | #define NO_BASES (sizeof (bases) / sizeof (struct base)) | 178 | #define NO_BASES (sizeof (bases) / sizeof (struct base)) |
| 179 | 179 | ||
| 180 | unsigned short pas16_offset[ 8 ] = | 180 | static const unsigned short pas16_offset[ 8 ] = |
| 181 | { | 181 | { |
| 182 | 0x1c00, /* OUTPUT_DATA_REG */ | 182 | 0x1c00, /* OUTPUT_DATA_REG */ |
| 183 | 0x1c01, /* INITIATOR_COMMAND_REG */ | 183 | 0x1c01, /* INITIATOR_COMMAND_REG */ |
