lkml.org 
[lkml]   [2006]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/2] cciss: version update, new hw
PATCH 1 of 2

This patch adds support for new hardware and bumps the version to 3.6.10. It
seems there were several changes introduced including soft_irq. I decided
to bump the major number to reflect these changes. Since we're still
supporting older vendor kernels I need some way differenciate between kernel
versions <=2.6.10 and newer kernels >=2.6.16.
I hate to send this in -rc6 but it seems like 2.6.18 is having a tough time
getting out the gate. Please consider this for inclusion.

Signed-off-by: Mike Miller <mike.miller@hp.com>

Documentation/cciss.txt | 1 +
drivers/block/cciss.c | 10 ++++++----
2 files changed, 7 insertions(+), 4 deletions(-)
--------------------------------------------------------------------------------
diff -urNp linux-2.6.18-rc6.orig/Documentation/cciss.txt linux-2.6.18-rc6-p0001/Documentation/cciss.txt
--- linux-2.6.18-rc6.orig/Documentation/cciss.txt 2006-06-17 20:49:35.000000000 -0500
+++ linux-2.6.18-rc6-p0001/Documentation/cciss.txt 2006-09-11 14:29:43.000000000 -0500
@@ -20,6 +20,7 @@ This driver is known to work with the fo
* SA P400i
* SA E200
* SA E200i
+ * SA E500

If nodes are not already created in the /dev/cciss directory, run as root:

diff -urNp linux-2.6.18-rc6.orig/drivers/block/cciss.c linux-2.6.18-rc6-p0001/drivers/block/cciss.c
--- linux-2.6.18-rc6.orig/drivers/block/cciss.c 2006-09-11 11:19:34.000000000 -0500
+++ linux-2.6.18-rc6-p0001/drivers/block/cciss.c 2006-09-11 14:35:35.000000000 -0500
@@ -48,14 +48,14 @@
#include <linux/completion.h>

#define CCISS_DRIVER_VERSION(maj,min,submin) ((maj<<16)|(min<<8)|(submin))
-#define DRIVER_NAME "HP CISS Driver (v 2.6.10)"
-#define DRIVER_VERSION CCISS_DRIVER_VERSION(2,6,10)
+#define DRIVER_NAME "HP CISS Driver (v 3.6.10)"
+#define DRIVER_VERSION CCISS_DRIVER_VERSION(3,6,10)

/* Embedded module documentation macros - see modules.h */
MODULE_AUTHOR("Hewlett-Packard Company");
-MODULE_DESCRIPTION("Driver for HP Controller SA5xxx SA6xxx version 2.6.10");
+MODULE_DESCRIPTION("Driver for HP Controller SA5xxx SA6xxx version 3.6.10");
MODULE_SUPPORTED_DEVICE("HP SA5i SA5i+ SA532 SA5300 SA5312 SA641 SA642 SA6400"
- " SA6i P600 P800 P400 P400i E200 E200i");
+ " SA6i P600 P800 P400 P400i E200 E200i E500");
MODULE_LICENSE("GPL");

#include "cciss_cmd.h"
@@ -82,6 +82,7 @@ static const struct pci_device_id cciss_
{PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSD, 0x103C, 0x3213},
{PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSD, 0x103C, 0x3214},
{PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSD, 0x103C, 0x3215},
+ {PCI_VENDOR_ID_HP, PCI_DEVICE_ID_HP_CISSC, 0x103C, 0x3233},
{0,}
};

@@ -110,6 +111,7 @@ static struct board_type products[] = {
{0x3213103C, "Smart Array E200i", &SA5_access},
{0x3214103C, "Smart Array E200i", &SA5_access},
{0x3215103C, "Smart Array E200i", &SA5_access},
+ {0x3233103C, "Smart Array E500", &SA5_access},
};

/* How long to wait (in milliseconds) for board to go into simple mode */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-09-11 23:33    [W:0.044 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site