aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/ql2322.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2006-05-17 18:09:34 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-05-20 10:49:13 -0400
commit441d1072040823feb4950a21094860bfddd310c0 (patch)
tree590e90b78af52ab69530cec945f980d7290b844e /drivers/scsi/qla2xxx/ql2322.c
parent4971cd221ad3f1266b87aa0e996d082d91bac2a6 (diff)
[SCSI] qla2xxx: Remove obsolete firmware-loader-module support.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/ql2322.c')
-rw-r--r--drivers/scsi/qla2xxx/ql2322.c119
1 files changed, 0 insertions, 119 deletions
diff --git a/drivers/scsi/qla2xxx/ql2322.c b/drivers/scsi/qla2xxx/ql2322.c
deleted file mode 100644
index 3c8cafc12eee..000000000000
--- a/drivers/scsi/qla2xxx/ql2322.c
+++ /dev/null
@@ -1,119 +0,0 @@
1/*
2 * QLogic Fibre Channel HBA Driver
3 * Copyright (c) 2003-2005 QLogic Corporation
4 *
5 * See LICENSE.qla2xxx for copyright and licensing details.
6 */
7#include <linux/init.h>
8#include <linux/module.h>
9#include <linux/pci.h>
10
11#include "qla_def.h"
12
13static char qla_driver_name[] = "qla2322";
14
15extern unsigned char fw2322ipx_version[];
16extern unsigned char fw2322ipx_version_str[];
17extern unsigned short fw2322ipx_addr01;
18extern unsigned short fw2322ipx_code01[];
19extern unsigned short fw2322ipx_length01;
20extern unsigned long rseqipx_code_addr01;
21extern unsigned short rseqipx_code01[];
22extern unsigned short rseqipx_code_length01;
23extern unsigned long xseqipx_code_addr01;
24extern unsigned short xseqipx_code01[];
25extern unsigned short xseqipx_code_length01;
26
27static struct qla_fw_info qla_fw_tbl[] = {
28 {
29 .addressing = FW_INFO_ADDR_NORMAL,
30 .fwcode = &fw2322ipx_code01[0],
31 .fwlen = &fw2322ipx_length01,
32 .fwstart = &fw2322ipx_addr01,
33 },
34 {
35 .addressing = FW_INFO_ADDR_EXTENDED,
36 .fwcode = &rseqipx_code01[0],
37 .fwlen = &rseqipx_code_length01,
38 .lfwstart = &rseqipx_code_addr01,
39 },
40 {
41 .addressing = FW_INFO_ADDR_EXTENDED,
42 .fwcode = &xseqipx_code01[0],
43 .fwlen = &xseqipx_code_length01,
44 .lfwstart = &xseqipx_code_addr01,
45 },
46 { FW_INFO_ADDR_NOMORE, },
47};
48
49static struct qla_board_info qla_board_tbl[] = {
50 {
51 .drv_name = qla_driver_name,
52 .isp_name = "ISP2322",
53 .fw_info = qla_fw_tbl,
54 },
55 {
56 .drv_name = qla_driver_name,
57 .isp_name = "ISP6322",
58 .fw_info = qla_fw_tbl,
59 },
60};
61
62static struct pci_device_id qla2322_pci_tbl[] = {
63 {
64 .vendor = PCI_VENDOR_ID_QLOGIC,
65 .device = PCI_DEVICE_ID_QLOGIC_ISP2322,
66 .subvendor = PCI_ANY_ID,
67 .subdevice = PCI_ANY_ID,
68 .driver_data = (unsigned long)&qla_board_tbl[0],
69 },
70 {
71 .vendor = PCI_VENDOR_ID_QLOGIC,
72 .device = PCI_DEVICE_ID_QLOGIC_ISP6322,
73 .subvendor = PCI_ANY_ID,
74 .subdevice = PCI_ANY_ID,
75 .driver_data = (unsigned long)&qla_board_tbl[1],
76 },
77 {0, 0},
78};
79MODULE_DEVICE_TABLE(pci, qla2322_pci_tbl);
80
81static int __devinit
82qla2322_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
83{
84 return qla2x00_probe_one(pdev,
85 (struct qla_board_info *)id->driver_data);
86}
87
88static void __devexit
89qla2322_remove_one(struct pci_dev *pdev)
90{
91 qla2x00_remove_one(pdev);
92}
93
94static struct pci_driver qla2322_pci_driver = {
95 .name = "qla2322",
96 .id_table = qla2322_pci_tbl,
97 .probe = qla2322_probe_one,
98 .remove = __devexit_p(qla2322_remove_one),
99};
100
101static int __init
102qla2322_init(void)
103{
104 return pci_module_init(&qla2322_pci_driver);
105}
106
107static void __exit
108qla2322_exit(void)
109{
110 pci_unregister_driver(&qla2322_pci_driver);
111}
112
113module_init(qla2322_init);
114module_exit(qla2322_exit);
115
116MODULE_AUTHOR("QLogic Corporation");
117MODULE_DESCRIPTION("QLogic ISP2322 FC-SCSI Host Bus Adapter driver");
118MODULE_LICENSE("GPL");
119MODULE_VERSION(QLA2XXX_VERSION);