diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2016-01-03 06:06:19 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 03:43:13 +0100 |
commit | c6084cbce435fbf800f47026896137b3bae483c3 (patch) | |
tree | 5409c66fdcfb657ab03f8f316f7c82f6248b170b /drivers/scsi/g_NCR5380.h | |
parent | ncr5380: Fix wait for 53C80 registers registers after PDMA (diff) | |
download | linux-c6084cbce435fbf800f47026896137b3bae483c3.tar.xz linux-c6084cbce435fbf800f47026896137b3bae483c3.zip |
ncr5380: Add support for HP C2502
HP C2502 cards (based on 53C400A chips) use different magic numbers for
software-based I/O address configuration than other cards.
The configuration is also extended to allow setting the IRQ.
Move the configuration to a new function magic_configure() and move
magic the magic numbers into an array. Add new magic numbers for these
HP cards and hp_c2502 module parameter to use them, e.g.:
modprobe g_NCR5380 ncr_irq=7 ncr_addr=0x280 hp_c2502=1
Tested with HP C2502 and DTCT-436P.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/g_NCR5380.h')
-rw-r--r-- | drivers/scsi/g_NCR5380.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/g_NCR5380.h b/drivers/scsi/g_NCR5380.h index 5ab64d96b576..6f3d2ac4f185 100644 --- a/drivers/scsi/g_NCR5380.h +++ b/drivers/scsi/g_NCR5380.h @@ -88,6 +88,7 @@ #define BOARD_NCR53C400 1 #define BOARD_NCR53C400A 2 #define BOARD_DTC3181E 3 +#define BOARD_HP_C2502 4 #endif /* GENERIC_NCR5380_H */ |