18 #include <linux/module.h>
20 #include <linux/kernel.h>
21 #include <linux/string.h>
28 #include <linux/stat.h>
44 static char qlogicfas_name[] =
"qlogicfas";
68 if (!qbase || qlirq == -1)
85 " IRQ %d\n", qlogicfas_name, qbase, qlirq);
110 "Qlogicfas Driver version 0.46, chip %02X at %03X, IRQ %d, TPdma:%d",
112 host->
name = qlogicfas_name;
117 if (scsi_add_host(hreg,
NULL))
136 #define MAX_QLOGICFAS 8
152 shost = __qlogicfas_detect(sht,
iobase[num], irq[num]);
165 static int qlogicfas_release(
struct Scsi_Host *shost)
188 .name = qlogicfas_name,
189 .proc_name = qlogicfas_name,
202 static __init int qlogicfas_init(
void)
204 if (!qlogicfas_detect(&qlogicfas_driver_template)) {
207 "I/O address and IRQ using iobase= and irq= "
208 "options", qlogicfas_name);
215 static __exit void qlogicfas_exit(
void)
219 for (priv = cards; priv !=
NULL; priv = priv->
next)
220 qlogicfas_release(priv->
shost);