[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200701061324.47993.jareguero@telefonica.net>
Date: Sat, 6 Jan 2007 13:24:47 +0100
From: Jose Alberto Reguero <jareguero@...efonica.net>
To: linux-kernel@...r.kernel.org
Cc: Jose Alberto Reguero <jareguero@...efonica.net>
Subject: [PATCH] Add suport for Marvell 88SE6121 in pata_marvell
Marvell 88SE6121 is a ahci controller, but I can't make it work with the achi
driver.
This part:
+ else if (pdev->device == 0x6121) {
+ mmio_base = pci_iomap(pdev, 5, 0);
+ if (mmio_base == NULL) {
+ return -ENOMEM;
+ }
+ /* turn on legacy mode */
+ writel(0, mmio_base + 0x04);
+ (void) readl(mmio_base + 0x04); /* flush */
+ }
put the ahci in legacy mode and work with pata_marvell.
Perhaps someone else can make it work whith the ahci driver.
Jose Alberto
View attachment "pata_marvell.diff" of type "text/x-diff" (1155 bytes)
Powered by blists - more mailing lists