56 #define AOE_FL_EXTENDED 0x40 57 #define AOE_FL_DEV_HEAD 0x10 58 #define AOE_FL_ASYNC 0x02 59 #define AOE_FL_WRITE 0x01 87 #define AOE_VERSION 0x10 88 #define AOE_VERSION_MASK 0xf0 90 #define AOE_FL_RESPONSE 0x08 91 #define AOE_FL_ERROR 0x04 93 #define AOE_MAJOR_BROADCAST 0xffff 94 #define AOE_MINOR_BROADCAST 0xff 96 #define AOE_CMD_ATA 0x00 97 #define AOE_CMD_CONFIG 0x01 99 #define AOE_ERR_BAD_COMMAND 1 100 #define AOE_ERR_BAD_PARAMETER 2 101 #define AOE_ERR_UNAVAILABLE 3 102 #define AOE_ERR_CONFIG_EXISTS 4 103 #define AOE_ERR_BAD_VERSION 5 105 #define AOE_STATUS_ERR_MASK 0x0f 106 #define AOE_STATUS_PENDING 0x80 109 #define AOE_TAG_MAGIC 0x18ae0000 112 #define AOE_MAX_COUNT 2 144 #define ABFT_SIG ACPI_SIGNATURE ( 'a', 'B', 'F', 'T' )
struct aoecfg cfg
Config command.
union aoeata::@499 lba
Logical block address, in little-endian order.
struct acpi_header acpi
ACPI header.
uint8_t err_feat
ATA error/feature register.
uint16_t major
Major number.
uint8_t data[0]
AoE config string.
uint8_t data[0]
Data payload.
union aoecmd payload[0]
Payload.
uint16_t major
Major device number, in network byte order.
unsigned long long uint64_t
uint16_t fwver
ATA target firmware version.
uint8_t reserved_a
Reserved.
uint8_t aoeccmd
AoE config string subcommand.
unsigned long timeout
Saved timeout value.
uint8_t cmd_stat
ATA command/status register.
uint8_t command
Command number.
uint8_t mac[ETH_ALEN]
MAC address.
#define MAX_LL_ADDR_LEN
Maximum length of a link-layer address.
struct acpi_descriptor desc
ACPI descriptor.
uint8_t minor
Minor device number.
struct interface ata
ATA command issuing interface.
uint8_t target[MAX_LL_ADDR_LEN]
Target MAC address.
uint32_t tag
Tag, in network byte order.
uint16_t bufcnt
AoE queue depth.
struct interface config
Configuration command interface.
uint8_t aflags
AoE command flags.
AoE Boot Firmware Table (aBFT)
Network device management.
An ACPI descriptor (used to construct ACPI tables)
int configured
Device is configued.
uint8_t count
ATA sector count register.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint8_t minor
Minor number.
struct net_device * netdev
Network device.
uint8_t ver_flags
Protocol version number and flags.
uint16_t cfglen
AoE config string length.
uint8_t scnt
ATA target sector count.
struct aoeata ata
ATA command.