aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/ql6312.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/ql6312.c')
-rw-r--r--drivers/scsi/qla2xxx/ql6312.c101
1 files changed, 0 insertions, 101 deletions
diff --git a/drivers/scsi/qla2xxx/ql6312.c b/drivers/scsi/qla2xxx/ql6312.c
deleted file mode 100644
index de55397f6f4c..000000000000
--- a/drivers/scsi/qla2xxx/ql6312.c
+++ /dev/null
@@ -1,101 +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[] = "qla6312";
14
15extern unsigned char fw2300flx_version[];
16extern unsigned char fw2300flx_version_str[];
17extern unsigned short fw2300flx_addr01;
18extern unsigned short fw2300flx_code01[];
19extern unsigned short fw2300flx_length01;
20
21static struct qla_fw_info qla_fw_tbl[] = {
22 {
23 .addressing = FW_INFO_ADDR_NORMAL,
24 .fwcode = &fw2300flx_code01[0],
25 .fwlen = &fw2300flx_length01,
26 .fwstart = &fw2300flx_addr01,
27 },
28 { FW_INFO_ADDR_NOMORE, },
29};
30
31static struct qla_board_info qla_board_tbl[] = {
32 {
33 .drv_name = qla_driver_name,
34 .isp_name = "ISP6312",
35 .fw_info = qla_fw_tbl,
36 },
37 {
38 .drv_name = qla_driver_name,
39 .isp_name = "ISP6322",
40 .fw_info = qla_fw_tbl,
41 },
42};
43
44static struct pci_device_id qla6312_pci_tbl[] = {
45 {
46 .vendor = PCI_VENDOR_ID_QLOGIC,
47 .device = PCI_DEVICE_ID_QLOGIC_ISP6312,
48 .subvendor = PCI_ANY_ID,
49 .subdevice = PCI_ANY_ID,
50 .driver_data = (unsigned long)&qla_board_tbl[0],
51 },
52 {
53 .vendor = PCI_VENDOR_ID_QLOGIC,
54 .device = PCI_DEVICE_ID_QLOGIC_ISP6322,
55 .subvendor = PCI_ANY_ID,
56 .subdevice = PCI_ANY_ID,
57 .driver_data = (unsigned long)&qla_board_tbl[1],
58 },
59 {0, 0},
60};
61MODULE_DEVICE_TABLE(pci, qla6312_pci_tbl);
62
63static int __devinit
64qla6312_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
65{
66 return qla2x00_probe_one(pdev,
67 (struct qla_board_info *)id->driver_data);
68}
69
70static void __devexit
71qla6312_remove_one(struct pci_dev *pdev)
72{
73 qla2x00_remove_one(pdev);
74}
75
76static struct pci_driver qla6312_pci_driver = {
77 .name = "qla6312",
78 .id_table = qla6312_pci_tbl,
79 .probe = qla6312_probe_one,
80 .remove = __devexit_p(qla6312_remove_one),
81};
82
83static int __init
84qla6312_init(void)
85{
86 return pci_module_init(&qla6312_pci_driver);
87}
88
89static void __exit
90qla6312_exit(void)
91{
92 pci_unregister_driver(&qla6312_pci_driver);
93}
94
95module_init(qla6312_init);
96module_exit(qla6312_exit);
97
98MODULE_AUTHOR("QLogic Corporation");
99MODULE_DESCRIPTION("QLogic ISP63xx FC-SCSI Host Bus Adapter driver");
100MODULE_LICENSE("GPL");
101MODULE_VERSION(QLA2XXX_VERSION);