diff options
author | wdenk <wdenk> | 2004-08-02 21:11:11 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-08-02 21:11:11 +0000 |
commit | 68ceb29e7133a0f972f53d3d61fd61207374baec (patch) | |
tree | aea2bf247ffeabcab9e908c152b316e269e2e5ee /include | |
parent | 9aea95307fdb0ffe0d3a98a17ac73e5040c9756a (diff) | |
download | u-boot-imx-68ceb29e7133a0f972f53d3d61fd61207374baec.zip u-boot-imx-68ceb29e7133a0f972f53d3d61fd61207374baec.tar.gz u-boot-imx-68ceb29e7133a0f972f53d3d61fd61207374baec.tar.bz2 |
Add support for console over UDP (compatible to Ingo Molnar's
netconsole patch under Linux)
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/TQM860L.h | 2 | ||||
-rw-r--r-- | include/devices.h | 3 | ||||
-rw-r--r-- | include/net.h | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/TQM860L.h b/include/configs/TQM860L.h index adac808..bc0f7c7 100644 --- a/include/configs/TQM860L.h +++ b/include/configs/TQM860L.h @@ -97,6 +97,8 @@ CFG_CMD_IDE | \ CFG_CMD_DATE ) +#define CONFIG_NETCONSOLE + /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ #include <cmd_confdefs.h> diff --git a/include/devices.h b/include/devices.h index 09c2c5f..2d9e282 100644 --- a/include/devices.h +++ b/include/devices.h @@ -108,5 +108,8 @@ int drv_keyboard_init (void); #ifdef CONFIG_USB_TTY int drv_usbtty_init (void); #endif +#ifdef CONFIG_NETCONSOLE +int drv_nc_init (void); +#endif #endif /* _DEVICES_H_ */ diff --git a/include/net.h b/include/net.h index 68f5fea..5a6b808 100644 --- a/include/net.h +++ b/include/net.h @@ -314,6 +314,7 @@ extern volatile uchar * NetRxPkt; /* Current receive packet */ extern int NetRxPktLen; /* Current rx packet length */ extern unsigned NetIPID; /* IP ID (counting) */ extern uchar NetBcastAddr[6]; /* Ethernet boardcast address */ +extern uchar NetEtherNullAddr[6]; #define VLAN_NONE 4095 /* untagged */ #define VLAN_IDMASK 0x0fff /* mask of valid vlan id */ @@ -334,7 +335,7 @@ extern int NetState; /* Network loop state */ extern int NetRestartWrap; /* Tried all network devices */ #endif -typedef enum { BOOTP, RARP, ARP, TFTP, DHCP, PING, DNS, NFS, CDP } proto_t; +typedef enum { BOOTP, RARP, ARP, TFTP, DHCP, PING, DNS, NFS, CDP, NETCONS } proto_t; /* from net/net.c */ extern char BootFile[128]; /* Boot File name */ |