Skip to contentSkip to conversation

small advansys cleanup

PATCH New Adrian Bunk 1 participant 1 message May 22, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 small advansys cleanup

The patch below does the following small cleanups for the advansys driver:
- remove obsolete maintainer information
- remove kernel 2.2 code

diffstat output:

 MAINTAINERS             |    7 
 drivers/scsi/advansys.c |  341 +++++++---------------------------------
 drivers/scsi/advansys.h |   26 ---
 3 files changed, 60 insertions(+), 314 deletions(-)

I've tested the compilation in 2.6.6-mm5.

Please apply
Adrian

MAINTAINERS renamed from MAINTAINERS.old +0 -7
@@ -199,13 +199,6 @@
 W:	http://www.tu-darmstadt.de/~tek01/projects/linux.html
 S:	Maintained
 
-ADVANSYS SCSI DRIVER
-P:	Bob Frey
-M:	[email protected]
-W:	http://www.advansys.com/linux.html
-L:	[email protected]
-S:	Maintained
-
 AEDSP16 DRIVER
 P:	Riccardo Facchetti
 M:	[email protected]
drivers/scsi/advansys.h renamed from drivers/scsi/advansys.h.old +0 -26
@@ -13,37 +13,11 @@
  * As of March 8, 2000 Advanced System Products, Inc. (AdvanSys)
  * changed its name to ConnectCom Solutions, Inc.
  *
- * There is an AdvanSys Linux WWW page at:
- *  http://www.connectcom.net/downloads/software/os/linux.html
- *  http://www.advansys.com/linux.html
- *
- * The latest released version of the AdvanSys driver is available at:
- *  ftp://ftp.advansys.com/pub/linux/linux.tgz
- *  ftp://ftp.connectcom.net/pub/linux/linux.tgz
- *
- * Please send questions, comments, bug reports to:
- *  [email protected] or [email protected]
  */
 
 #ifndef _ADVANSYS_H
 #define _ADVANSYS_H
 
-#include <linux/config.h>
-#ifndef LINUX_VERSION_CODE
-#include <linux/version.h>
-#endif /* LINUX_VERSION_CODE */
-
-/* Convert Linux Version, Patch-level, Sub-level to LINUX_VERSION_CODE. */
-#define ASC_LINUX_VERSION(V, P, S)    (((V) * 65536) + ((P) * 256) + (S))
-/* Driver supported only in version 2.2 and version >= 2.4. */
-#if LINUX_VERSION_CODE < ASC_LINUX_VERSION(2,2,0) || \
-    (LINUX_VERSION_CODE > ASC_LINUX_VERSION(2,3,0) && \
-     LINUX_VERSION_CODE < ASC_LINUX_VERSION(2,4,0))
-#error "AdvanSys driver supported only in 2.2 and 2.4 or greater kernels."
-#endif
-#define ASC_LINUX_KERNEL22 (LINUX_VERSION_CODE < ASC_LINUX_VERSION(2,4,0))
-#define ASC_LINUX_KERNEL24 (LINUX_VERSION_CODE >= ASC_LINUX_VERSION(2,4,0))
-
 /*
  * Scsi_Host_Template function prototypes.
  */
drivers/scsi/advansys.c renamed from drivers/scsi/advansys.c.old +60 -281

998 lines not on this page · raw message