summaryrefslogtreecommitdiffstats
path: root/src/roms/SLOF/include/netdriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roms/SLOF/include/netdriver.h')
-rw-r--r--src/roms/SLOF/include/netdriver.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/roms/SLOF/include/netdriver.h b/src/roms/SLOF/include/netdriver.h
new file mode 100644
index 0000000..d81134e
--- /dev/null
+++ b/src/roms/SLOF/include/netdriver.h
@@ -0,0 +1,24 @@
+/******************************************************************************
+ * Copyright (c) 2013 IBM Corporation
+ * All rights reserved.
+ * This program and the accompanying materials
+ * are made available under the terms of the BSD License
+ * which accompanies this distribution, and is available at
+ * http://www.opensource.org/licenses/bsd-license.php
+ *
+ * Contributors:
+ * IBM Corporation - initial implementation
+ ******************************************************************************/
+
+#ifndef _NETDRIVER_H
+#define _NETDRIVER_H
+
+#include <stdint.h>
+
+typedef struct net_driver {
+ uint8_t mac_addr[6];
+ uint32_t reg;
+ int running;
+} net_driver_t;
+
+#endif
OpenPOWER on IntegriCloud