summaryrefslogtreecommitdiffstats
path: root/drivers/net/ax88796.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2008-09-30 15:02:53 +0900
committerBen Warren <biggerbadderben@gmail.com>2008-10-13 22:28:32 -0700
commit702c85b0e876d587c11acdbb55738ee52acd54f4 (patch)
tree7b7c737d786cacd7ab57ec0c95e6535211add08c /drivers/net/ax88796.c
parentb3ed233198c5ac54aa83dd51f05fcb44ee75f42b (diff)
downloadtalos-obmc-uboot-702c85b0e876d587c11acdbb55738ee52acd54f4.tar.gz
talos-obmc-uboot-702c85b0e876d587c11acdbb55738ee52acd54f4.zip
net: ne2000: Divided a function of NE2000 driver
get_prom function was used __attriute__ , but it is not enable. ax88796.o does not do link besides ne2000.o. When ld is carried out, get_prom function of ax88796.c is ignored. This problem is a thing by specifications of ld. I checked and test this patch on SuperH and MIPS. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/ax88796.c')
-rw-r--r--drivers/net/ax88796.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
index 39cd101f08..20891418a1 100644
--- a/drivers/net/ax88796.c
+++ b/drivers/net/ax88796.c
@@ -143,7 +143,7 @@ static void ax88796_mac_read(u8 *buff)
}
}
-int get_prom(u8* mac_addr)
+int get_prom(u8* mac_addr, u8* base_addr)
{
u8 prom[32];
int i;
OpenPOWER on IntegriCloud