* SATA on 2.4.x
@ 2004-03-15 14:36 Andrew Hogue
2004-03-15 14:56 ` Tvrtko A. Uršulin
2004-03-15 15:31 ` Stefan Smietanowski
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Hogue @ 2004-03-15 14:36 UTC (permalink / raw)
To: linux-kernel
Hi,
I am using a via8237 southbridge with sata support. I know that there is
support for this in 2.6.x but I cannot use 2.6.x due to some
incompatibility with my hardware.
Is there a patch to allow the via 8237 sata controller to work for kernel
2.4.x ?
Thanks,
-- Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SATA on 2.4.x
2004-03-15 14:36 SATA on 2.4.x Andrew Hogue
@ 2004-03-15 14:56 ` Tvrtko A. Uršulin
2004-03-15 15:31 ` Stefan Smietanowski
1 sibling, 0 replies; 3+ messages in thread
From: Tvrtko A. Uršulin @ 2004-03-15 14:56 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Hogue
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
On Monday 15 March 2004 15:36, Andrew Hogue wrote:
Hello Andrew,
> Is there a patch to allow the via 8237 sata controller to work for kernel
> 2.4.x ?
Try this one, it works for me flawlessly.
[-- Attachment #2: via-onboard-sata.patch --]
[-- Type: text/x-diff, Size: 1678 bytes --]
diff -aur linux-2.4.23-orig/drivers/ide/pci/generic.c linux-2.4.23-grsec/drivers/ide/pci/generic.c
--- linux-2.4.23-orig/drivers/ide/pci/generic.c 2003-10-07 11:21:32.000000000 +0200
+++ linux-2.4.23-grsec/drivers/ide/pci/generic.c 2003-12-17 09:07:01.000000000 +0100
@@ -140,7 +140,8 @@
{ PCI_VENDOR_ID_HINT, PCI_DEVICE_ID_HINT_VXPROII_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 6},
{ PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C561, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 7},
{ PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 8},
- { PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_PICCOLO, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 9},
+ { PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 9},
+ { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8237_SATA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 10},
{ 0, },
};
diff -aur linux-2.4.23-orig/drivers/ide/pci/generic.h linux-2.4.23-grsec/drivers/ide/pci/generic.h
--- linux-2.4.23-orig/drivers/ide/pci/generic.h 2003-10-07 11:21:32.000000000 +0200
+++ linux-2.4.23-grsec/drivers/ide/pci/generic.h 2003-12-23 09:53:46.000000000 +0100
@@ -140,6 +140,19 @@
.enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
.bootable = ON_BOARD,
.extra = 0,
+ },{ /* 10 */
+ .vendor = PCI_VENDOR_ID_VIA,
+ .device = PCI_DEVICE_ID_VIA_8237_SATA,
+ .name = "VIA8237SATA",
+ .init_chipset = init_chipset_generic,
+ .init_iops = NULL,
+ .init_hwif = init_hwif_generic,
+ .init_dma = init_dma_generic,
+ .channels = 2,
+ .autodma = AUTODMA,
+ .enablebits = {{0x00,0x00,0x00},{0x00,0x00,0x00}},
+ .bootable = OFF_BOARD,
+ .extra = 0,
},{
.vendor = 0,
.device = 0,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SATA on 2.4.x
2004-03-15 14:36 SATA on 2.4.x Andrew Hogue
2004-03-15 14:56 ` Tvrtko A. Uršulin
@ 2004-03-15 15:31 ` Stefan Smietanowski
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Smietanowski @ 2004-03-15 15:31 UTC (permalink / raw)
To: Andrew Hogue; +Cc: linux-kernel
Andrew Hogue wrote:
> Hi,
>
> I am using a via8237 southbridge with sata support. I know that there is
> support for this in 2.6.x but I cannot use 2.6.x due to some
> incompatibility with my hardware.
>
> Is there a patch to allow the via 8237 sata controller to work for kernel
> 2.4.x ?
>
> Thanks,
>
> -- Andrew
>
> -
> 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/
I've used the libata driver for it (makes it appear as a SCSI device)
and it's worked fine for me but I've stopped using it after finding
out about trouble with that controller. If you have a second sata
controller on board, like a promise for instance, use that instead.
You still need libata in that case though.
Trouble with the controller is that three motherboards from three
manufacturers have eaten* three harddrives for me.
There are numerous threads on the net about people experiencing
similar effects as I did ..
// Stefan
* Ate = had to RMA.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-15 15:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-15 14:36 SATA on 2.4.x Andrew Hogue
2004-03-15 14:56 ` Tvrtko A. Uršulin
2004-03-15 15:31 ` Stefan Smietanowski
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®