lkml.org 
[lkml]   [2002]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH] Submitting PROMISE IDE Controllers Driver Patch
Date
Hello.

That's because the linux-kernel misunderstand the raid controller
to IDE controller. If do so, The raid driver will be unstable when
be loaded.

So we must to prevent the raio controller to be as IDE controller
here.

Regards
Hank Yang.

----- Original Message -----
From: "Arjan van de Ven" <arjanv@redhat.com>
To: "Hank Yang" <hanky@promise.com.tw>
Cc: <linux-kernel@vger.kernel.org>
Sent: Thursday, March 07, 2002 6:23 PM
Subject: Re: [PATCH] Submitting PROMISE IDE Controllers Driver Patch


>
> > {DEVID_PDC20268,"PDC20268", PCI_PDC202XX, ATA66_PDC202XX,
INIT_PDC202XX,
> > NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 16 },
> > - /* Promise used a different PCI ident for the raid card apparently to
try
> > and
> > - prevent Linux detecting it and using our own raid code. We want to
> > detect
> > - it for the ataraid drivers, so we have to list both here.. */
> > - {DEVID_PDC20268R,"PDC20268", PCI_PDC202XX, ATA66_PDC202XX,
INIT_PDC202XX,
> > NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 16 },
>
>
> Interesting. So you remove support for the raid drivers. Why ?
>
> More places where you do this:
>
> > @@ -774,7 +784,8 @@
> > IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20265) ||
> > IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20267) ||
> > IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20268) ||
> > - IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20268R) ||
> > + IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20269) ||
> > + IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20275) ||
> > IDE_PCI_DEVID_EQ(d->devid, DEVID_AEC6210) ||
> > IDE_PCI_DEVID_EQ(d->devid, DEVID_AEC6260) ||
>
> > diff -urN linux-2.4.18.org/include/linux/pci_ids.h
> > linux/include/linux/pci_ids.h
> > --- linux-2.4.18.org/include/linux/pci_ids.h Tue Feb 26 03:38:13 2002
> > +++ linux/include/linux/pci_ids.h Wed Feb 27 19:45:18 2002
> > @@ -603,7 +603,6 @@
> > #define PCI_DEVICE_ID_PROMISE_20246 0x4d33
> > #define PCI_DEVICE_ID_PROMISE_20262 0x4d38
> > #define PCI_DEVICE_ID_PROMISE_20268 0x4d68
> > -#define PCI_DEVICE_ID_PROMISE_20268R 0x6268
> > #define PCI_DEVICE_ID_PROMISE_20269 0x4d69
> > #define PCI_DEVICE_ID_PROMISE_20275 0x1275
> > #define PCI_DEVICE_ID_PROMISE_5300 0x5300
> .org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.105 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site