iPXE
Functions
snp.c File Reference

SNP driver. More...

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

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static int snp_supported (EFI_HANDLE device)
 Check to see if driver supports a device. More...
 
static int nii_supported (EFI_HANDLE device)
 Check to see if driver supports a device. More...
 
struct efi_driver snp_driver __efi_driver (EFI_DRIVER_NORMAL)
 EFI SNP driver. More...
 

Detailed Description

SNP driver.

Definition in file snp.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ snp_supported()

static int snp_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 43 of file snp.c.

43  {
44 
46 }
int snpnet_supported(EFI_HANDLE device, EFI_GUID *protocol)
Check to see if driver supports a device.
Definition: snpnet.c:495
EFI_GUID efi_simple_network_protocol_guid
Simple network protocol GUID.
Definition: efi_guid.c:307
A hardware device.
Definition: device.h:73

References efi_simple_network_protocol_guid, and snpnet_supported().

◆ nii_supported()

static int nii_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 54 of file snp.c.

54  {
55 
57 }
EFI_GUID efi_nii31_protocol_guid
Network interface identifier protocol GUID (new version)
Definition: efi_guid.c:279
int snpnet_supported(EFI_HANDLE device, EFI_GUID *protocol)
Check to see if driver supports a device.
Definition: snpnet.c:495
A hardware device.
Definition: device.h:73

References efi_nii31_protocol_guid, and snpnet_supported().

◆ __efi_driver()

struct efi_driver snp_driver __efi_driver ( EFI_DRIVER_NORMAL  )

EFI SNP driver.

EFI NII driver.