|
enum | mac {
mac_82557_D100_A = 0,
mac_82557_D100_B = 1,
mac_82557_D100_C = 2,
mac_82558_D101_A4 = 4,
mac_82558_D101_B0 = 5,
mac_82559_D101M = 8,
mac_82559_D101S = 9,
mac_82550_D102 = 12,
mac_82550_D102_C = 13,
mac_82551_E = 14,
mac_82551_F = 15,
mac_82551_10 = 16,
mac_unknown = 0xFF
} |
|
enum | phy {
phy_100a = 0x000003E0,
phy_100c = 0x035002A8,
phy_82555_tx = 0x015002A8,
phy_nsc_tx = 0x5C002000,
phy_82562_et = 0x033002A8,
phy_82562_em = 0x032002A8,
phy_82562_ek = 0x031002A8,
phy_82562_eh = 0x017002A8,
phy_82552_v = 0xd061004d,
phy_unknown = 0xFFFFFFFF
} |
|
enum | scb_status { rus_no_res = 0x08,
rus_ready = 0x10,
rus_mask = 0x3C
} |
|
enum | ru_state { RU_SUSPENDED = 0,
RU_RUNNING = 1,
RU_UNINITIALIZED = -1
} |
|
enum | scb_stat_ack {
stat_ack_not_ours = 0x00,
stat_ack_sw_gen = 0x04,
stat_ack_rnr = 0x10,
stat_ack_cu_idle = 0x20,
stat_ack_frame_rx = 0x40,
stat_ack_cu_cmd_done = 0x80,
stat_ack_not_present = 0xFF,
stat_ack_rx = (stat_ack_sw_gen | stat_ack_rnr | stat_ack_frame_rx),
stat_ack_tx = (stat_ack_cu_idle | stat_ack_cu_cmd_done)
} |
|
enum | scb_cmd_hi { irq_mask_none = 0x00,
irq_mask_all = 0x01,
irq_sw_gen = 0x02
} |
|
enum | scb_cmd_lo {
cuc_nop = 0x00,
ruc_start = 0x01,
ruc_load_base = 0x06,
cuc_start = 0x10,
cuc_resume = 0x20,
cuc_dump_addr = 0x40,
cuc_dump_stats = 0x50,
cuc_load_base = 0x60,
cuc_dump_reset = 0x70
} |
|
enum | cuc_dump { cuc_dump_complete = 0x0000A005,
cuc_dump_reset_complete = 0x0000A007
} |
|
enum | port {
PORT_A = 0,
PORT_B,
PORT_C,
PORT_D,
PORT_E,
I915_MAX_PORTS,
CX25821_UNDEFINED = 0,
CX25821_RAW,
CX25821_264,
software_reset = 0x0000,
selftest = 0x0001,
selective_reset = 0x0002
} |
|
enum | eeprom_ctrl_lo { eesk = 0x01,
eecs = 0x02,
eedi = 0x04,
eedo = 0x08
} |
|
enum | mdi_ctrl { mdi_write = 0x04000000,
mdi_read = 0x08000000,
mdi_ready = 0x10000000
} |
|
enum | eeprom_op { op_write = 0x05,
op_read = 0x06,
op_ewds = 0x10,
op_ewen = 0x13
} |
|
enum | eeprom_offsets {
eeprom_cnfg_mdix = 0x03,
eeprom_phy_iface = 0x06,
eeprom_id = 0x0A,
eeprom_config_asf = 0x0D,
eeprom_smbus_addr = 0x90
} |
|
enum | eeprom_cnfg_mdix { eeprom_mdix_enabled = 0x0080
} |
|
enum | eeprom_phy_iface {
NoSuchPhy = 0,
I82553AB,
I82553C,
I82503,
DP83840,
S80C240,
S80C24,
I82555,
DP83840A = 10
} |
|
enum | eeprom_id { eeprom_id_wol = 0x0020
} |
|
enum | eeprom_config_asf { eeprom_asf = 0x8000,
eeprom_gcl = 0x4000
} |
|
enum | cb_status { cb_complete = 0x8000,
cb_ok = 0x2000
} |
|
enum | cb_command {
cb_nop = 0x0000,
cb_iaaddr = 0x0001,
cb_config = 0x0002,
cb_multi = 0x0003,
cb_tx = 0x0004,
cb_ucode = 0x0005,
cb_dump = 0x0006,
cb_tx_sf = 0x0008,
cb_tx_nc = 0x0010,
cb_cid = 0x1f00,
cb_i = 0x2000,
cb_s = 0x4000,
cb_el = 0x8000
} |
|
enum | loopback { lb_none = 0,
lb_mac = 1,
lb_phy = 3
} |
|