Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ncr5380: Update usage documentation

Update kernel parameter documentation for atari_scsi, mac_scsi and
g_NCR5380 drivers. Remove duplication.

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>

authored by

Finn Thain and committed by
Martin K. Petersen
9c41ab27 a46865dc

+16 -48
+7 -10
Documentation/scsi/g_NCR5380.txt
··· 23 23 24 24 If the default configuration does not work for you, you can use the kernel 25 25 command lines (eg using the lilo append command): 26 - ncr5380=port,irq,dma 27 - ncr53c400=port,irq 28 - or 29 - ncr5380=base,irq,dma 30 - ncr53c400=base,irq 26 + ncr5380=addr,irq 27 + ncr53c400=addr,irq 28 + ncr53c400a=addr,irq 29 + dtc3181e=addr,irq 31 30 32 31 The driver does not probe for any addresses or ports other than those in 33 32 the OVERRIDE or given to the kernel as above. ··· 35 36 /proc/scsi/g_NCR5380/x where x is the scsi card number as detected at boot 36 37 time. More info to come in the future. 37 38 38 - When NCR53c400 support is compiled in, BIOS parameters will be returned by 39 - the driver (the raw 5380 driver does not and I don't plan to fiddle with 40 - it!). 41 - 42 39 This driver works as a module. 43 40 When included as a module, parameters can be passed on the insmod/modprobe 44 41 command line: 45 42 ncr_irq=xx the interrupt 46 43 ncr_addr=xx the port or base address (for port or memory 47 44 mapped, resp.) 48 - ncr_dma=xx the DMA 49 45 ncr_5380=1 to set up for a NCR5380 board 50 46 ncr_53c400=1 to set up for a NCR53C400 board 47 + ncr_53c400a=1 to set up for a NCR53C400A board 48 + dtc_3181e=1 to set up for a Domex Technology Corp 3181E board 49 + hp_c2502=1 to set up for a Hewlett Packard C2502 board 51 50 e.g. 52 51 modprobe g_NCR5380 ncr_irq=5 ncr_addr=0x350 ncr_5380=1 53 52 for a port mapped NCR5380 board or
+8 -3
Documentation/scsi/scsi-parameters.txt
··· 27 27 aic79xx= [HW,SCSI] 28 28 See Documentation/scsi/aic79xx.txt. 29 29 30 - atascsi= [HW,SCSI] Atari SCSI 30 + atascsi= [HW,SCSI] 31 + See drivers/scsi/atari_scsi.c. 31 32 32 33 BusLogic= [HW,SCSI] 33 34 See drivers/scsi/BusLogic.c, comment before function 34 35 BusLogic_ParseDriverOptions(). 35 36 36 37 dtc3181e= [HW,SCSI] 38 + See Documentation/scsi/g_NCR5380.txt. 37 39 38 40 eata= [HW,SCSI] 39 41 ··· 53 51 ips= [HW,SCSI] Adaptec / IBM ServeRAID controller 54 52 See header of drivers/scsi/ips.c. 55 53 56 - mac5380= [HW,SCSI] Format: 57 - <can_queue>,<cmd_per_lun>,<sg_tablesize>,<hostid>,<use_tags> 54 + mac5380= [HW,SCSI] 55 + See drivers/scsi/mac_scsi.c. 58 56 59 57 max_luns= [SCSI] Maximum number of LUNs to probe. 60 58 Should be between 1 and 2^32-1. ··· 67 65 See header of drivers/scsi/NCR_D700.c. 68 66 69 67 ncr5380= [HW,SCSI] 68 + See Documentation/scsi/g_NCR5380.txt. 70 69 71 70 ncr53c400= [HW,SCSI] 71 + See Documentation/scsi/g_NCR5380.txt. 72 72 73 73 ncr53c400a= [HW,SCSI] 74 + See Documentation/scsi/g_NCR5380.txt. 74 75 75 76 ncr53c406a= [HW,SCSI] 76 77
+1 -35
drivers/scsi/g_NCR5380.c
··· 18 18 * 19 19 * Added ISAPNP support for DTC436 adapters, 20 20 * Thomas Sailer, sailer@ife.ee.ethz.ch 21 - */ 22 - 23 - /* 24 - * TODO : flesh out DMA support, find some one actually using this (I have 25 - * a memory mapped Trantor board that works fine) 26 - */ 27 - 28 - /* 29 - * The card is detected and initialized in one of several ways : 30 - * 1. With command line overrides - NCR5380=port,irq may be 31 - * used on the LILO command line to override the defaults. 32 21 * 33 - * 2. With the GENERIC_NCR5380_OVERRIDE compile time define. This is 34 - * specified as an array of address, irq, dma, board tuples. Ie, for 35 - * one board at 0x350, IRQ5, no dma, I could say 36 - * -DGENERIC_NCR5380_OVERRIDE={{0xcc000, 5, DMA_NONE, BOARD_NCR5380}} 37 - * 38 - * -1 should be specified for no or DMA interrupt, -2 to autoprobe for an 39 - * IRQ line if overridden on the command line. 40 - * 41 - * 3. When included as a module, with arguments passed on the command line: 42 - * ncr_irq=xx the interrupt 43 - * ncr_addr=xx the port or base address (for port or memory 44 - * mapped, resp.) 45 - * ncr_dma=xx the DMA 46 - * ncr_5380=1 to set up for a NCR5380 board 47 - * ncr_53c400=1 to set up for a NCR53C400 board 48 - * e.g. 49 - * modprobe g_NCR5380 ncr_irq=5 ncr_addr=0x350 ncr_5380=1 50 - * for a port mapped NCR5380 board or 51 - * modprobe g_NCR5380 ncr_irq=255 ncr_addr=0xc8000 ncr_53c400=1 52 - * for a memory mapped NCR53C400 board with interrupts disabled. 53 - * 54 - * 255 should be specified for no or DMA interrupt, 254 to autoprobe for an 55 - * IRQ line if overridden on the command line. 56 - * 22 + * See Documentation/scsi/g_NCR5380.txt for more info. 57 23 */ 58 24 59 25 #include <asm/io.h>