a494f9f911
Or1ksim is a generic OpenRISC 1000 architecture simulator capable of emulating OpenRISC based computer systems. Or1ksim provides several unique features: * Free, open source code * High level, fast, architecture simulation that allows early code analysis and system performance evaluation * All major models of OpenCores peripheral and system controller cores supported * Easy addition of new peripheral models * Remote debugging through a network socket with the GNU Debugger (GDB) * Support for different environments (memory configurations and sizes, OR1K processor model, configuration of peripheral devices)
18 lines
432 B
Text
18 lines
432 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $
|
|
|
|
--- peripheral/ethernet_i.h 2007/02/23 13:37:52 1.1
|
|
+++ peripheral/ethernet_i.h 2007/02/23 13:38:10
|
|
@@ -55,9 +55,12 @@
|
|
* so defining MSG_DONTWAIT is just (temporary) workaround !!!
|
|
*/
|
|
#define MSG_DONTWAIT 0x40
|
|
-#define ETH_HLEN 14
|
|
#endif /* __CYGWIN__ */
|
|
|
|
+#ifndef ETH_HLEN
|
|
+#define ETH_HLEN 14
|
|
+#endif
|
|
+
|
|
#define ETH_ALEN 6
|
|
|
|
struct ether_addr
|