FreeBSD kernel BXE device code
bxe_ioctl.h File Reference
#include <sys/cdefs.h>
#include <sys/ioccom.h>
Include dependency graph for bxe_ioctl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bxe_grcdump
 
struct  bxe_drvinfo
 
struct  bxe_dev_setting
 
struct  bxe_get_regs
 
struct  bxe_eeprom
 
struct  bxe_reg_rdw
 
struct  bxe_pcicfg_rdw
 
struct  bxe_perm_mac_addr
 

Macros

#define BXE_DRV_NAME_LENGTH   32
 
#define BXE_DRV_VERSION_LENGTH   32
 
#define BXE_MFW_VERSION_LENGTH   32
 
#define BXE_STORMFW_VERSION_LENGTH   32
 
#define BXE_BUS_INFO_LENGTH   32
 
#define BXE_EEPROM_MAX_DATA_LEN   524288
 
#define BXE_EEPROM_CMD_SET_EEPROM   0x01
 
#define BXE_EEPROM_CMD_GET_EEPROM   0x02
 
#define BXE_READ_REG_CMD   0x01
 
#define BXE_WRITE_REG_CMD   0x02
 
#define BXE_REG_ACCESS_DIRECT   0x01
 
#define BXE_REG_ACCESS_INDIRECT   0x02
 
#define BXE_READ_PCICFG   0x01
 
#define BXE_WRITE_PCICFG   0x01
 
#define BXE_GRC_DUMP_SIZE   _IOWR('e', 1, bxe_grcdump_t)
 
#define BXE_GRC_DUMP   _IOWR('e', 2, bxe_grcdump_t)
 
#define BXE_DRV_INFO   _IOR('e', 3, bxe_drvinfo_t)
 
#define BXE_DEV_SETTING   _IOR('e', 4, bxe_dev_setting_t)
 
#define BXE_GET_REGS   _IOR('e', 5, bxe_get_regs_t)
 
#define BXE_EEPROM   _IOWR('e', 6, bxe_eeprom_t)
 
#define BXE_RDW_REG   _IOWR('e', 7, bxe_reg_rdw_t)
 
#define BXE_RDW_PCICFG   _IOWR('e', 8, bxe_reg_rdw_t)
 
#define BXE_MAC_ADDR   _IOWR('e', 9, bxe_perm_mac_addr_t)
 

Typedefs

typedef struct bxe_grcdump bxe_grcdump_t
 
typedef struct bxe_drvinfo bxe_drvinfo_t
 
typedef struct bxe_dev_setting bxe_dev_setting_t
 
typedef struct bxe_get_regs bxe_get_regs_t
 
typedef struct bxe_eeprom bxe_eeprom_t
 
typedef struct bxe_reg_rdw bxe_reg_rdw_t
 
typedef struct bxe_pcicfg_rdw bxe_pcicfg_rdw_t
 
typedef struct bxe_perm_mac_addr bxe_perm_mac_addr_t
 

Functions

 __FBSDID ("$FreeBSD$")
 

Macro Definition Documentation

◆ BXE_BUS_INFO_LENGTH

#define BXE_BUS_INFO_LENGTH   32

Definition at line 49 of file bxe_ioctl.h.

◆ BXE_DEV_SETTING

#define BXE_DEV_SETTING   _IOR('e', 4, bxe_dev_setting_t)

Definition at line 144 of file bxe_ioctl.h.

◆ BXE_DRV_INFO

#define BXE_DRV_INFO   _IOR('e', 3, bxe_drvinfo_t)

Definition at line 139 of file bxe_ioctl.h.

◆ BXE_DRV_NAME_LENGTH

#define BXE_DRV_NAME_LENGTH   32

Definition at line 45 of file bxe_ioctl.h.

◆ BXE_DRV_VERSION_LENGTH

#define BXE_DRV_VERSION_LENGTH   32

Definition at line 46 of file bxe_ioctl.h.

◆ BXE_EEPROM

#define BXE_EEPROM   _IOWR('e', 6, bxe_eeprom_t)

Definition at line 154 of file bxe_ioctl.h.

◆ BXE_EEPROM_CMD_GET_EEPROM

