* Marvell SATA AHCI 0x6141
@ 2007-03-09 22:02 Davor
2007-03-09 22:31 ` Jeff Garzik
0 siblings, 1 reply; 4+ messages in thread
From: Davor @ 2007-03-09 22:02 UTC (permalink / raw)
To: jgarzik, linux-ide
HI
I have onboard
02:00.0 SATA controller: Marvell Technology Group Ltd. Unknown device 6141 (rev 01)
02:00.0 0106: 11ab:6141 (rev 01)
and it's an AHCI compatible device so a simple patch makes it work
(patch agains linux-2.6.20.2)
--- drivers/ata/ahci.c.orig 2007-03-09 21:58:26.000000000 +0100
+++ drivers/ata/ahci.c 2007-03-09 22:38:20.000000000 +0100
@@ -437,6 +437,9 @@ static const struct pci_device_id ahci_p
{ PCI_VDEVICE(SI, 0x1185), board_ahci }, /* SiS 966 */
{ PCI_VDEVICE(SI, 0x0186), board_ahci }, /* SiS 968 */
+ /* Marvell */
+ { PCI_VDEVICE(MARVELL, 0x6141), board_ahci }, /* 6141 */
+
/* Generic, PCI class code for AHCI */
{ PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
0x010601, 0xffffff, board_ahci },
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Marvell SATA AHCI 0x6141
2007-03-09 22:02 Marvell SATA AHCI 0x6141 Davor
@ 2007-03-09 22:31 ` Jeff Garzik
2007-03-12 9:42 ` Davor Emard
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2007-03-09 22:31 UTC (permalink / raw)
To: Davor; +Cc: linux-ide
Davor wrote:
> HI
>
> I have onboard
> 02:00.0 SATA controller: Marvell Technology Group Ltd. Unknown device 6141 (rev 01)
> 02:00.0 0106: 11ab:6141 (rev 01)
>
> and it's an AHCI compatible device so a simple patch makes it work
> (patch agains linux-2.6.20.2)
>
> --- drivers/ata/ahci.c.orig 2007-03-09 21:58:26.000000000 +0100
> +++ drivers/ata/ahci.c 2007-03-09 22:38:20.000000000 +0100
> @@ -437,6 +437,9 @@ static const struct pci_device_id ahci_p
> { PCI_VDEVICE(SI, 0x1185), board_ahci }, /* SiS 966 */
> { PCI_VDEVICE(SI, 0x0186), board_ahci }, /* SiS 968 */
>
> + /* Marvell */
> + { PCI_VDEVICE(MARVELL, 0x6141), board_ahci }, /* 6141 */
Yep, though you want the more-complete patch from libata-dev.git#mv-ahci
or akpm's -mm.
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Marvell SATA AHCI 0x6141
2007-03-09 22:31 ` Jeff Garzik
@ 2007-03-12 9:42 ` Davor Emard
2007-03-13 0:05 ` Davor Emard
0 siblings, 1 reply; 4+ messages in thread
From: Davor Emard @ 2007-03-12 9:42 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide
HI
For i386 it works (2.6.20.2).
(hotswap has bug,
disk has to first be inserted (nothing happens), then removed and
insterted again
then it's recognized)
However for amd64 (2.6.20.2) on the same hardware it doesn't work.
During boot the ata* messages appear on the ata4 controller where
the disk is connected but the kernel waits long with some
messages but in the end no disk is recognized. hoswap insert/remove
doesn't help either to detect the disk on amd64
I'd like to try this patch if it would fix amd64 but
How to download out the libata#mv-ahci patch?
Best regards, Davor
On 3/9/07, Jeff Garzik <jgarzik@pobox.com> wrote:
> Davor wrote:
> > HI
> >
> > I have onboard
> > 02:00.0 SATA controller: Marvell Technology Group Ltd. Unknown device 6141
> (rev 01)
> > 02:00.0 0106: 11ab:6141 (rev 01)
> >
> > and it's an AHCI compatible device so a simple patch makes it work
> > (patch agains linux-2.6.20.2)
> >
> > --- drivers/ata/ahci.c.orig 2007-03-09 21:58:26.000000000 +0100
> > +++ drivers/ata/ahci.c 2007-03-09 22:38:20.000000000 +0100
> > @@ -437,6 +437,9 @@ static const struct pci_device_id ahci_p
> > { PCI_VDEVICE(SI, 0x1185), board_ahci }, /* SiS 966 */
> > { PCI_VDEVICE(SI, 0x0186), board_ahci }, /* SiS 968 */
> >
> > + /* Marvell */
> > + { PCI_VDEVICE(MARVELL, 0x6141), board_ahci }, /* 6141 */
>
> Yep, though you want the more-complete patch from libata-dev.git#mv-ahci
> or akpm's -mm.
>
> Jeff
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Marvell SATA AHCI 0x6141
2007-03-12 9:42 ` Davor Emard
@ 2007-03-13 0:05 ` Davor Emard
0 siblings, 0 replies; 4+ messages in thread
From: Davor Emard @ 2007-03-13 0:05 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide
hi
I got it running on amd64 (with my minimalistic patch)
I checked out the 2.6.21-rc3-mm there's some marvell
related stuff but I think it's for a mixed marvell cards with
serail and parallel ata. Still this patch has chip id 0x6145
while my 0x6141 (it's serial ata only) has to be added
to get recognized by ahci.c
On 3/12/07, Davor Emard <vordah@gmail.com> wrote:
> HI
>
> For i386 it works (2.6.20.2).
> (hotswap has bug,
> disk has to first be inserted (nothing happens), then removed and
> insterted again
> then it's recognized)
>
> However for amd64 (2.6.20.2) on the same hardware it doesn't work.
> During boot the ata* messages appear on the ata4 controller where
> the disk is connected but the kernel waits long with some
> messages but in the end no disk is recognized. hoswap insert/remove
> doesn't help either to detect the disk on amd64
>
> I'd like to try this patch if it would fix amd64 but
> How to download out the libata#mv-ahci patch?
>
> Best regards, Davor
>
>
> On 3/9/07, Jeff Garzik <jgarzik@pobox.com> wrote:
> > Davor wrote:
> > > HI
> > >
> > > I have onboard
> > > 02:00.0 SATA controller: Marvell Technology Group Ltd. Unknown device
> 6141
> > (rev 01)
> > > 02:00.0 0106: 11ab:6141 (rev 01)
> > >
> > > and it's an AHCI compatible device so a simple patch makes it work
> > > (patch agains linux-2.6.20.2)
> > >
> > > --- drivers/ata/ahci.c.orig 2007-03-09 21:58:26.000000000 +0100
> > > +++ drivers/ata/ahci.c 2007-03-09 22:38:20.000000000 +0100
> > > @@ -437,6 +437,9 @@ static const struct pci_device_id ahci_p
> > > { PCI_VDEVICE(SI, 0x1185), board_ahci }, /* SiS 966 */
> > > { PCI_VDEVICE(SI, 0x0186), board_ahci }, /* SiS 968 */
> > >
> > > + /* Marvell */
> > > + { PCI_VDEVICE(MARVELL, 0x6141), board_ahci }, /* 6141 */
> >
> > Yep, though you want the more-complete patch from libata-dev.git#mv-ahci
> > or akpm's -mm.
> >
> > Jeff
> >
> >
> >
> >
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-03-13 0:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 22:02 Marvell SATA AHCI 0x6141 Davor
2007-03-09 22:31 ` Jeff Garzik
2007-03-12 9:42 ` Davor Emard
2007-03-13 0:05 ` Davor Emard
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).