DEBUG2
DEBUG2("rmtd: L %s %s\n", count, pos);
DEBUG2(gettext("%s: garbage command '%c'\n"),
DEBUG2("rmtd: O %s %s\n", device, mode);
DEBUG2("rmtd: E %d (%s)\n", Errno, errstr);
DEBUG2(gettext("%s: cannot allocate %ld-byte buffer\n"),
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
#ifdef DEBUG2
DEBUG2("hpc_nexus_register_bus: %s%d",
DEBUG2("hpc_nexus_unregister_bus: %s%d",
DEBUG2("hpc_slot_unregister: handlep=%x, slotp=%x", handlep, slotp);
DEBUG2("hpc_slot_event_notify: handle=%x event=%x", handle, event);
DEBUG2("hpc_slot_event_notify: busp=%x event=%x", busp, event);
DEBUG2("Connector requested [0x%llx], needs [0x%llx] bytes of memory\n",
DEBUG2("Connector requested [0x%llx], needs [0x%llx] bytes of IO\n",
DEBUG2("Connector requested [0x%llx], needs [0x%llx] bytes of PF "
DEBUG2("MEMORY BASE = [0x%lx] length [0x%lx]\n",
DEBUG2("IO BASE = [0x%x] length [0x%x]\n",
DEBUG2("PF MEMORY BASE = [0x%lx] length [0x%lx]\n",
DEBUG2("ntbridge: bus range lo=%x, hi=%x\n", new_bus_range[0],
DEBUG2("ntbridge: Unused IO space %llx bytes over %d holes\n",
DEBUG2("ntbridge: Unused Mem space %llx bytes over %d holes\n",
DEBUG2("ntbridge: Unused PF Mem space %llx bytes over"
DEBUG2("ntbridge: Need to free bus [%d] range [%d]\n",
DEBUG2("Device [0x%x] function [0x%x] is busy\n",
DEBUG2("No device at %x,%x\n", trans_device, func & 7);
DEBUG2("Tearing down device [0x%x] function [0x%x]\n",
DEBUG2("Failed to tear down device [0x%x]"
DEBUG2("REGISTER off %x (64)LO ----> [0x%x]\n",
DEBUG2("REGISTER off %x (64)HI ----> [0x%x]\n",
DEBUG2("REGISTER off %x(32)LO ----> [0x%x]\n",
DEBUG2("REGISTER off %x (I/O)LO ----> [0x%x]\n",
DEBUG2("put new hole to %llx, %llx\n",
DEBUG2("adjust current hole to %llx, %llx\n",
DEBUG2("Free I/O base/length = "
DEBUG2("Need to free bus [%d] range [%d]\n",
DEBUG2("Bus Range Allocated [base=%d] [len=%d]\n",
DEBUG2("Creating Ranges property - Mem Address %lx Mem Size %x\n",
DEBUG2(" - I/O Address %lx I/O Size %x\n",
DEBUG2(" - PF Mem address %lx PF Mem Size %x\n",
DEBUG2("conf_map: dip=%p, anode=%p\n", dip, anode);
DEBUG2("configure failed: bus [0x%x] device "
DEBUG2("Cleaning up device [0x%x] function [0x%x]\n",
DEBUG2("Need to free bus [%d] range [%d]\n",
DEBUG2("Need to free bus [%d] range [%d]\n",
DEBUG2("Connector requested [0x%llx], needs [0x%llx] bytes of memory\n",
DEBUG2("Connector requested [0x%llx], needs [0x%llx] bytes of IO\n",
DEBUG2("MEMORY BASE = [0x%x] length [0x%x]\n",
DEBUG2("IO BASE = [0x%x] length [0x%x]\n",
DEBUG2("ntbridge: bus range lo=%x, hi=%x\n",
DEBUG2("ntbridge: Unused IO space %llx bytes over %d holes\n",
DEBUG2("ntbridge: Unused Mem space %llx bytes over %d holes\n",
DEBUG2("ntbridge: Need to free bus [%d] range [%d]\n",
DEBUG2("Device [0x%x] function [%x] is busy\n", device, func);
DEBUG2("Tearing down device [0x%x] function [0x%x]\n",
DEBUG2("Failed to tear down device [0x%x]"
DEBUG2("REGISTER off %x (64)LO ----> [0x%x]\n",
DEBUG2("REGISTER off %x (64)HI ----> [0x%x]\n",
DEBUG2("REGISTER off %x(32)LO ----> [0x%x]\n",
DEBUG2("REGISTER off %x (I/O)LO ----> [0x%x]\n",
DEBUG2("MEMORY BASE = [0x%x] length [0x%x]\n",
DEBUG2("IO BASE = [0x%x] length [0x%x]\n",
DEBUG2("put new hole to %llx, %llx\n",
DEBUG2("adjust current hole to %llx, %llx\n",
DEBUG2("Free I/O "
DEBUG2("Need to free bus [%d] range [%d]\n",
DEBUG2("pcicfg_update_available_prop() - Address %lx Size %x\n",
DEBUG2("configure: fcode addr %lx size %x\n",
DEBUG2("Bus Range Allocated [base=%d] [len=%d]\n",
DEBUG2("Creating Ranges property - Mem Address %lx Mem Size %x\n",
DEBUG2(" - I/O Address %lx I/O Size %x\n",
DEBUG2("pcicfg_load_fcode() - vendor_id=%x device_id=%x\n",
DEBUG2("ROM 0x%x --> 0x%x\n", i,
DEBUG2("Pointer To PCI Data Structure %x %x\n", pci_data,
DEBUG2("This image is for vendor_id=%x device_id=%x\n",
DEBUG2("pcicfg_alloc_new_resources() reg size=%x entries=%x\n",
DEBUG2("pcicfg_alloc_new_resources "
DEBUG2("Fcode changing"
DEBUG2("device_type property missing for %s#%d",
DEBUG2("configure failed: "
DEBUG2("Cleaning up device [0x%x] function [0x%x]\n",
DEBUG2(DBG_CTLOPS, dip, "passing request to parent: rdip=%s%d\n",
DEBUG2(DBG_ATTACH, dip, "%s%d hotplug enabled",
DEBUG2(DBG_MAP, dip, "rdip=%s%d:",
DEBUG2(DBG_DMA_ALLOCH, dip, "rdip=%s%d\n",
DEBUG2(DBG_DMA_BINDH, dip, "cookie %x+%x\n", cookiep->dmac_address,
DEBUG2(DBG_DMA_WIN, dip, "rdip=%s%d\n",
DEBUG2(DBG_DMA_WIN, dip,
DEBUG2(DBG_CB|DBG_CONT, NULL, "\tPA=%016llx data=%016llx\n", pa, reg);
DEBUG2(DBG_OPEN, pci_p->pci_dip, "devp=%x: flags=%x\n", devp, flags);
DEBUG2(DBG_CLOSE, pci_p->pci_dip, "dev=%x: flags=%x\n", dev, flags);
DEBUG2(DBG_IOCTL, dip, "dev=%x: cmd=%x\n", dev, cmd);
DEBUG2(DBG_DMA_MAP, dip, "fallback dvma_pages: dvma_pg=%x index=%x\n",
DEBUG2(DBG_BYPASS, mp->dmai_rdip, "cookie %p (%x pages)\n",
DEBUG2(DBG_DMA_CTL, dip,
DEBUG2(DBG_SC, dip, "mp=%p, ctx=%x\n", mp, MP2CTX(mp));
DEBUG2(DBG_DMA_MAP, dip, "vaddr=%p pplist=%p\n", vaddr, pplist);
DEBUG2(DBG_DMA_MAP, dip, "shadow pplist=%p, %x pages, pfns=",
DEBUG2(DBG_SC, dip, "addr=%x+%x pages: \n", dvma_addr, len);
DEBUG2(DBG_DMA_MAP, pci_p->pci_dip, "pci_dma_pfn: mp=%p pfn0=%x\n",
DEBUG2(DBG_ATTACH, dip, "ecc_create: ue_afsr=%x, ue_afar=%x\n",
DEBUG2(DBG_ATTACH, dip, "ecc_create: ce_afsr=%x, ce_afar=%x\n",
DEBUG2(DBG_DMA_CTL, dip, "DDI_DMA_RESERVE: rdip=%s%d\n",
DEBUG2(DBG_FAST_DVMA | DBG_CONT, dip, "cookie: %x+%x\n",
DEBUG2(DBG_IB, pci_p->pci_dip,
DEBUG2(DBG_R_INTX, ino_p->ino_ib_p->ib_pci_p->pci_dip,
DEBUG2(DBG_ATTACH, dip, "ib_create: slot_imr=%x, slot_cir=%x\n",
DEBUG2(DBG_ATTACH, dip, "ib_create: obio_imr=%x, obio_cir=%x\n",
DEBUG2(DBG_IB, dip, "ib_set_intr_target: ino %x cpu_id %x\n",
DEBUG2(DBG_ATTACH, dip, "ib_create: upa0_imr=%x, upa1_imr=%x\n",
DEBUG2(DBG_A_INTX, dip, "pci_add_intr: pil=0x%x mondo=0x%x\n",
DEBUG2(DBG_A_INTX, dip, "done! Interrupt 0x%x pil=%x\n",
DEBUG2(DBG_A_INTX, dip, "Failed! Interrupt 0x%x pil=%x\n",
DEBUG2(DBG_R_INTX, dip, "pci_rem_intr: pil=0x%x mondo=0x%x\n",
DEBUG2(DBG_R_INTX, dip, "pulse success mondo=%x reg=%p\n",
DEBUG2(DBG_ATTACH, dip, "iommu_create: ctrl=%p, tsb=%p\n",
DEBUG2(DBG_ATTACH, dip, "iommu_create: page_flush=%p, ctx_flush=%p\n",
DEBUG2(DBG_ATTACH, dip, "iommu_create: tsb vaddr=%p tsb_paddr=%p\n",
DEBUG2(DBG_ATTACH, dip, "iommu_create: fast tsb tte addr: %x + %x\n",
DEBUG2(DBG_ATTACH, dip,
DEBUG2(DBG_ATTACH, dip, "iommu_configure: iommu_ctl=%08x.%08x\n",
DEBUG2(DBG_UNMAP_WIN, dip, "mp=%p %x pfns:", mp, npages);
DEBUG2(DBG_PWR, ddi_get_parent(dip),
DEBUG2(DBG_PWR, dip, "ppb_pwr: failing power request "
DEBUG2(DBG_PWR, ddi_get_parent(child),
DEBUG2(DBG_PWR, ddi_get_parent(child),
DEBUG2(DBG_DETACH, dip,
DEBUG2(DBG_PWR, dip,
DEBUG2(DBG_DETACH, dip, "DDI_SUSPEND: skipping "
DEBUG2(DBG_PWR, pwr_p->pwr_dip,
DEBUG2(DBG_PWR, pwr_p->pwr_dip,
DEBUG2(DBG_PWR, pwr_p->pwr_dip, "pwr_change: "
DEBUG2(DBG_PWR, ddi_get_parent(dip), "ADDING NEW PWR_INFO %s@%s\n",
DEBUG2(DBG_RELOC, rdip, "pfn remap (1) 0x%x -> 0x%x\n",
DEBUG2(DBG_ATTACH, dip, "sc_create: ctx_invl=%x ctx_match=%x\n",
DEBUG2(DBG_ATTACH, dip, "sc_create: sync buffer - vaddr=%x paddr=%x\n",
DEBUG2(DBG_TOOLS, dip,
DEBUG2(DBG_TOOLS, dip, "barnum:%d, bar_offset:0x%x\n",
DEBUG2(DBG_CTLOPS, pci_p->pci_dip,
DEBUG2(DBG_PWR, ddi_get_parent(child),
DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: header_type=%x\n",
DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: command-preserve=%x\n",
DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: command=%x\n",
DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: min_gnt=%x\n",
DEBUG2(DBG_DETACH, dip, "DDI_SUSPEND: skipping "
DEBUG2(DBG_ATTACH, dip, "get_pci_properties: bus-range (%x,%x)\n",
DEBUG2(DBG_DETACH, dip,
DEBUG2(DBG_PWR, dip,
DEBUG2(DBG_ATTACH, iommu_p->iommu_pci_p->pci_dip,
DEBUG2(DBG_ATTACH|DBG_CONT, iommu_p->iommu_pci_p->pci_dip,
DEBUG2(DBG_ATTACH|DBG_CONT, iommu_p->iommu_pci_p->pci_dip,
DEBUG2(DBG_ATTACH, rdip, "pci_thermal_rem_intr unregistered "
DEBUG2(DBG_ATTACH, dip, "cb_create: ver=%d, mask=%x\n", l, mask);
DEBUG2(DBG_ERR_INTR, dip, "pci_pbm_err_handler: prierr=0x%x "
DEBUG2(DBG_ATTACH, iommu_p->iommu_pci_p->pci_dip,
DEBUG2(DBG_ATTACH|DBG_CONT, iommu_p->iommu_pci_p->pci_dip,
DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: XMITS "
DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: XMITS"
DEBUG2(D_ATTACH, "simba_attach(): clsz=%x, lt=%x\n",