Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
e0a6140d
Commit
e0a6140d
authored
Mar 25, 2008
by
Wolfgang Denk
Browse files
ne2000 driver: change #ifdef to Makefile conditional compilation
Signed-off-by:
Wolfgang Denk
<
wd@denx.de
>
parent
e710185a
Changes
2
Hide whitespace changes
Inline
Side-by-side
drivers/net/Makefile
View file @
e0a6140d
...
...
@@ -41,7 +41,7 @@ COBJS-y += lan91c96.o
COBJS-y
+=
macb.o
COBJS-y
+=
mcffec.o
COBJS-y
+=
natsemi.o
COBJS-
y
+=
ne2000.o
COBJS-
$(CONFIG_DRIVER_NE2000)
+=
ne2000.o
COBJS-y
+=
netarm_eth.o
COBJS-y
+=
netconsole.o
COBJS-y
+=
ns7520_eth.o
...
...
drivers/net/ne2000.c
View file @
e0a6140d
...
...
@@ -80,8 +80,6 @@ Add SNMP
#include
<net.h>
#include
<malloc.h>
#ifdef CONFIG_DRIVER_NE2000
#define mdelay(n) udelay((n)*1000)
/* forward definition of function used for the uboot interface */
void
uboot_push_packet_len
(
int
len
);
...
...
@@ -851,4 +849,3 @@ int eth_send(volatile void *packet, int length) {
}
return
0
;
}
#endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment