| /src/sys/dev/axgbe/ |
| H A D | if_axgbe_pci.c | 323 axgbe_printf(3, "%s: phy %d reg %d\n", __func__, phy, reg); in axgbe_miibus_readreg() 327 axgbe_printf(2, "%s: val 0x%x\n", __func__, val); in axgbe_miibus_readreg() 337 axgbe_printf(3, "%s: phy %d reg %d val 0x%x\n", __func__, phy, reg, val); in axgbe_miibus_writereg() 353 axgbe_printf(2, "%s: Link %d/%d\n", __func__, pdata->phy.link, in axgbe_miibus_statchg() 383 axgbe_printf(2, "%s: Autoneg Done\n", __func__); in axgbe_miibus_statchg() 880 axgbe_printf(1, "\n************* PHY Reg dump *********************\n"); in xgbe_dump_phy_registers() 882 axgbe_printf(1, "PCS Control Reg (%#06x) = %#06x\n", MDIO_CTRL1, in xgbe_dump_phy_registers() 884 axgbe_printf(1, "PCS Status Reg (%#06x) = %#06x\n", MDIO_STAT1, in xgbe_dump_phy_registers() 886 axgbe_printf(1, "Phy Id (PHYS ID 1 %#06x)= %#06x\n", MDIO_DEVID1, in xgbe_dump_phy_registers() 888 axgbe_printf(1, "Phy Id (PHYS ID 2 %#06x)= %#06x\n", MDIO_DEVID2, in xgbe_dump_phy_registers() [all …]
|
| H A D | xgbe-txrx.c | 63 axgbe_printf(1, "------Packet Info Start------\n"); in xgbe_print_pkt_info() 64 axgbe_printf(1, "pi len: %d qsidx: %d nsegs: %d ndescs: %d flags: %x pidx: %d\n", in xgbe_print_pkt_info() 66 axgbe_printf(1, "pi new_pidx: %d csum_flags: %x mflags: %x vtag: %d\n", in xgbe_print_pkt_info() 68 axgbe_printf(1, "pi etype: %d ehdrlen: %d ip_hlen: %d ipproto: %d\n", in xgbe_print_pkt_info() 70 axgbe_printf(1, "pi tcp_hlen: %d tcp_hflags: %x tcp_seq: %d tso_segsz %d\n", in xgbe_print_pkt_info() 85 axgbe_printf(1, "ipi_tso_segsz %d cur_mss %d idx %d\n", in axgbe_ctx_desc_setup() 88 axgbe_printf(1, "ipi_vtag 0x%x cur_vlan_ctag 0x%x\n", in axgbe_ctx_desc_setup() 136 axgbe_printf(1, "%s: ipi_len %x elen %d iplen %d tcplen %d\n", in axgbe_calculate_tx_parms() 151 axgbe_printf(1, "%s: max_len %d payload_len %d " in axgbe_calculate_tx_parms() 163 axgbe_printf(1, "%s: packets %d bytes %d hlen %d\n", __func__, in axgbe_calculate_tx_parms() [all …]
|
| H A D | xgbe-mdio.c | 571 axgbe_printf(2, "CL73 AN timed out, resetting state\n"); in xgbe_an73_page_received() 683 axgbe_printf(2, "AN interrupt received\n"); in xgbe_an_isr_task() 739 axgbe_printf(2, "%s: CL37 AN %s\n", __func__, in xgbe_an37_state_machine() 749 axgbe_printf(2, "Auto negotiation successful\n"); in xgbe_an37_state_machine() 760 axgbe_printf(2, "error during auto-negotiation, state=%u\n", in xgbe_an37_state_machine() 774 axgbe_printf(2, "CL37 AN result: %s\n", in xgbe_an37_state_machine() 778 axgbe_printf(2, "%s: an_state %d an_int %d an_mode %d an_status %d\n", in xgbe_an37_state_machine() 808 axgbe_printf(2, "CL73 AN %s\n", in xgbe_an73_state_machine() 831 axgbe_printf(2, "%s successful\n", in xgbe_an73_state_machine() 847 axgbe_printf(2, in xgbe_an73_state_machine() [all …]
|
| H A D | xgbe-i2c.c | 191 axgbe_printf(3, "%s: final i2c_disable %d\n", __func__, ret); in xgbe_i2c_disable() 227 axgbe_printf(3, "%s: tx_slots %d tx_len %d\n", __func__, tx_slots, in xgbe_i2c_write() 236 axgbe_printf(3, "%s: cmd %d tx_len %d\n", __func__, cmd, in xgbe_i2c_write() 260 axgbe_printf(3, "%s: op cmd %d\n", __func__, state->op->cmd); in xgbe_i2c_read() 265 axgbe_printf(3, "%s: rx_slots %d rx_len %d\n", __func__, rx_slots, in xgbe_i2c_read() 297 axgbe_printf(3, "%s: isr 0x%x\n", __func__, isr); in xgbe_i2c_isr() 301 axgbe_printf(3, "%s: I2C interrupt status=%#010x\n", __func__, isr); in xgbe_i2c_isr() 306 axgbe_printf(1, "%s: I2C TX_ABRT received (%#010x) for target " in xgbe_i2c_isr() 324 axgbe_printf(3, "%s: ret %d stop %d\n", __func__, state->ret, in xgbe_i2c_isr() 364 axgbe_printf(3, "%s: I2C features: %s=%u, %s=%u, %s=%u\n", __func__, in xgbe_i2c_get_features() [all …]
|
| H A D | xgbe-phy-v2.c | 522 axgbe_printf(3, "%s: target 0x%x reg_len %d val_len %d\n", __func__, in xgbe_phy_i2c_read() 532 axgbe_printf(3, "%s: ret1 %d retry %d\n", __func__, ret, retry); in xgbe_phy_i2c_read() 548 axgbe_printf(3, "%s: ret2 %d retry %d\n", __func__, ret, retry); in xgbe_phy_i2c_read() 692 axgbe_printf(3, "%s: addr %d reg %d val %#x\n", __func__, addr, reg, val); in xgbe_phy_mii_write() 754 axgbe_printf(3, "%s: addr %d reg %d\n", __func__, addr, reg); in xgbe_phy_mii_read() 887 axgbe_printf(1, "%s: link speed %d spf_base 0x%x pause_autoneg %d " in xgbe_phy_sfp_phy_settings() 964 axgbe_printf(3, "Finisar PHY quirk in place\n"); in xgbe_phy_finisar_phy_quirks() 1035 axgbe_printf(3, "BelFuse PHY quirk in place\n"); in xgbe_phy_belfuse_phy_quirks() 1074 axgbe_printf(2, "%s: phy_id1: 0x%x phy_id2: 0x%x oui: %#x model %#x\n", in xgbe_get_phy_id() 1086 axgbe_printf(2, "%s: phydev %d phydev_mode %d sfp_phy_avail %d phy_id " in xgbe_phy_find_phy_device() [all …]
|
| H A D | xgbe-sysctl.c | 439 axgbe_printf(1, "ignoring not-supported " in parse_generic_sysctl() 503 axgbe_printf(2, "READ: %s: sysctl_xgmac_reg: 0x%x\n", __func__, in sysctl_xgmac_reg_addr_handler() 515 axgbe_printf(2, "WRITE: %s: reg: 0x%x\n", __func__, reg); in sysctl_xgmac_reg_addr_handler() 519 axgbe_printf(2, "%s: rc= %d\n", __func__, rc); in sysctl_xgmac_reg_addr_handler() 703 axgbe_printf(2, "rx-usec is limited to %d usecs\n", in sysctl_coalesce_handler() 708 axgbe_printf(2, "rx-frames is limited to %d frames\n", in sysctl_coalesce_handler() 717 axgbe_printf(2, "tx-frames is limited to %d frames\n", in sysctl_coalesce_handler() 731 axgbe_printf(2, "%s: rc= %d\n", __func__, rc); in sysctl_coalesce_handler() 1038 axgbe_printf(1, "rx ring param rounded to power of 2: %u\n", in sysctl_ringparam_handler() 1043 axgbe_printf(1, "tx ring param rounded to power of 2: %u\n", in sysctl_ringparam_handler() [all …]
|
| H A D | xgbe-dev.c | 300 axgbe_printf(1, "TSO in channel %d %s\n", i, tso_enabled ? "enabled" : "disabled"); in xgbe_config_tso_mode() 311 axgbe_printf(1, "sph_enable %d sph feature enabled?: %d\n", in xgbe_config_sph_mode() 315 axgbe_printf(0, "SPH Enabled\n"); in xgbe_config_sph_mode() 330 axgbe_printf(0, "%s: SPH %s in channel %d\n", __func__, in xgbe_config_sph_mode() 451 axgbe_printf(0, "RSS Enabled\n"); in xgbe_enable_rss() 464 axgbe_printf(0, "RSS Disabled\n"); in xgbe_disable_rss() 532 axgbe_printf(1, "flow control %s for RXq%u\n", in xgbe_enable_tx_flow_control() 746 axgbe_printf(0, "VLAN Stripping Enabled\n"); in xgbe_enable_rx_vlan_stripping() 756 axgbe_printf(0, "VLAN Stripping Disabled\n"); in xgbe_disable_rx_vlan_stripping() 784 axgbe_printf(0, "VLAN filtering Enabled\n"); in xgbe_enable_rx_vlan_filtering() [all …]
|
| H A D | xgbe-dcb.c | 148 axgbe_printf(1, 152 axgbe_printf(1, "PRIO%u: TC=%hhu\n", i, 225 axgbe_printf(1, 260 axgbe_printf(1, "DCBX=%#hhx\n", dcbx);
|
| H A D | xgbe-phy-v1.c | 166 axgbe_printf(1, "%s: pause_autoneg %d ad_reg 0x%x lp_reg 0x%x\n", in xgbe_phy_an_outcome() 289 axgbe_printf(2, "SerDes rx/tx not ready (%#hx)\n", status); in xgbe_phy_complete_ratechange() 338 axgbe_printf(2, "10GbE KR mode set\n"); in xgbe_phy_kr_mode() 382 axgbe_printf(2, "2.5GbE KX mode set\n"); in xgbe_phy_kx_2500_mode() 426 axgbe_printf(2, "1GbE KX mode set\n"); in xgbe_phy_kx_1000_mode()
|
| H A D | xgbe.h | 1353 #define axgbe_printf(lvl, ...) do { \ macro
|