Marvel 6121 ahci

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using Marvel 6121 with this patch without any problems. The flags:
ATA_FLAG_SATA
ATA_FLAG_NO_LEGACY
ATA_FLAG_MMIO
ATA_FLAG_PIO_DMA
was the default ahci flags when board_ahci_mv was aded to ahci, and the 
AHCI_HFLAG_NO_NCQ was aded before the NCQ fix.

Jose Alberto
--- linux-2.6.25-rc9/drivers/ata/ahci.c	2008-04-11 22:32:29.000000000 +0200
+++ linux-2.6.25-rc9.new/drivers/ata/ahci.c	2008-04-12 02:11:38.000000000 +0200
@@ -443,10 +443,9 @@
 	},
 	/* board_ahci_mv */
 	{
-		AHCI_HFLAGS	(AHCI_HFLAG_NO_NCQ | AHCI_HFLAG_NO_MSI |
+		AHCI_HFLAGS	(AHCI_HFLAG_NO_MSI |
 				 AHCI_HFLAG_MV_PATA),
-		.flags		= ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY |
-				  ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA,
+		.flags		= AHCI_FLAG_COMMON,
 		.link_flags	= AHCI_LFLAG_COMMON,
 		.pio_mask	= 0x1f, /* pio0-4 */
 		.udma_mask	= ATA_UDMA6,

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux