projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc, 8xx: remove support for 8xx
[oweals/u-boot.git]
/
include
/
net.h
diff --git
a/include/net.h
b/include/net.h
index c3bfb6378203ee3e48316b872cc8feeec8cad03f..2eaa88224c9050755330e67a57ae7b541cfaa3fa 100644
(file)
--- a/
include/net.h
+++ b/
include/net.h
@@
-12,10
+12,6
@@
#ifndef __NET_H__
#define __NET_H__
#ifndef __NET_H__
#define __NET_H__
-#if defined(CONFIG_8xx)
-#include <commproc.h>
-#endif /* CONFIG_8xx */
-
#include <asm/cache.h>
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
#include <asm/cache.h>
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
@@
-168,7
+164,8
@@
void eth_halt_state_only(void); /* Set passive state */
#ifndef CONFIG_DM_ETH
struct eth_device {
#ifndef CONFIG_DM_ETH
struct eth_device {
- char name[16];
+#define ETH_NAME_LEN 16
+ char name[ETH_NAME_LEN];
unsigned char enetaddr[ARP_HLEN];
phys_addr_t iobase;
int state;
unsigned char enetaddr[ARP_HLEN];
phys_addr_t iobase;
int state;