Skip to contentSkip to conversation

[2.4.23] Medley RAID driver

PATCH New Thomas Horsten 1 participant 1 message Oct 13, 2003 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.4.23] Medley RAID driver

Linus, Marcelo:

This is my Medley ATARAID driver. I would like it included it in 2.4.24 if you approve (Andre Hedrick has approved it). It detects Medley BIOS RAID's as used by Silicon Image and CMD controllers, but only supports striped mode for now. It has been tested by a number of people and I've only had positive reports (see http://www.infowares.com/linux/). It detects many arrays that the current driver (silraid.c) fails to detect, and follows the specs from CMD for this BIOS RAID.

I am working on a driver for 2.6.0 that uses the MD framework instead. but for now this is a working alternative.

The patch:

Documentation/Configure.help +31 -0
diff -u --recursive --new-file linux-2.4.23-pre7/Documentation/Configure.help linux-2.4.23-pre7-medley/Documentation/Configure.help
@@ -2074,6 +2074,37 @@
   If you choose to compile this as a module, the module will be called
   hptraid.o.
 
+CMD/Silicon Image Medley Software RAID
+CONFIG_BLK_DEV_ATARAID_MEDLEY
+  Say Y or M if you have a Silicon Image 3112 SATA RAID controller, a
+  CMD680 based controller, or another IDE RAID controller that uses
+  CMD's Medley software RAID, and want Linux to use the software RAID
+  feature of this card.  This driver uses /dev/ataraid/dXpY (X and Y
+  numbers) as device names. It has been reported to work on a number
+  of systems using the Medley RAID.
+
+  This driver only supports RAID0 (striped) mode, so if you are using
+  mirroring this will not work for you.
+
+  You may want to try the Silicon Image Medley Software RAID driver if
+  this does not work for you.
+
+  If you choose to compile this as a module, the module will be called
+  medley.o.
+
+Silicon Image Medley Software RAID
+CONFIG_BLK_DEV_ATARAID_SII
+  Say Y or M if you have a Silicon Image SATARaid controller
+  and want linux to use the softwareraid feature of this card.
+  This driver uses /dev/ataraid/dXpY (X and Y numbers) as device
+  names.
+
+  This driver is not working on all systems. Please try the Medley
+  RAID driver instead, which is based on the specifications from CMD.
+
+  If you choose to compile this as a module, the module will be called
+  silraid.o.
+
 Support for Acer PICA 1 chipset
 CONFIG_ACER_PICA_61
   This is a machine with a R4400 133/150 MHz CPU. To compile a Linux
drivers/ide/Config.in +1 -0
diff -u --recursive --new-file linux-2.4.23-pre7/drivers/ide/Config.in linux-2.4.23-pre7-medley/drivers/ide/Config.in
@@ -222,6 +222,7 @@
 dep_tristate 'Support for IDE Raid controllers (EXPERIMENTAL)' CONFIG_BLK_DEV_ATARAID $CONFIG_BLK_DEV_IDE $CONFIG_EXPERIMENTAL
 dep_tristate '   Support Promise software RAID (Fasttrak(tm)) (EXPERIMENTAL)' CONFIG_BLK_DEV_ATARAID_PDC $CONFIG_BLK_DEV_IDE $CONFIG_EXPERIMENTAL $CONFIG_BLK_DEV_ATARAID
 dep_tristate '   Highpoint 370 software RAID (EXPERIMENTAL)' CONFIG_BLK_DEV_ATARAID_HPT $CONFIG_BLK_DEV_IDE $CONFIG_EXPERIMENTAL $CONFIG_BLK_DEV_ATARAID
+dep_tristate '   CMD/Silicon Image Medley Software RAID (EXPERIMENTAL)' CONFIG_BLK_DEV_ATARAID_MEDLEY $CONFIG_BLK_DEV_IDE $CONFIG_EXPERIMENTAL $CONFIG_BLK_DEV_ATARAID
 dep_tristate '   Silicon Image Medley software RAID (EXPERIMENTAL)' CONFIG_BLK_DEV_ATARAID_SII $CONFIG_BLK_DEV_IDE $CONFIG_EXPERIMENTAL $CONFIG_BLK_DEV_ATARAID
 
 endmenu
drivers/ide/raid/Makefile +1 -0
diff -u --recursive --new-file linux-2.4.23-pre7/drivers/ide/raid/Makefile linux-2.4.23-pre7-medley/drivers/ide/raid/Makefile
@@ -12,6 +12,7 @@
 obj-$(CONFIG_BLK_DEV_ATARAID)		+= ataraid.o
 obj-$(CONFIG_BLK_DEV_ATARAID_PDC)	+= pdcraid.o
 obj-$(CONFIG_BLK_DEV_ATARAID_HPT)	+= hptraid.o
+obj-$(CONFIG_BLK_DEV_ATARAID_MEDLEY)	+= medley.o
 obj-$(CONFIG_BLK_DEV_ATARAID_SII)	+= silraid.o
 
 EXTRA_CFLAGS	:= -I../
drivers/ide/raid/medley.c +704 -0

704 lines not on this page · raw message