[TG3]: nvram cleanup
authorMichael Chan <mchan@broadcom.com>
Tue, 21 Mar 2006 06:29:15 +0000 (22:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:29:15 +0000 (22:29 -0800)
commit1820180b0e59cc48019414018b180518059f50d3
tree6f79d249a19a5094e6da5e7cc8fc7afd27e4e961
parent79f4d13a15774c2d442b619bad95a4c612eed4f3
[TG3]: nvram cleanup

Some nvram related cleanup:

1. Add a tg3_nvram_read_swab() since swabing the data is frequently
done.

2. Add a function to convert nvram address to physical address
instead of doing it in 2 separate places.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c