Thread (34 messages) 34 messages, 5 authors, 2011-03-11

[PATCH 4/8] macb: initial support for Cadence GEM

flat view
STALE5701d

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2011-03-11 13:34:45
Also in: netdev

Revision v1 of 8 in this series.

Revisions (8)
  1. v1
  2. v1
  3. v1
  4. v1 current
  5. v1
  6. v1
  7. v1
  8. v1
On 13:30 Fri 11 Mar     , Jamie Iles wrote:
On Fri, Mar 11, 2011 at 02:14:15PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
quoted
On 10:10 Thu 10 Mar     , Jamie Iles wrote:
quoted
The Cadence GEM is based on the MACB Ethernet controller but has a few
small changes with regards to register and bitfield placement.  This
patch adds a new platform driver for gem which sets allows the driver to
tell at runtime whether it is targetting a GEM device.

Signed-off-by: Jamie Iles <redacted>
could we avoid all this if else everywhere?
I can't really see any other way to do this, but you're right it isn't 
particularly nice.  Having said that, it is only in the initialization 
code so there shouldn't be any real performance impact.

I'm open to ideas though!
use macro or inline at least

Best Regards,
J.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help