From: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
To: linux-kernel@vger.kernel.org
Cc: Brard Roudier <groudier@free.fr>
Subject: [patch][3/3] qlogic: set host name before using scsi_host_alloc()
Date: Wed, 15 Oct 2003 23:54:49 -0200 [thread overview]
Message-ID: <20031016015449.GC1765@cathedrallabs.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 11 bytes --]
--
aris
[-- Attachment #2: qlogic-name.patch --]
[-- Type: text/plain, Size: 846 bytes --]
--- linux/drivers/scsi/qlogicfas.c.orig 2003-10-15 23:44:55.000000000 -0200
+++ linux/drivers/scsi/qlogicfas.c 2003-10-15 23:45:36.000000000 -0200
@@ -668,6 +668,11 @@
} else
printk(KERN_INFO "Ql: Using preset IRQ %d\n", qlirq);
#endif
+ sprintf(qinfo,
+ "Qlogicfas Driver version 0.46, chip %02X at %03X, IRQ %d, TPdma:%d",
+ qltyp, qbase, qlirq, QL_TURBO_PDMA);
+ host->name = qinfo;
+
hreg = scsi_host_alloc(host, 0); /* no host data */
if (!hreg)
goto err_release_mem;
@@ -678,10 +683,6 @@
hreg->can_queue = 1;
INIT_LIST_HEAD(&hreg->sht_legacy_list);
- sprintf(qinfo,
- "Qlogicfas Driver version 0.46, chip %02X at %03X, IRQ %d, TPdma:%d",
- qltyp, qbase, qlirq, QL_TURBO_PDMA);
- host->name = qinfo;
#ifdef QL_USE_IRQ
if (qlirq < 0 || request_irq(qlirq, do_ql_ihandl, 0, "qlogicfas", hreg))
goto free_scsi_host;
next reply other threads:[~2003-10-16 1:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-16 1:54 Aristeu Sergio Rozanski Filho [this message]
2003-10-17 12:03 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031016015449.GC1765@cathedrallabs.org \
--to=aris@cathedrallabs.org \
--cc=groudier@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®