* PDC 20276 RAID support in 2.4.18
@ 2002-07-26 11:13 Steven Dake
2002-07-26 18:18 ` Mads Peter Bach
2002-07-27 0:51 ` Alvin Oga
0 siblings, 2 replies; 3+ messages in thread
From: Steven Dake @ 2002-07-26 11:13 UTC (permalink / raw)
To: arjanv, linux-raid
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
Arjan and others,
I have added support for the PDC 20276 used on Gigabyte GA-8IHXP (and
possibly other motherboards) to the ATARAID feature of the linux 2.4.18
kernel. I have tested that the pdcraid.c code works with this device.
I suspect you can drive this patch into the mainline kernel, but if you
know of a better person, please advise.
Thanks!
-steve
[-- Attachment #2: linux-pdc20276.patch --]
[-- Type: text/plain, Size: 2260 bytes --]
Binary files linux/arch/i386/boot/vmlinuz-pdc and linux-pdc20276/arch/i386/boot/vmlinuz-pdc differ
diff -uNr linux/drivers/ide/ide-pci.c linux-pdc20276/drivers/ide/ide-pci.c
--- linux/drivers/ide/ide-pci.c Thu Oct 25 20:53:47 2001
+++ linux-pdc20276/drivers/ide/ide-pci.c Wed Jul 24 18:20:02 2002
@@ -47,6 +47,7 @@
#define DEVID_PDC20267 ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20267})
#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})
+#define DEVID_PDC20276 ((ide_pci_devid_t){PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20276})
#define DEVID_RZ1000 ((ide_pci_devid_t){PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_RZ1000})
#define DEVID_RZ1001 ((ide_pci_devid_t){PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_RZ1001})
#define DEVID_SAMURAI ((ide_pci_devid_t){PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_SAMURAI_IDE})
@@ -406,6 +407,7 @@
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 },
+ {DEVID_PDC20276,"PDC20276", PCI_PDC202XX, ATA66_PDC202XX, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 16 },
{DEVID_RZ1000, "RZ1000", NULL, NULL, INIT_RZ1000, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
{DEVID_RZ1001, "RZ1001", NULL, NULL, INIT_RZ1000, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
{DEVID_SAMURAI, "SAMURAI", NULL, NULL, INIT_SAMURAI, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
diff -uNr linux/include/linux/pci_ids.h linux-pdc20276/include/linux/pci_ids.h
--- linux/include/linux/pci_ids.h Mon Feb 25 19:38:13 2002
+++ linux-pdc20276/include/linux/pci_ids.h Wed Jul 24 18:17:36 2002
@@ -606,6 +606,7 @@
#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_20276 0x5275
#define PCI_DEVICE_ID_PROMISE_5300 0x5300
#define PCI_VENDOR_ID_N9 0x105d
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PDC 20276 RAID support in 2.4.18
2002-07-26 11:13 PDC 20276 RAID support in 2.4.18 Steven Dake
@ 2002-07-26 18:18 ` Mads Peter Bach
2002-07-27 0:51 ` Alvin Oga
1 sibling, 0 replies; 3+ messages in thread
From: Mads Peter Bach @ 2002-07-26 18:18 UTC (permalink / raw)
To: linux-raid
Steven Dake wrote:
> Arjan and others,
>
> I have added support for the PDC 20276 used on Gigabyte GA-8IHXP (and
> possibly other motherboards) to the ATARAID feature of the linux 2.4.18
> kernel. I have tested that the pdcraid.c code works with this device.
What's wrong with the PDC 20276 support in the 2.4.19preX and rc kernels?
Best regards,
Mads Bach
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PDC 20276 RAID support in 2.4.18
2002-07-26 11:13 PDC 20276 RAID support in 2.4.18 Steven Dake
2002-07-26 18:18 ` Mads Peter Bach
@ 2002-07-27 0:51 ` Alvin Oga
1 sibling, 0 replies; 3+ messages in thread
From: Alvin Oga @ 2002-07-27 0:51 UTC (permalink / raw)
To: Steven Dake; +Cc: arjanv, linux-raid
hi ya steve
how was the system tested ???
-- my simple raid-compatibility test is:
( assuming raid1 or raid5 setup on ide disks )
- pull out /dev/hda
- see if it boots
- pull out /dev/hdc ( the other boot disk )
- see if it boots
- plug a virgin ( unformatted/unpartitioned disk )
into either /dev/hda or /dev/hdc
- see if it boots and resyncs itself
if the system doesnt boot or doesnt resync ( all by itself )
than i'd see its a problem and need more fixing... and tweeking
- i disable all onboard ( motherboard/firmware based raid )
have fun
alvin
the pdc 202xx series chips are great for sw raid5...
( inexpensive, functional and works in the promise/maxtor pci cards )
On Fri, 26 Jul 2002, Steven Dake wrote:
> Arjan and others,
>
> I have added support for the PDC 20276 used on Gigabyte GA-8IHXP (and
> possibly other motherboards) to the ATARAID feature of the linux 2.4.18
> kernel. I have tested that the pdcraid.c code works with this device.
>
> I suspect you can drive this patch into the mainline kernel, but if you
> know of a better person, please advise.
>
> Thanks!
> -steve
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-27 0:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-26 11:13 PDC 20276 RAID support in 2.4.18 Steven Dake
2002-07-26 18:18 ` Mads Peter Bach
2002-07-27 0:51 ` Alvin Oga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).