From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: hanky@promise.com.tw (Hank Yang)
Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com,
crimsonh@promise.com.tw (Crimson Hung),
jennyl@promise.com.tw (Jenny Liang),
linusc@promise.com.tw (Linus Chen)
Subject: Re: [PATCH] Submitting PROMISE IDE Controllers Driver Patch
Date: Thu, 7 Mar 2002 13:15:32 +0000 (GMT) [thread overview]
Message-ID: <E16ixk4-0002D4-00@the-village.bc.nu> (raw)
In-Reply-To: <014701c1c5b6$a0dfb620$59cca8c0@hank> from "Hank Yang" at Mar 07, 2002 05:01:11 PM
> Kernel Version: linux kernel 2.4.18
The big IDE update is going into 2.4.19pre. Thats going to overlap with this
patch I suspect. You might want to cross check with 2.4.19pre3 when it
appears and see how much you can remove.
> + * Support UltraDMA Mode 6 and 48 bit LBA Mode.
> + * Powered by PROMISE Technology, Inc. Portions Copyright (C)2001.
> + */
> +#define PCI_VENDOR_ID_PROMISE 0x105a
This define is already in pci_ids.h so shouldnt be needed here. Check the
file includes <linux/pci_ids.h>
> /* Give size in megabytes (MB), not mebibytes (MiB). */
> /* We compute the exact rounded value, avoiding overflow. */
> - printk (" (%ld MB)", (capacity - capacity/625 + 974)/1950);
> + printk (" (%ld GB)", ((capacity - capacity/625 + 974)/1950)/1024);
We use Mb for a reason (old disks look odd) - maybe using Gb once its >=
2Gb would work to make it look neater ?
> {
> + if (HWIF(drive)->pci_devid.vid==0x105a)
elsewhere you switched to PCI_VENDOR_ID_PROMISE ? - trivial question
> -#define DEVID_PDC20268 ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE,
> PCI_DEVICE_ID_PROMISE_20268})
> -#define DEVID_PDC20268R ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE,
> PCI_DEVICE_ID_PROMISE_20268R})
You've removed the raid ones. The driver has to find those so that
the ataraid driver can then sit on top of them.
Other than that it looks pretty sound. Your mailer seems to have messed
the tabs up so once 19pre3 appears and you've had a look at it can you
send me a copy as an attachment ?
Thanks
Alan
next prev parent reply other threads:[~2002-03-07 13:00 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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] ` <039701c20892$3940ca30$c0cca8c0@promise.com.tw>
2002-05-31 14:33 ` [PATCH] Submitting PROMISE IDE " Alan Cox
2002-06-03 3:51 ` [PATCH] 2.4.19pre9 in pdc202xx.c bug Hank Yang
2002-06-03 15:48 ` Alan Cox
2002-06-06 2:31 ` Hank Yang
2002-06-06 12:17 ` Alan Cox
[not found] ` <3C876199.5000107@evision-ventures.com>
2002-03-08 2:00 ` [PATCH] Submitting PROMISE IDE Controllers Driver Patch Hank Yang
-- strict thread matches above, loose matches on Subject: below --
2002-03-10 14:23 Ed Tomlinson
2002-03-10 14:47 ` Alan Cox
2002-03-11 9:56 ` benh
[not found] <200203071331.g27DVi211087@sunrise.pg.gda.pl>
2002-03-07 13:36 ` Andrzej Krzysztofowicz
2002-03-07 6:46 Hank Yang
2002-03-09 21:23 ` Pavel Machek
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=E16ixk4-0002D4-00@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--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
all inboxes | Powered by JetHome®