]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] skge: function amd macro name change
authorStephen Hemminger <shemminger@osdl.org>
Mon, 27 Jun 2005 18:33:04 +0000 (11:33 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 27 Jun 2005 22:05:05 +0000 (18:05 -0400)
commit6b0c1480491a9e2d9d34368e09e6acddbb173515
tree178df55e99fa18e7b8ad5f757b4953c2691b174c
parent275834d1095dcd52d0fefd0d3f7d0320552fe277
[PATCH] skge: function amd macro name change

The inlines and macro's needed some cleanup's and fixes:
 * change name of macro SKGEMAC_REG to SK_REG to better reflect usage
   and fix comments
 * ditto for SK_GEXM_REG -> SK_XMAC_REG and SKGEGMA_REG -> SK_GMA_REG

 * change skge_gm_ to just gm_ since it is just a local function and long
   names look ugly.
 * change skge_xm_ to just xm_
 * fix xm_write32 to write as two u16's with correct byte order
 * fix xm_outaddr to correctly use offset

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/skge.c
drivers/net/skge.h