public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Hank Yang <hanky@promise.com.tw>
Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com,
	Crimson Hung <crimsonh@promise.com.tw>,
	Jenny Liang <jennyl@promise.com.tw>,
	Linus Chen <linusc@promise.com.tw>
Subject: Re: [PATCH] Submitting PROMISE IDE Controllers Driver Patch
Date: Sat, 9 Mar 2002 22:23:17 +0100	[thread overview]
Message-ID: <20020309212316.GA747@elf.ucw.cz> (raw)
In-Reply-To: <00f201c1c5a3$d27a8330$59cca8c0@hank>
In-Reply-To: <00f201c1c5a3$d27a8330$59cca8c0@hank>

Hi!


>     We make some changes for support our product. The ATA-100/133
> Controllers.
> Hope you can reference following describe and patch code. If there has
> anything
> wrong, please feel free to tell us. Thank you.

Seems like mailer damaged it badly... Or you have very poor indenting
style ;-).
								Pavel

> @@ -371,10 +376,22 @@
>    OUT_BYTE(drive->ctl,IDE_CONTROL_REG);
>   OUT_BYTE(0x00, IDE_FEATURE_REG);
>   OUT_BYTE(rq->nr_sectors,IDE_NSECTOR_REG);
> + if ((drive->id->command_set_2 & 0x0400) &&
> HWIF(drive)->pci_devid.vid==PCI_VENDOR_ID_PROMISE) {
> +  /* 48 bits data previous */
> +  OUT_BYTE(rq->nr_sectors>>8, IDE_NSECTOR_REG);
> +  OUT_BYTE(block>>24, IDE_SECTOR_REG);
> +  OUT_BYTE(0x00, IDE_LCYL_REG); //block only 32 bits
> +  OUT_BYTE(0x00, IDE_HCYL_REG);
> +  /* 48 bits data current */
> +  OUT_BYTE(rq->nr_sectors, IDE_NSECTOR_REG);
> +  OUT_BYTE(block, IDE_SECTOR_REG);
> +  OUT_BYTE(block>>8, IDE_LCYL_REG);
> +  OUT_BYTE(block>>16, IDE_HCYL_REG);
> +  OUT_BYTE(drive->select.all,IDE_SELECT_REG);
>  #ifdef CONFIG_BLK_DEV_PDC4030
> - if (drive->select.b.lba || IS_PDC4030_DRIVE) {
> -#else /* !CONFIG_BLK_DEV_PDC4030 */
> - if (drive->select.b.lba) {
> + } else if (drive->select.b.lba || IS_PDC4030_DRIVE) {
> +#else /* !CONFIG_BLK_DEV_PDC4030 */
> + } else if (drive->select.b.lba) {
>  #endif /* CONFIG_BLK_DEV_PDC4030 */
>  #ifdef DEBUG
>    printk("%s: %sing: LBAsect=%ld, sectors=%ld, buffer=0x%08lx\n",
> @@ -413,7 +430,10 @@

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa

  reply	other threads:[~2002-03-09 21:42 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07  6:46 [PATCH] Submitting PROMISE IDE Controllers Driver Patch Hank Yang
2002-03-09 21:23 ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-07  9:01 Hank Yang
2002-03-07 10:23 ` Arjan van de Ven
2002-03-08  1:45   ` Hank Yang
2002-03-08  2:10     ` Alan Cox
2002-03-08  3:01       ` Hank Yang
2002-03-08  8:19         ` Martin Dalecki
2002-03-08  8:23           ` arjan
2002-03-08  8:35             ` Martin Dalecki
2002-03-08  8:50               ` Arjan van de Ven
2002-03-08  9:14                 ` Martin Dalecki
2002-03-08 13:12                 ` Alan Cox
2002-03-08 19:25                 ` Kelsey Hudson
2002-03-09 13:25                   ` Martin Dalecki
2002-03-08 13:25         ` Alan Cox
2002-03-13  7:35           ` Hank Yang
2002-03-13  7:45             ` Arjan van de Ven
2002-03-08  2:54     ` Kelsey Hudson
2002-03-08  7:54     ` Arjan van de Ven
2002-03-08  8:12     ` Martin Dalecki
2002-03-07 13:15 ` Alan Cox
2002-03-08  3:49   ` Hank Yang
2002-03-08 13:14     ` Alan Cox
2002-03-13  6:52       ` Hank Yang
2002-03-13 16:39         ` Alan Cox
2002-05-22  9:38           ` Hank Yang
     [not found] ` <3C876199.5000107@evision-ventures.com>
2002-03-08  2:00   ` Hank Yang
     [not found] <200203071331.g27DVi211087@sunrise.pg.gda.pl>
2002-03-07 13:36 ` Andrzej Krzysztofowicz
2002-03-10 14:23 Ed Tomlinson
2002-03-10 14:47 ` Alan Cox
2002-03-11  9:56   ` benh

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=20020309212316.GA747@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=crimsonh@promise.com.tw \
    --cc=hanky@promise.com.tw \
    --cc=jennyl@promise.com.tw \
    --cc=linusc@promise.com.tw \
    --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