From: Sergei Shtylyov Date: Thu, 13 Jun 2013 18:12:45 +0000 (+0400) Subject: sh_eth: get R8A7740 Rx descriptor word 0 shift out of #ifdef X-Git-Tag: v3.11-rc1~16^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac8025a643a0e0beb81f3f37ca693364c6b77858;p=pandora-kernel.git sh_eth: get R8A7740 Rx descriptor word 0 shift out of #ifdef The only R8A7740 specific #ifdef hindering ARM multiplatform build is left in sh_eth_rx(): it covers the code shifting Rx buffer descriptor word 0 by 16. Get rid of the #ifdef by adding 'shift_rd0' field to the 'struct sh_eth_cpu_data', making the shift dependent on it, and setting it to 1 for the R8A7740 case... Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed