]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit788718f78a26cca9371c6ee4e6175ce00b3071f1
tree6f79d249a19a5094e6da5e7cc8fc7afd27e4e961
parentb4faa2154eb2c730a8f0a749ed2266b06846771b
[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