mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@cogenit.fr>
To: support <support@promise.com.tw>
Cc: "Alan Cox (Linux Kernel)" <alan@lxorguk.ukuu.org.uk>,
	"Marcelo (Linux Kernel)" <marcelo@conectiva.com.br>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4.19-rc2-ac2 pdc202xx.c update (looks strange)
Date: Sun, 21 Jul 2002 19:29:30 +0200	[thread overview]
Message-ID: <20020721192929.A27138@fafner.intra.cogenit.fr> (raw)
In-Reply-To: <016501c22f04$087ed660$47cba8c0@promise.com.tw>; from support@promise.com.tw on Fri, Jul 19, 2002 at 05:09:38PM +0800

Greetings,

support <support@promise.com.tw> :
[...]
>     Now we are the maintainer of pdc202xx controllers. We know the
> ASIC detail spec. So please let us modify and maintain.
> We can provide best support for world wide Promise users.

+#define set_2regs(a, b) \
+        OUT_BYTE((a + adj), indexreg); \
+       OUT_BYTE(b, datareg);
+
+#define set_reg_and_wait(value, reg, delay) \
+       OUT_BYTE(value, reg); \
+        mdelay(delay);

Hmmm...

[...]
+       if (speed == XFER_UDMA_2)
+               set_2regs(thold, (IN_BYTE(datareg) & 0x7f));

Oops

[...]
+       if (new_chip) {
+               if (id->capability & 4) /* IORDY_EN & PREFETCH_EN */
+                       set_2regs(iordy, (IN_BYTE(datareg) | 0x03));
+       }

Oops

-- 
Ueimor

      parent reply	other threads:[~2002-07-21 17:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-19  9:09 [PATCH] 2.4.19-rc2-ac2 pdc202xx.c update support
2002-07-19  9:52 ` Giro
2002-07-19  9:56   ` Giro
2002-07-21 17:29 ` Francois Romieu [this message]

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=20020721192929.A27138@fafner.intra.cogenit.fr \
    --to=romieu@cogenit.fr \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=support@promise.com.tw \
    /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®