iPXE
Data Fields
hermon_port_type Struct Reference

A Hermon port type. More...

#include <hermon.h>

Data Fields

int(* register_dev )(struct hermon *hermon, struct hermon_port *port)
 Register port.
void(* state_change )(struct hermon *hermon, struct hermon_port *port, int link_up)
 Port state changed.
void(* unregister_dev )(struct hermon *hermon, struct hermon_port *port)
 Unregister port.

Detailed Description

A Hermon port type.

Definition at line 798 of file hermon.h.


Field Documentation

Register port.

Parameters:
hermonHermon device
portHermon port
Return values:
rcReturn status code

Definition at line 805 of file hermon.h.

Referenced by hermon_probe().

void( * hermon_port_type::state_change)(struct hermon *hermon, struct hermon_port *port, int link_up)

Port state changed.

Parameters:
hermonHermon device
portHermon port
link_upLink is up

Definition at line 813 of file hermon.h.

Referenced by hermon_event_port_state_change().

Unregister port.

Parameters:
hermonHermon device
portHermon port

Definition at line 821 of file hermon.h.

Referenced by hermon_probe(), and hermon_remove().


The documentation for this struct was generated from the following file: