mirror of
https://github.com/ipxe/ipxe
synced 2026-01-02 09:52:49 +03:00
[skel] Add skeleton network driver
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
23
src/drivers/net/skeleton.h
Normal file
23
src/drivers/net/skeleton.h
Normal file
@@ -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 */
|
||||
Reference in New Issue
Block a user