ax88796: add 93cx6 eeprom support
authorMagnus Damm <magnus.damm@gmail.com>
Sat, 29 Sep 2007 05:42:16 +0000 (22:42 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:56 +0000 (16:53 -0700)
commit89e536a190f90d038bae7905a0c582cb7089b739
tree3d9f7dc5c750c8adcadf568e98f12395bd7c5b68
parent6daf65310374d24d888201b7a6eba90b44008b7b
ax88796: add 93cx6 eeprom support

Hook up the 93cx6 eeprom code to the ax88796 driver and modify the ax88796
driver to read out the mac address from the eeprom.  We need this for the
ax88796 on certain SuperH boards.  The pin configuration used to connect
the eeprom to the ax88796 on these boards is the same as pointed out by the
ax88796 datasheet, so we can probably reuse this code for multiple
platforms in the future.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/Kconfig
drivers/net/ax88796.c
include/linux/eeprom_93cx6.h
include/net/ax88796.h