From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: PATCH: fix ppa
Date: Tue, 8 Oct 2002 20:03:52 +0100 (BST) [thread overview]
Message-ID: <E17yze4-0004uV-00@the-village.bc.nu> (raw)
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/scsi/ppa.c linux.2.5.41-ac1/drivers/scsi/ppa.c
--- linux.2.5.41/drivers/scsi/ppa.c 2002-10-07 22:12:26.000000000 +0100
+++ linux.2.5.41-ac1/drivers/scsi/ppa.c 2002-10-08 00:51:45.000000000 +0100
@@ -18,6 +18,7 @@
#include <linux/blk.h>
#include <asm/io.h>
#include <linux/parport.h>
+#include <linux/workqueue.h>
#include "sd.h"
#include "hosts.h"
int ppa_release(struct Scsi_Host *);
@@ -42,7 +43,7 @@
mode: PPA_AUTODETECT, \
host: -1, \
cur_cmd: NULL, \
- ppa_tq: { routine: ppa_interrupt }, \
+ ppa_tq: { func: ppa_interrupt }, \
jstart: 0, \
recon_tmo: PPA_RECON_TMO, \
failed: 0, \
@@ -800,7 +801,6 @@
}
if (ppa_engine(tmp, cmd)) {
tmp->ppa_tq.data = (void *) tmp;
- tmp->ppa_tq.sync = 0;
schedule_delayed_work(&tmp->ppa_tq, 1);
return;
}
@@ -985,7 +985,6 @@
ppa_pb_claim(host_no);
ppa_hosts[host_no].ppa_tq.data = ppa_hosts + host_no;
- ppa_hosts[host_no].ppa_tq.sync = 0;
schedule_work(&ppa_hosts[host_no].ppa_tq);
return 0;
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/scsi/ppa.h linux.2.5.41-ac1/drivers/scsi/ppa.h
--- linux.2.5.41/drivers/scsi/ppa.h 2002-10-02 21:32:55.000000000 +0100
+++ linux.2.5.41-ac1/drivers/scsi/ppa.h 2002-10-08 00:50:14.000000000 +0100
@@ -78,7 +78,6 @@
#include <linux/stddef.h>
#include <linux/module.h>
#include <linux/kernel.h>
-#include <linux/tqueue.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
reply other threads:[~2002-10-08 19:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E17yze4-0004uV-00@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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;
as well as URLs for NNTP newsgroup(s).