lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subjectnvida sata controller CK804 and NCQ not working on linux-2.6.28||29.1
Hi,
to make NCQ work with nvidia sata CK804 I had to introduce this simple
change into sata-nv.c. Is there some reason I am missing why adma_enable is
not by default one, so later in the dome NCQ is not enabled?



--- linux/drivers/ata/sata_nv.c.old 2009-04-06 14:56:19.000000000 +0200
+++ linux/drivers/ata/sata_nv.c 2009-04-06 14:56:24.000000000 +0200
@@ -577,7 +577,7 @@
MODULE_DEVICE_TABLE(pci, nv_pci_tbl);
MODULE_VERSION(DRV_VERSION);

-static int adma_enabled;
+static int adma_enabled = 1;
static int swncq_enabled = 1;

static void nv_adma_register_mode(struct ata_port *ap)
regards


Luigi Genoni

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.



\
 
 \ /
  Last update: 2009-04-07 23:45    [W:0.030 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site