]> err.no Git - linux-2.6/commitdiff
[SCSI] scsi: remove hosts.h
authorHenne <henne@nachtwindheim.de>
Wed, 4 Oct 2006 08:22:09 +0000 (10:22 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 4 Oct 2006 18:10:52 +0000 (13:10 -0500)
Remove the obsolete hosts.h file under drivers/scsi.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/dpt_i2o.c
drivers/scsi/dpti.h
drivers/scsi/hosts.h [deleted file]
drivers/scsi/ips.c
drivers/scsi/pcmcia/nsp_cs.c

index 7b3bd34faf47e6857afcc8310e1cb696158b09c7..b20b37661d6f398ed0aa9ecdea4770990f9c22a0 100644 (file)
@@ -2212,7 +2212,7 @@ static s32 adpt_scsi_register(adpt_hba* pHba,struct scsi_host_template * sht)
         */
        host->io_port = 0;
        host->n_io_port = 0;
-                               /* see comments in hosts.h */
+                               /* see comments in scsi_host.h */
        host->max_id = 16;
        host->max_lun = 256;
        host->max_channel = pHba->top_scsi_channel + 1;
index 2ad2a89b5db4b2d15eaccd91a97d7219be4584fa..2899832649295d9162bfa466b83289b0d90ca4d1 100644 (file)
@@ -44,7 +44,7 @@ static int adpt_device_reset(struct scsi_cmnd* cmd);
 
 
 /*
- * struct scsi_host_template (see hosts.h)
+ * struct scsi_host_template (see scsi/scsi_host.h)
  */
 
 #define DPT_DRIVER_NAME        "Adaptec I2O RAID"
diff --git a/drivers/scsi/hosts.h b/drivers/scsi/hosts.h
deleted file mode 100644 (file)
index c27264b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
-#include <scsi/scsi_host.h>
index 95b7536626f9c78eddd96f6540ac98fbd4d9a632..9a9ab297cf17b8eaf3466197a6236532a878613b 100644 (file)
 #include <linux/dma-mapping.h>
 
 #include <scsi/sg.h>
-
 #include "scsi.h"
-
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)
-#include "hosts.h"
-#else
 #include <scsi/scsi_host.h>
-#endif
 
 #include "ips.h"
 
index 0d4c04e1f3de3f941655ec67a023992e77d46f04..053303d361186b7f18025f5967a6900e2503a094 100644 (file)
@@ -80,7 +80,6 @@ static int       free_ports = 0;
 module_param(free_ports, bool, 0);
 MODULE_PARM_DESC(free_ports, "Release IO ports after configuration? (default: 0 (=no))");
 
-/* /usr/src/linux/drivers/scsi/hosts.h */
 static struct scsi_host_template nsp_driver_template = {
        .proc_name               = "nsp_cs",
        .proc_info               = nsp_proc_info,