Thread (7 messages) 7 messages, 3 authors, 2007-03-18

Re: Add suport for Marvell 88SE6121 in ahci

From: Jose Alberto Reguero <hidden>
Date: 2007-01-31 16:43:27

El Miércoles, 31 de Enero de 2007 16:03, Jeff Garzik escribió:
Jose Alberto Reguero wrote:
quoted
This work for kernel 2.6.20-rc6

First apply this patch:

http://marc.theaimsgroup.com/?l=linux-ide&m=116986924301674&w=2

Then apply the patch attached.

Comments:

The Marvell 88SE6121 has three ports (0,1,2). The PATA port is port 2.
(PATA port for 6141 is port 4). In M2V Motherboard(Marvell 88SE6121)
there is only two SATA ports, one of them is external SATA. This two
ports work well with this patch.

With this part:

<       if (pci_enable_msi(pdev) == 0)
---
quoted
      if ((pdev->vendor != PCI_VENDOR_ID_MARVELL) &&
(pci_enable_msi(pdev)
== 0))

you don't need to disable MSI in kernel.
MMCONFIG is disabled at startup in M2V.

dmesg:
........
PCI: Not using MMCONFIG.
Very useful data points, thanks!

For the future, please make sure to create patches using "diff -u",
otherwise the patches are very difficult to read and apply.

I've attached your patch as a "diff -u" patch so that others can check
it out.

	Jeff
Thanks.
I have another question. When attaching a external SATA disk to the external 
SATA PORT, the driver take som seconds, and recognize de disk, and work well, 
but there are some errors in dmesg. 

dmesg1 is after attaching de disk

dmesg2 is after detaching the disk

Can you look them?
They are important?

Jose Alberto

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help