]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ncr5380: Update usage documentation
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 23 Mar 2016 10:10:28 +0000 (21:10 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
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>
Documentation/scsi/g_NCR5380.txt
Documentation/scsi/scsi-parameters.txt
drivers/scsi/g_NCR5380.c

index 3b80f567f818d7fbf998af87214ca3bd59c0cc58..fd880150aeead89920e75758f7194a1ae48eee2d 100644 (file)
@@ -23,11 +23,10 @@ supported by the driver.
 
 If the default configuration does not work for you, you can use the kernel
 command lines (eg using the lilo append command):
-       ncr5380=port,irq,dma
-       ncr53c400=port,irq
-or
-       ncr5380=base,irq,dma
-       ncr53c400=base,irq
+       ncr5380=addr,irq
+       ncr53c400=addr,irq
+       ncr53c400a=addr,irq
+       dtc3181e=addr,irq
 
 The driver does not probe for any addresses or ports other than those in
 the OVERRIDE or given to the kernel as above.
@@ -36,19 +35,17 @@ This driver provides some information on what it has detected in
 /proc/scsi/g_NCR5380/x where x is the scsi card number as detected at boot
 time. More info to come in the future.
 
-When NCR53c400 support is compiled in, BIOS parameters will be returned by
-the driver (the raw 5380 driver does not and I don't plan to fiddle with
-it!).
-
 This driver works as a module.
 When included as a module, parameters can be passed on the insmod/modprobe
 command line:
   ncr_irq=xx   the interrupt
   ncr_addr=xx  the port or base address (for port or memory
                mapped, resp.)
-  ncr_dma=xx   the DMA
   ncr_5380=1   to set up for a NCR5380 board
   ncr_53c400=1 to set up for a NCR53C400 board
+  ncr_53c400a=1 to set up for a NCR53C400A board
+  dtc_3181e=1  to set up for a Domex Technology Corp 3181E board
+  hp_c2502=1   to set up for a Hewlett Packard C2502 board
 e.g.
 modprobe g_NCR5380 ncr_irq=5 ncr_addr=0x350 ncr_5380=1
   for a port mapped NCR5380 board or
index 2bfd6f6d2d3da16f8642afb479b2b06aba9b5e34..1241ac11edb17c3ba9b4f2dd70cbaecfa467f9f0 100644 (file)
@@ -27,13 +27,15 @@ parameters may be changed at runtime by the command
        aic79xx=        [HW,SCSI]
                        See Documentation/scsi/aic79xx.txt.
 
-       atascsi=        [HW,SCSI] Atari SCSI
+       atascsi=        [HW,SCSI]
+                       See drivers/scsi/atari_scsi.c.
 
        BusLogic=       [HW,SCSI]
                        See drivers/scsi/BusLogic.c, comment before function
                        BusLogic_ParseDriverOptions().
 
        dtc3181e=       [HW,SCSI]
+                       See Documentation/scsi/g_NCR5380.txt.
 
        eata=           [HW,SCSI]
 
@@ -51,8 +53,8 @@ parameters may be changed at runtime by the command
        ips=            [HW,SCSI] Adaptec / IBM ServeRAID controller
                        See header of drivers/scsi/ips.c.
 
-       mac5380=        [HW,SCSI] Format:
-                       <can_queue>,<cmd_per_lun>,<sg_tablesize>,<hostid>,<use_tags>
+       mac5380=        [HW,SCSI]
+                       See drivers/scsi/mac_scsi.c.
 
        max_luns=       [SCSI] Maximum number of LUNs to probe.
                        Should be between 1 and 2^32-1.
@@ -65,10 +67,13 @@ parameters may be changed at runtime by the command
                        See header of drivers/scsi/NCR_D700.c.
 
        ncr5380=        [HW,SCSI]
+                       See Documentation/scsi/g_NCR5380.txt.
 
        ncr53c400=      [HW,SCSI]
+                       See Documentation/scsi/g_NCR5380.txt.
 
        ncr53c400a=     [HW,SCSI]
+                       See Documentation/scsi/g_NCR5380.txt.
 
        ncr53c406a=     [HW,SCSI]
 
index 18f4a4f99336444dc27cd160f48e970943b95b21..516bd6c4f4425036cd7a7bd84ab1d1a1ef3643c7 100644 (file)
  *
  * Added ISAPNP support for DTC436 adapters,
  * Thomas Sailer, sailer@ife.ee.ethz.ch
- */
-
-/* 
- * TODO : flesh out DMA support, find some one actually using this (I have
- *     a memory mapped Trantor board that works fine)
- */
-
-/*
- * The card is detected and initialized in one of several ways : 
- * 1.  With command line overrides - NCR5380=port,irq may be 
- *     used on the LILO command line to override the defaults.
- *
- * 2.  With the GENERIC_NCR5380_OVERRIDE compile time define.  This is 
- *     specified as an array of address, irq, dma, board tuples.  Ie, for
- *     one board at 0x350, IRQ5, no dma, I could say  
- *     -DGENERIC_NCR5380_OVERRIDE={{0xcc000, 5, DMA_NONE, BOARD_NCR5380}}
- * 
- * -1 should be specified for no or DMA interrupt, -2 to autoprobe for an 
- *     IRQ line if overridden on the command line.
  *
- * 3.  When included as a module, with arguments passed on the command line:
- *         ncr_irq=xx  the interrupt
- *         ncr_addr=xx  the port or base address (for port or memory
- *                     mapped, resp.)
- *         ncr_dma=xx  the DMA
- *         ncr_5380=1  to set up for a NCR5380 board
- *         ncr_53c400=1        to set up for a NCR53C400 board
- *     e.g.
- *     modprobe g_NCR5380 ncr_irq=5 ncr_addr=0x350 ncr_5380=1
- *       for a port mapped NCR5380 board or
- *     modprobe g_NCR5380 ncr_irq=255 ncr_addr=0xc8000 ncr_53c400=1
- *       for a memory mapped NCR53C400 board with interrupts disabled.
- * 
- * 255 should be specified for no or DMA interrupt, 254 to autoprobe for an 
- *     IRQ line if overridden on the command line.
- *     
+ * See Documentation/scsi/g_NCR5380.txt for more info.
  */
 
 #include <asm/io.h>