[efi] Include NII driver within "snp" and "snponly" build targets

End users almost certainly don't care whether the underlying interface
is SNP or NII/UNDI.  Try to minimise surprise and unnecessary
documentation by including the NII driver whenever the SNP driver is
requested.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2014-10-17 16:36:00 +01:00
parent feb3a0f7d5
commit af17abf67f
4 changed files with 209 additions and 120 deletions

17
src/drivers/net/efi/nii.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef _NII_H
#define _NII_H
/** @file
*
* NII driver
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
struct efi_device;
extern int nii_start ( struct efi_device *efidev );
extern void nii_stop ( struct efi_device *efidev );
#endif /* _NII_H */