#define BXE_EEPROM_CMD_GET_EEPROM   0x02

Definition at line 85 of file bxe_ioctl.h.

◆ BXE_EEPROM_CMD_SET_EEPROM

#define BXE_EEPROM_CMD_SET_EEPROM   0x01

Definition at line 84 of file bxe_ioctl.h.

◆ BXE_EEPROM_MAX_DATA_LEN

#define BXE_EEPROM_MAX_DATA_LEN   524288

Definition at line 80 of file bxe_ioctl.h.

◆ BXE_GET_REGS

#define BXE_GET_REGS   _IOR('e', 5, bxe_get_regs_t)

Definition at line 149 of file bxe_ioctl.h.

◆ BXE_GRC_DUMP

#define BXE_GRC_DUMP   _IOWR('e', 2, bxe_grcdump_t)

Definition at line 134 of file bxe_ioctl.h.

◆ BXE_GRC_DUMP_SIZE

#define BXE_GRC_DUMP_SIZE   _IOWR('e', 1, bxe_grcdump_t)

Definition at line 129 of file bxe_ioctl.h.

◆ BXE_MAC_ADDR

#define BXE_MAC_ADDR   _IOWR('e', 9, bxe_perm_mac_addr_t)

Definition at line 170 of file bxe_ioctl.h.

◆ BXE_MFW_VERSION_LENGTH

#define BXE_MFW_VERSION_LENGTH   32

Definition at line 47 of file bxe_ioctl.h.

◆ BXE_RDW_PCICFG

#define BXE_RDW_PCICFG   _IOWR('e', 8, bxe_reg_rdw_t)

Definition at line 164 of file bxe_ioctl.h.

◆ BXE_RDW_REG

#define BXE_RDW_REG   _IOWR('e', 7, bxe_reg_rdw_t)

Definition at line 159 of file bxe_ioctl.h.

◆ BXE_READ_PCICFG

#define BXE_READ_PCICFG   0x01

Definition at line 110 of file bxe_ioctl.h.

◆ BXE_READ_REG_CMD

#define BXE_READ_REG_CMD   0x01

Definition at line 96 of file bxe_ioctl.h.

◆ BXE_REG_ACCESS_DIRECT

#define BXE_REG_ACCESS_DIRECT   0x01

Definition at line 102 of file bxe_ioctl.h.

◆ BXE_REG_ACCESS_INDIRECT

#define BXE_REG_ACCESS_INDIRECT   0x02

Definition at line 103 of file bxe_ioctl.h.

◆ BXE_STORMFW_VERSION_LENGTH

#define BXE_STORMFW_VERSION_LENGTH   32

Definition at line 48 of file bxe_ioctl.h.

◆ BXE_WRITE_PCICFG

#define BXE_WRITE_PCICFG   0x01

Definition at line 111 of file bxe_ioctl.h.

◆ BXE_WRITE_REG_CMD

#define BXE_WRITE_REG_CMD   0x02

Definition at line 97 of file bxe_ioctl.h.

Typedef Documentation

◆ bxe_dev_setting_t

Definition at line 72 of file bxe_ioctl.h.

◆ bxe_drvinfo_t

typedef struct bxe_drvinfo bxe_drvinfo_t

Definition at line 60 of file bxe_ioctl.h.

◆ bxe_eeprom_t

typedef struct bxe_eeprom bxe_eeprom_t

Definition at line 92 of file bxe_ioctl.h.

◆ bxe_get_regs_t

typedef struct bxe_get_regs bxe_get_regs_t

Definition at line 78 of file bxe_ioctl.h.

◆ bxe_grcdump_t

typedef struct bxe_grcdump bxe_grcdump_t

Definition at line 43 of file bxe_ioctl.h.

◆ bxe_pcicfg_rdw_t

Definition at line 117 of file bxe_ioctl.h.

◆ bxe_perm_mac_addr_t

Definition at line 123 of file bxe_ioctl.h.

◆ bxe_reg_rdw_t

typedef struct bxe_reg_rdw bxe_reg_rdw_t

Definition at line 106 of file bxe_ioctl.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )