This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / Documentation / cpqarray.txt
index c7154e2..d0e185f 100644 (file)
@@ -26,13 +26,31 @@ unable to test against these cards:
        * IDA-2
        * IAES
 
+Installing:
+-----------
+
+You need to build a new kernel to use this device, even if you want to
+use a loadable module.  
+
+Apply the patch to a 2.2.x kernel:
+
+# cd linux
+# patch -p1 <smart2.patch
+
+Then build a new kernel and turn on Compaq SMART2 Disk Array support.
+Create device nodes for the diskarray device:
+
+# mkdev.ida [ctlrs]
+
+Where ctlrs is the number of controllers you have (defaults to 1 if not
+specified).
 
 EISA Controllers:
 -----------------
 
 If you want to use an EISA controller you'll have to supply some
-modprobe/lilo parameters.  If the driver is compiled into the kernel, must
-give it the controller's IO port address at boot time (it is not
+insmod/lilo parameters.  If the driver is compiled into the kernel, must
+give it the controller's IO port address at boot time (it is no longer
 necessary to specify the IRQ).  For example, if you had two SMART-2/E
 controllers, in EISA slots 1 and 2 you'd give it a boot argument like
 this:
@@ -41,27 +59,29 @@ this:
 
 If you were loading the driver as a module, you'd give load it like this:
 
-       modprobe cpqarray eisa=0x1000,0x2000
+       insmod cpqarray.o eisa=0x1000,0x2000
 
 You can use EISA and PCI adapters at the same time.
 
+Booting:
+--------
+
+You'll need to use a modified lilo if you want to boot from a disk array.
+Its simply a version of lilo with some code added to tell it how to
+understand Compaq diskarray devices.
 
 Device Naming:
 --------------
 
-You need some entries in /dev for the ida device.  MAKEDEV in the /dev
-directory can make device nodes for you automatically.  The device setup is
-as follows:
+You need some entries in /dev for the ida device.  The mkdev.ida script
+can make device nodes for you automatically.  Currently the device setup
+is as follows:
 
 Major numbers:
        72      ida0
        73      ida1
        74      ida2
-       75      ida3
-       76      ida4
-       77      ida5
-       78      ida6
-       79      ida7
+       etc...
 
 Minor numbers:
         b7 b6 b5 b4 b3 b2 b1 b0
@@ -71,7 +91,7 @@ Minor numbers:
              |
              +-------------------- Logical Volume number
 
-The device naming scheme is:
+The suggested device naming scheme is:
 /dev/ida/c0d0          Controller 0, disk 0, whole device
 /dev/ida/c0d0p1                Controller 0, disk 0, partition 1
 /dev/ida/c0d0p2                Controller 0, disk 0, partition 2
@@ -81,13 +101,3 @@ The device naming scheme is:
 /dev/ida/c1d1p1                Controller 1, disk 1, partition 1
 /dev/ida/c1d1p2                Controller 1, disk 1, partition 2
 /dev/ida/c1d1p3                Controller 1, disk 1, partition 3
-
-
-Changelog:
-==========
-
-10-28-2004 :   General cleanup, syntax fixes for in-kernel driver version.
-               James Nelson <james4765@gmail.com>
-
-
-1999 :         Original Document