BGE_DEBUG
BGE_DEBUG(("bge_seeprom_access: complete after %d us", tries));
BGE_DEBUG(("bge_seeprom_access: timed out after %d us", tries));
BGE_DEBUG(("bge_flash_access: complete after %d us", tries));
BGE_DEBUG(("bge_flash_access: timed out after %d us", tries));
BGE_DEBUG(("bge_nvmem_acquire: won after %d us", tries));
BGE_DEBUG(("bge_nvmem_acquire: lost after %d us", tries));
BGE_DEBUG(("bge_nvmem_rw32: err %d", err));
BGE_DEBUG(("bge_cfg_clr16($%p, 0x%lx, 0x%x): 0x%x => 0x%x",
BGE_DEBUG(("bge_cfg_clr32($%p, 0x%lx, 0x%x): 0x%x => 0x%x",
BGE_DEBUG(("bge_ind_get32($%p, 0x%lx) => 0x%x",
BGE_DEBUG(("bge_pci_check($%p): PCI status 0x%x",
BGE_DEBUG(("bge_chip_msi_trig:data = %d", regval));
BGE_DEBUG(("bge_chip_reset_engine: 0x%lx before reset = 0x%08x",
BGE_DEBUG(("bge_sync_mac_modes($%p) Ethernet MAC mode 0x%x => 0x%x",
BGE_DEBUG(("bge_sync_mac_modes($%p) Transmit MAC mode 0x%x => 0x%x",
BGE_DEBUG(("bge_sync_mac_modes($%p) Receive MAC mode 0x%x => 0x%x",
BGE_DEBUG(("bge_chip_sync($%p) "
BGE_DEBUG(("bge_poll_firmware($%p): return after %d loops",
BGE_DEBUG(("bge_poll_firmware($%p): PXE magic 0x%x after %d loops",
BGE_DEBUG(("bge_poll_firmware: MAC %016llx, GENCOMM %016llx",
BGE_DEBUG(("bge_chip_reset($%p, %d): current state is %d",
BGE_DEBUG(("bge_chip_cfg_init: %s bus is %s and %s; #INTA is %s",
BGE_DEBUG(("%s: fail to acquire nvram lock",
BGE_DEBUG(("bge_chip_cfg_init: vendor 0x%x device 0x%x revision 0x%x",
BGE_DEBUG(("bge_chip_cfg_init: subven 0x%x subdev 0x%x asic_rev 0x%x",
BGE_DEBUG(("bge_chip_cfg_init: clsize %d latency %d command 0x%x",
BGE_DEBUG(("bge_status_sync($%p, 0x%llx) returning 0x%llx",
BGE_DEBUG(("factotum($%p) flow 0x%x rdma 0x%x wdma 0x%x emac 0x%x msis 0x%x",
BGE_DEBUG(("factotum($%p) tmac 0x%x rmac 0x%x rxrs 0x%08x txrs 0x%08x",
BGE_DEBUG(("bge_intr($%p) ($%p) regval 0x%08x", arg1, arg2, regval));
BGE_DEBUG(("bge_intr($%p) ($%p) link event", arg1, arg2));
BGE_DEBUG(("eee cyclic, lpi enabled"));
BGE_DEBUG(("bge_chip_peek_mem($%p, $%p) peeked 0x%llx from $%p",
BGE_DEBUG(("bge_chip_poke_mem($%p, $%p) poking 0x%llx at $%p",
BGE_DEBUG(("bge_nic_read32($%p, 0x%x) => 0x%x",
BGE_DEBUG(("bge_mbx_get($%p, 0x%lx) => 0x%08x",
BGE_DEBUG(("bge_m_multicst: hash 0x%x index %d (%d:0x%x) = %d",
BGE_DEBUG(("bge_m_multicst($%p) done", arg));
BGE_DEBUG(("bge_m_promisc_set($%p) done", arg));
BGE_DEBUG(("bge_alloc_dma_mem(): bind %d bytes; err %d, %d cookies",
BGE_DEBUG(("DMA ALLOC: allocated %d chunks for Rx Buffers (rxbuffsize = %d)",
BGE_DEBUG(("DMA ALLOC: allocated %d chunks for Tx Buffers (txbuffsize = %d)",
BGE_DEBUG(("DMA ALLOC: allocated %d chunks for Rx Descs cons (rx_rings = %d, rxdescsize = %d)",
BGE_DEBUG(("DMA ALLOC: allocated 1 chunks for Rx Descs prod (rxbuffdescsize = %d)",
BGE_DEBUG(("DMA ALLOC: allocated 1 chunks for Tx Descs / Status Block / Stats (txdescdize = %d)",
BGE_DEBUG(("RXB CHNK %d INIT: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("RXB SLCE %d STND: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("RXB SLCE %d JUMB: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("RXB SLCE %d MINI: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("RXB CHNK %d DONE: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("TXB CHNK %d INIT: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("TXB SLCE %d RING %d: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("TXB CHNK %d DONE: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("RXD CONS RING %d: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("RXD PROD INIT: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("RXD PROD STND: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("RXD PROD JUMB: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("RXD PROD MINI: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("RXD PROD DONE: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("TXD INIT: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("TXD RING %d: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("TXD STATISTICS: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("TXD STATUS BLOCK: va=%p alen=%d off=%d pa=%llx psz=%d (nslots=%d slotlen=%d)",
BGE_DEBUG(("TXD DONE: va=%p alen=%d off=%d pa=%llx psz=%d",
BGE_DEBUG(("bge_find_mac_address: hw_mac_addr %012llx, => %s (%sset)",
BGE_DEBUG(("bge_find_mac_address: +local %s (%sset)",
BGE_DEBUG(("bge_find_mac_address: +system %s (%sset)",
BGE_DEBUG(("bge_find_mac_address: =final %s (%sset)",
BGE_DEBUG(("bgep->fm_capabilities = %d", bgep->fm_capabilities));
BGE_DEBUG(("%s: ddi_intr_get_supported_types() returned: %x",
BGE_DEBUG(("bge_reset($%p) done", (void *)bgep));
BGE_DEBUG(("%s: Using MSI interrupt type",
BGE_DEBUG(("%s: Using FIXED interrupt type", bgep->ifname));
BGE_DEBUG(("bge_stop($%p) done", (void *)bgep));
BGE_DEBUG(("bge_add_intrs($%p, 0x%x)", (void *)bgep, intr_type));
BGE_DEBUG(("%s: nintrs() returned %d, navail returned %d",
BGE_DEBUG(("bge_start($%p, %d) done", (void *)bgep, reset_phys));
BGE_DEBUG(("%s: Requested: %d, Received: %d",
BGE_DEBUG(("bge_rem_intrs($%p)", (void *)bgep));
BGE_DEBUG(("bge_restart($%p, %d) done", (void *)bgep, reset_phys));
BGE_DEBUG(("bge_m_stop($%p) done", arg));
BGE_DEBUG(("bge_m_start($%p) done", arg));
BGE_DEBUG(("bge_unicst_set($%p) done", arg));
BGE_DEBUG(("bge_update_copper: autoneg %d "
BGE_DEBUG(("bge_update_copper: anar <- 0x%x", anar));
BGE_DEBUG(("bge_update_copper: auxctrl <- 0x%x", auxctrl));
BGE_DEBUG(("bge_update_copper: gigctrl <- 0x%x", gigctrl));
BGE_DEBUG(("bge_update_copper: control <- 0x%x", control));
BGE_DEBUG(("bge_check_copper: link %d/%s, MII status 0x%x "
BGE_DEBUG(("bge_check_copper: no link change"));
BGE_DEBUG(("bge_check_copper: MII status 0x%x aux 0x%x "
BGE_DEBUG(("bge_check_copper: link was %s speed %d duplex %d",
BGE_DEBUG(("bge_update_serdes: autoneg %d "
BGE_DEBUG(("bge_update_serdes: autoneg %d "
BGE_DEBUG(("bge_phydump: "
BGE_DEBUG(("bge_update_serdes: serdes |= 0x%x, advert 0x%x",
BGE_DEBUG(("bge_autoneg_serdes: Rx 0x%x %s Tx 0x%x",
BGE_DEBUG(("bge_check_serdes: link %d/%s, "
BGE_DEBUG(("bge_check_serdes: status 0x%x => 0x%x %s",
BGE_DEBUG(("bge_check_serdes: link was %s speed %d duplex %d",
BGE_DEBUG(("bge_phy_probe: status 0x%x", miicfg));
BGE_DEBUG(("bge_phy_reset: FAILED, control now 0x%x", control));
BGE_DEBUG(("bge_restart_copper: status 0x%x", phy_status));
BGE_DEBUG(("bge_eee: eee not supported (device 0x%x)",
BGE_DEBUG(("bge_eee: eee not supported (asic rev 0x%08x)",
BGE_DEBUG(("bge_eee_adjust: link status up"));
BGE_DEBUG(("bge_eee_adjust: eee timing for 1000Mb"));
BGE_DEBUG(("bge_eee_adjust: eee timing for 100Mb"));
BGE_DEBUG(("bge_eee_adjust: eee negotiaton success, lpi scheduled"));
BGE_DEBUG(("bge_eee_adjust: eee negotiation failed"));
BGE_DEBUG(("bge_eee_adjust: link status down"));
BGE_DEBUG(("bge_update_copper: autoneg %d "
BGE_DEBUG(("bge_m_tx: chip not running or link down"));