patch-2.4.11-dontuse linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
Next file: linux/drivers/scsi/aic7xxx_old.c
Previous file: linux/drivers/scsi/aha1740.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Oct 5 11:19:02 2001
- Orig file:
v2.4.10/linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
- Orig date:
Mon Aug 27 12:41:44 2001
diff -u --recursive --new-file v2.4.10/linux/drivers/scsi/aic7xxx/aic7xxx_linux.c linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
@@ -120,9 +120,7 @@
* under normal conditions.
*/
-#if defined(MODULE)
#include <linux/module.h>
-#endif
#include "aic7xxx_osm.h"
#include "aic7xxx_inline.h"
@@ -1177,6 +1175,7 @@
host->irq = ahc->platform_data->irq;
host->max_id = (ahc->features & AHC_WIDE) ? 16 : 8;
host->max_channel = (ahc->features & AHC_TWIN) ? 1 : 0;
+ host->max_lun = AHC_NUM_LUNS;
ahc_set_unit(ahc, ahc_linux_next_unit());
sprintf(buf, "scsi%d", host->host_no);
new_name = malloc(strlen(buf) + 1, M_DEVBUF, M_NOWAIT);
@@ -2869,6 +2868,8 @@
}
}
}
+
+MODULE_LICENSE("Dual BSD/GPL");
#if defined(MODULE) || LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
static Scsi_Host_Template driver_template = AIC7XXX;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)