[wd2010] disable DMA pagefault workaround (no longer required)

Fri, 18 Jan 2013 17:20:07 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Fri, 18 Jan 2013 17:20:07 +0000
changeset 130
1fc7d607dbb4
parent 129
8b24770dea79
child 131
21c770fcee50

[wd2010] disable DMA pagefault workaround (no longer required)

src/wd2010.c file | annotate | diff | revisions
     1.1 --- a/src/wd2010.c	Fri Jan 18 17:18:50 2013 +0000
     1.2 +++ b/src/wd2010.c	Fri Jan 18 17:20:07 2013 +0000
     1.3 @@ -296,7 +296,7 @@
     1.4  			break;
     1.5  		case WD2010_REG_SDH:
     1.6  			/*XXX: remove this once the DMA page fault test passes (unless this is actually the correct behavior here)*/
     1.7 -			ctx->data_pos = ctx->data_len = 0;
     1.8 +			//ctx->data_pos = ctx->data_len = 0;
     1.9  			ctx->sdh = val;
    1.10  			break;
    1.11  		case WD2010_REG_COMMAND:	// Command register