aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-07-26 11:03:19 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:38:33 -0400
commit8c6af9e174abdf40c30a4a229bbd11b458869f97 (patch)
tree5c21a54d2ca2ef7ede5eea16ca7a669fd91fca02 /drivers/scsi
parentea312552e94883efc42cfa4651bcf964f3110564 (diff)
[SCSI] advansys: undate version, copyright, etc
Update the version to 3.4 Add my copyright Add myself to MAINTAINERS Exercise my right to change the license from dual BSD/GPL to GPL Don't force the definition of CONFIG_ISA on x86 Always include pci.h Stop including stat.h Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/advansys.c43
1 files changed, 19 insertions, 24 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index 79c0b6e37a3b..8ace30ed4186 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -1,20 +1,23 @@
1#define ASC_VERSION "3.3K" /* AdvanSys Driver Version */ 1#define ASC_VERSION "3.4" /* AdvanSys Driver Version */
2 2
3/* 3/*
4 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters 4 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters
5 * 5 *
6 * Copyright (c) 1995-2000 Advanced System Products, Inc. 6 * Copyright (c) 1995-2000 Advanced System Products, Inc.
7 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc. 7 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc.
8 * Copyright (c) 2007 Matthew Wilcox <matthew@wil.cx>
8 * All Rights Reserved. 9 * All Rights Reserved.
9 * 10 *
10 * Redistribution and use in source and binary forms, with or without 11 * This program is free software; you can redistribute it and/or modify
11 * modification, are permitted provided that redistributions of source 12 * it under the terms of the GNU General Public License as published by
12 * code retain the above copyright notice and this comment without 13 * the Free Software Foundation; either version 2 of the License, or
13 * modification. 14 * (at your option) any later version.
14 * 15 */
16
17/*
15 * As of March 8, 2000 Advanced System Products, Inc. (AdvanSys) 18 * As of March 8, 2000 Advanced System Products, Inc. (AdvanSys)
16 * changed its name to ConnectCom Solutions, Inc. 19 * changed its name to ConnectCom Solutions, Inc.
17 * 20 * On June 18, 2001 Initio Corp. acquired ConnectCom's SCSI assets
18 */ 21 */
19 22
20/* 23/*
@@ -755,11 +758,6 @@
755 */ 758 */
756 759
757#include <linux/module.h> 760#include <linux/module.h>
758
759#if defined(CONFIG_X86) && !defined(CONFIG_ISA)
760#define CONFIG_ISA
761#endif /* CONFIG_X86 && !CONFIG_ISA */
762
763#include <linux/string.h> 761#include <linux/string.h>
764#include <linux/kernel.h> 762#include <linux/kernel.h>
765#include <linux/types.h> 763#include <linux/types.h>
@@ -771,7 +769,7 @@
771#include <linux/proc_fs.h> 769#include <linux/proc_fs.h>
772#include <linux/init.h> 770#include <linux/init.h>
773#include <linux/blkdev.h> 771#include <linux/blkdev.h>
774#include <linux/stat.h> 772#include <linux/pci.h>
775#include <linux/spinlock.h> 773#include <linux/spinlock.h>
776#include <linux/dma-mapping.h> 774#include <linux/dma-mapping.h>
777 775
@@ -779,6 +777,12 @@
779#include <asm/system.h> 777#include <asm/system.h>
780#include <asm/dma.h> 778#include <asm/dma.h>
781 779
780#include <scsi/scsi_cmnd.h>
781#include <scsi/scsi_device.h>
782#include <scsi/scsi_tcq.h>
783#include <scsi/scsi.h>
784#include <scsi/scsi_host.h>
785
782/* FIXME: (by jejb@steeleye.com) This warning is present for two 786/* FIXME: (by jejb@steeleye.com) This warning is present for two
783 * reasons: 787 * reasons:
784 * 788 *
@@ -793,15 +797,6 @@
793 */ 797 */
794#warning this driver is still not properly converted to the DMA API 798#warning this driver is still not properly converted to the DMA API
795 799
796#include <scsi/scsi_cmnd.h>
797#include <scsi/scsi_device.h>
798#include <scsi/scsi_tcq.h>
799#include <scsi/scsi.h>
800#include <scsi/scsi_host.h>
801#ifdef CONFIG_PCI
802#include <linux/pci.h>
803#endif /* CONFIG_PCI */
804
805/* 800/*
806 * --- Driver Options 801 * --- Driver Options
807 */ 802 */
@@ -17772,8 +17767,6 @@ static void AdvInquiryHandling(ADV_DVC_VAR *asc_dvc, ADV_SCSI_REQ_Q *scsiq)
17772 } 17767 }
17773} 17768}
17774 17769
17775MODULE_LICENSE("Dual BSD/GPL");
17776
17777static struct Scsi_Host *__devinit 17770static struct Scsi_Host *__devinit
17778advansys_board_found(int iop, struct device *dev, int bus_type) 17771advansys_board_found(int iop, struct device *dev, int bus_type)
17779{ 17772{
@@ -19029,3 +19022,5 @@ static struct pci_device_id advansys_pci_tbl[] __devinitdata = {
19029 19022
19030MODULE_DEVICE_TABLE(pci, advansys_pci_tbl); 19023MODULE_DEVICE_TABLE(pci, advansys_pci_tbl);
19031#endif /* CONFIG_PCI */ 19024#endif /* CONFIG_PCI */
19025
19026MODULE_LICENSE("GPL");