Use "struct undi_device" instead of "struct pxe_device", and use the
function prefix "undinet_" and the variable name "undinic" in undinet.c, so that we can reserve the variable name "undi" for a struct undi_device. The idea is that we preserve the Etherboot 5.4 convention that the "UNDI" code refers to our using an underlying UNDI stack, while the "PXE" code refers to our providing a PXE API.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#ifndef _UNDINET_H
|
||||
#define _UNDINET_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* UNDI network device driver
|
||||
*
|
||||
*/
|
||||
|
||||
struct undi_device;
|
||||
|
||||
extern int undinet_probe ( struct undi_device *undi );
|
||||
extern void undinet_remove ( struct undi_device *undi );
|
||||
|
||||
#endif /* _UNDINET_H */
|
||||
Reference in New Issue
Block a user