iPXE
Functions
mnp.c File Reference

MNP driver. More...

#include <errno.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/efi_driver.h>
#include <ipxe/efi/mnpnet.h>
#include "snpnet.h"

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static int mnp_supported (EFI_HANDLE device)
 Check to see if driver supports a device. More...
 
struct efi_driver mnp_driver __efi_driver (EFI_DRIVER_MNP)
 EFI MNP driver. More...
 

Detailed Description

MNP driver.

Definition in file mnp.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ mnp_supported()

static int mnp_supported ( EFI_HANDLE  device)
static

Check to see if driver supports a device.

Parameters
deviceEFI device handle
Return values
rcReturn status code

Definition at line 44 of file mnp.c.

44  {
46 
47  return snpnet_supported ( device, binding, 0 );
48 }
128 bit buffer containing a unique identifier value.
Definition: Base.h:215
EFI_GUID efi_managed_network_service_binding_protocol_guid
Managed network service binding protocol GUID.
Definition: efi_guid.c:284
A hardware device.
Definition: device.h:76
int snpnet_supported(EFI_HANDLE device, EFI_GUID *protocol, int inhibit_wifi)
Check to see if driver supports a device.
Definition: snpnet.c:510

References efi_managed_network_service_binding_protocol_guid, and snpnet_supported().

◆ __efi_driver()

struct efi_driver mnp_driver __efi_driver ( EFI_DRIVER_MNP  )

EFI MNP driver.