]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: ne2000: Divided a function of NE2000 driver
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Tue, 30 Sep 2008 06:02:53 +0000 (15:02 +0900)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 14 Oct 2008 05:28:32 +0000 (22:28 -0700)
commit702c85b0e876d587c11acdbb55738ee52acd54f4
tree7b7c737d786cacd7ab57ec0c95e6535211add08c
parentb3ed233198c5ac54aa83dd51f05fcb44ee75f42b
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>
drivers/net/Makefile
drivers/net/ax88796.c
drivers/net/ne2000.c
drivers/net/ne2000_base.c [new file with mode: 0644]
drivers/net/ne2000_base.h