summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/drivers/net/skeleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/ipxe/src/drivers/net/skeleton.h')
-rw-r--r--qemu/roms/ipxe/src/drivers/net/skeleton.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/qemu/roms/ipxe/src/drivers/net/skeleton.h b/qemu/roms/ipxe/src/drivers/net/skeleton.h
new file mode 100644
index 000000000..3de2afa5b
--- /dev/null
+++ b/qemu/roms/ipxe/src/drivers/net/skeleton.h
@@ -0,0 +1,23 @@
+#ifndef _SKELETON_H
+#define _SKELETON_H
+
+/** @file
+ *
+ * Skeleton network driver
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+/** Skeleton BAR size */
+#define SKELETON_BAR_SIZE 256
+
+/** A skeleton network card */
+struct skeleton_nic {
+ /** Registers */
+ void *regs;
+ /** MII interface */
+ struct mii_interface mii;
+};
+
+#endif /* _SKELETON_H */