aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r--drivers/scsi/megaraid.c27
1 files changed, 9 insertions, 18 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 578143e93a6f..4a6feb1e5e3d 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -2,7 +2,7 @@
2 * 2 *
3 * Linux MegaRAID device driver 3 * Linux MegaRAID device driver
4 * 4 *
5 * Copyright © 2002 LSI Logic Corporation. 5 * Copyright (c) 2002 LSI Logic Corporation.
6 * 6 *
7 * This program is free software; you can redistribute it and/or 7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License 8 * modify it under the terms of the GNU General Public License
@@ -17,7 +17,8 @@
17 * Copyright (c) 2003 Christoph Hellwig <hch@lst.de> 17 * Copyright (c) 2003 Christoph Hellwig <hch@lst.de>
18 * - new-style, hotplug-aware pci probing and scsi registration 18 * - new-style, hotplug-aware pci probing and scsi registration
19 * 19 *
20 * Version : v2.00.3 (Feb 19, 2003) - Atul Mukker <Atul.Mukker@lsil.com> 20 * Version : v2.00.4 Mon Nov 14 14:02:43 EST 2005 - Seokmann Ju
21 * <Seokmann.Ju@lsil.com>
21 * 22 *
22 * Description: Linux device driver for LSI Logic MegaRAID controller 23 * Description: Linux device driver for LSI Logic MegaRAID controller
23 * 24 *
@@ -51,10 +52,10 @@
51 52
52#include "megaraid.h" 53#include "megaraid.h"
53 54
54#define MEGARAID_MODULE_VERSION "2.00.3" 55#define MEGARAID_MODULE_VERSION "2.00.4"
55 56
56MODULE_AUTHOR ("LSI Logic Corporation"); 57MODULE_AUTHOR ("sju@lsil.com");
57MODULE_DESCRIPTION ("LSI Logic MegaRAID driver"); 58MODULE_DESCRIPTION ("LSI Logic MegaRAID legacy driver");
58MODULE_LICENSE ("GPL"); 59MODULE_LICENSE ("GPL");
59MODULE_VERSION(MEGARAID_MODULE_VERSION); 60MODULE_VERSION(MEGARAID_MODULE_VERSION);
60 61
@@ -4553,7 +4554,7 @@ mega_internal_done(Scsi_Cmnd *scmd)
4553static struct scsi_host_template megaraid_template = { 4554static struct scsi_host_template megaraid_template = {
4554 .module = THIS_MODULE, 4555 .module = THIS_MODULE,
4555 .name = "MegaRAID", 4556 .name = "MegaRAID",
4556 .proc_name = "megaraid", 4557 .proc_name = "megaraid_legacy",
4557 .info = megaraid_info, 4558 .info = megaraid_info,
4558 .queuecommand = megaraid_queue, 4559 .queuecommand = megaraid_queue,
4559 .bios_param = megaraid_biosparam, 4560 .bios_param = megaraid_biosparam,
@@ -5037,22 +5038,12 @@ megaraid_shutdown(struct pci_dev *pdev)
5037} 5038}
5038 5039
5039static struct pci_device_id megaraid_pci_tbl[] = { 5040static struct pci_device_id megaraid_pci_tbl[] = {
5040 {PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DISCOVERY,
5041 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
5042 {PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_PERC4_DI,
5043 PCI_ANY_ID, PCI_ANY_ID, 0, 0, BOARD_64BIT},
5044 {PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_PERC4_QC_VERDE,
5045 PCI_ANY_ID, PCI_ANY_ID, 0, 0, BOARD_64BIT},
5046 {PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID, 5041 {PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID,
5047 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, 5042 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
5048 {PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID2, 5043 {PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID2,
5049 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, 5044 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
5050 {PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID3,
5051 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
5052 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_AMI_MEGARAID3, 5045 {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_AMI_MEGARAID3,
5053 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, 5046 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
5054 {PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_AMI_MEGARAID3,
5055 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
5056 {0,} 5047 {0,}
5057}; 5048};
5058MODULE_DEVICE_TABLE(pci, megaraid_pci_tbl); 5049MODULE_DEVICE_TABLE(pci, megaraid_pci_tbl);
@@ -5095,7 +5086,7 @@ static int __init megaraid_init(void)
5095 * First argument (major) to register_chrdev implies a dynamic 5086 * First argument (major) to register_chrdev implies a dynamic
5096 * major number allocation. 5087 * major number allocation.
5097 */ 5088 */
5098 major = register_chrdev(0, "megadev", &megadev_fops); 5089 major = register_chrdev(0, "megadev_legacy", &megadev_fops);
5099 if (!major) { 5090 if (!major) {
5100 printk(KERN_WARNING 5091 printk(KERN_WARNING
5101 "megaraid: failed to register char device\n"); 5092 "megaraid: failed to register char device\n");
@@ -5109,7 +5100,7 @@ static void __exit megaraid_exit(void)
5109 /* 5100 /*
5110 * Unregister the character device interface to the driver. 5101 * Unregister the character device interface to the driver.
5111 */ 5102 */
5112 unregister_chrdev(major, "megadev"); 5103 unregister_chrdev(major, "megadev_legacy");
5113 5104
5114 pci_unregister_driver(&megaraid_pci_driver); 5105 pci_unregister_driver(&megaraid_pci_driver);
5115 5106