[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091214.231534.225225771.davem@davemloft.net>
Date: Mon, 14 Dec 2009 23:15:34 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: magnus.damm@...il.com
Cc: netdev@...r.kernel.org, lethal@...ux-sh.org,
linux-sh@...r.kernel.org
Subject: Re: [PATCH] net: sh_eth alignment fix for sh7724 using NET_IP_ALIGN
From: Magnus Damm <magnus.damm@...il.com>
Date: Tue, 15 Dec 2009 16:13:47 +0900
> Sorry about the confusion, but the #ifdef was actually intentional. =)
> I can't find any description of the RPADIR register in the sh7724 data
> sheet, but testing shows that the buffers are adjusted properly. So
> since I don't know the register layout I prefer to optimize for the
> known working combination of NET_IP_ALIGN == 2 and simply disable
> .rpadir usage for other NET_IP_ALIGN cases.
NET_IP_ALIGN is never != 2 on SUPERH
SH_ETH depends on SUPERH
It's a fantasy ifdef, of sorts. :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists