From: Marc Dietrich <marvin24@gmx.de>
To: linux-kernel@vger.kernel.org
Cc: GOTO Masanori <gotom@debian.or.jp>,
YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>,
"James E.J. Bottomley" <JBottomley@parallels.com>,
linux-scsi@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 1/2] SCSI: nsp32: replace large udelay by mdelay
Date: Mon, 27 May 2013 11:04:48 +0200 [thread overview]
Message-ID: <1772560.cdelMaBfqM@fb07-iapwap2.physik.uni-giessen.de> (raw)
In-Reply-To: <3402164.UHqBT8YQpR@fb07-iapwap2.physik.uni-giessen.de>
James,
Am Mittwoch, 22. Mai 2013, 22:33:18 schrieb Marc Dietrich:
> Looks like Arnd already send a fix for this. Sorry for the noise.
are you going to pick up Arnd's patch [1] for scsi-stable (3.10) branch?
Marc
[1] https://patchwork.kernel.org/patch/2489251/
> Am Mittwoch, 22. Mai 2013, 21:48:41 schrieb Marc Dietrich:
> > ARM has a maximum of 2000 usec delay. Use mdelay for larger delays.
> > This affects distro kernels mostly.
> >
> > Cc: GOTO Masanori <gotom@debian.or.jp>
> > Cc: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
> > Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
> > Cc: linux-scsi@vger.kernel.org
> > Cc: linux-kernel@vger.kernel.org
> > Signed-off-by: Marc Dietrich <marvin24@gmx.de>
> > ---
> >
> > drivers/scsi/nsp32.c | 2 +-
> > drivers/scsi/nsp32.h | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c
> > index 1e3879d..e2f796f 100644
> > --- a/drivers/scsi/nsp32.c
> > +++ b/drivers/scsi/nsp32.c
> > @@ -2899,7 +2899,7 @@ static void nsp32_do_bus_reset(nsp32_hw_data *data)
> >
> > * reset SCSI bus
> > */
> >
> > nsp32_write1(base, SCSI_BUS_CONTROL, BUSCTL_RST);
> >
> > - udelay(RESET_HOLD_TIME);
> > + mdelay(RESET_HOLD_TIME);
> >
> > nsp32_write1(base, SCSI_BUS_CONTROL, 0);
> > for(i = 0; i < 5; i++) {
> >
> > intrdat = nsp32_read2(base, IRQ_STATUS); /* dummy read */
> >
> > diff --git a/drivers/scsi/nsp32.h b/drivers/scsi/nsp32.h
> > index c022182..b2b3dc6 100644
> > --- a/drivers/scsi/nsp32.h
> > +++ b/drivers/scsi/nsp32.h
> > @@ -605,7 +605,7 @@ typedef struct _nsp32_hw_data {
> >
> > /*
> >
> > * TIME definition
> > */
> >
> > -#define RESET_HOLD_TIME 10000 /* reset time in us (SCSI-2 says the
> > +#define RESET_HOLD_TIME 10 /* reset time in ms (SCSI-2 says the
> >
> > minimum is 25us) */
> >
> > #define SEL_TIMEOUT_TIME 10000 /* 250ms defined in SCSI specification
> >
> > (25.6us/1unit) */
next prev parent reply other threads:[~2013-05-27 9:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 19:48 [PATCH 0/2] " Marc Dietrich
2013-05-22 19:48 ` [PATCH 1/2] SCSI: nsp32: " Marc Dietrich
2013-05-22 20:33 ` Marc Dietrich
2013-05-27 9:04 ` Marc Dietrich [this message]
2013-05-22 19:48 ` [PATCH 2/2] nouveau: " Marc Dietrich
2013-05-22 20:08 ` David Daney
2013-05-22 20:33 ` Marc Dietrich
2013-05-27 9:10 ` Marc Dietrich
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=1772560.cdelMaBfqM@fb07-iapwap2.physik.uni-giessen.de \
--to=marvin24@gmx.de \
--cc=JBottomley@parallels.com \
--cc=arnd@arndb.de \
--cc=gotom@debian.or.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=yokota@netlab.is.tsukuba.ac.jp \
/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®