AHCIDEBUG_PRINT
AHCIDEBUG_PRINT(("%s: BSY took %d ms\n", AHCINAME(sc), i * 10),
AHCIDEBUG_PRINT(("ahci_exec_command port %d CI 0x%x\n",
AHCIDEBUG_PRINT(("ahci_cmd_start CI 0x%x timo %d\n slot %d",
AHCIDEBUG_PRINT(("%s port %d tbl %p\n", AHCINAME(sc), chp->ch_channel,
AHCIDEBUG_PRINT(("%s port %d header %p\n", AHCINAME(sc),
AHCIDEBUG_PRINT(("%s port %d poll end GHC 0x%x IS 0x%x list 0x%x%x fis 0x%x%x CMD 0x%x CI 0x%x\n", AHCINAME(sc), chp->ch_channel,
AHCIDEBUG_PRINT(("ahci_cmd_kill_xfer port %d\n", chp->ch_channel),
AHCIDEBUG_PRINT(("ahci_cmd_complete port %d CMD 0x%x CI 0x%x\n",
AHCIDEBUG_PRINT(("ahci_cmd_done port %d flags %#x/%#x\n",
AHCIDEBUG_PRINT(("ahci_ata_bio port %d CI 0x%x\n",
AHCIDEBUG_PRINT(("ahci_bio_start CI 0x%x\n",
AHCIDEBUG_PRINT(("%s port %d tbl %p\n", AHCINAME(sc), chp->ch_channel,
AHCIDEBUG_PRINT(("%s port %d header %p\n", AHCINAME(sc),
AHCIDEBUG_PRINT(("%s port %d poll end GHC 0x%x IS 0x%x list 0x%x%x fis 0x%x%x CMD 0x%x CI 0x%x\n", AHCINAME(sc), chp->ch_channel,
AHCIDEBUG_PRINT(("ahci_bio_kill_xfer port %d\n", chp->ch_channel),
AHCIDEBUG_PRINT(("ahci_bio_complete port %d\n", chp->ch_channel),
AHCIDEBUG_PRINT(("ahci_bio_complete bcount %ld",
AHCIDEBUG_PRINT((" now %ld\n", ata_bio->bcount), DEBUG_XFERS);
AHCIDEBUG_PRINT(("ahci_atapi_start CI 0x%x\n",
AHCIDEBUG_PRINT(("%s port %d tbl %p\n", AHCINAME(sc), chp->ch_channel,
AHCIDEBUG_PRINT(("%s port %d header %p\n", AHCINAME(sc),
AHCIDEBUG_PRINT(("%s port %d poll end GHC 0x%x IS 0x%x list 0x%x%x fis 0x%x%x CMD 0x%x CI 0x%x\n", AHCINAME(sc), chp->ch_channel,
AHCIDEBUG_PRINT(("ahci_atapi_complete port %d\n", chp->ch_channel),
AHCIDEBUG_PRINT(("ahci_atapi_complete datalen %d resid %d\n",
AHCIDEBUG_PRINT(("ahci_atapi_probe_device: drive %d "
AHCIDEBUG_PRINT(("ahci_atapi_get_params: ATAPI_IDENTIFY_DEVICE "
AHCIDEBUG_PRINT(("active ports %#x\n", sc->sc_ahci_ports),
AHCIDEBUG_PRINT(("port %d cmdh %p (0x%" PRIx64 ") "
AHCIDEBUG_PRINT(("port %d/%d tbl %p (0x%" PRIx64 ")\n", i, j,
AHCIDEBUG_PRINT(("%s ahci_intr 0x%x\n", AHCINAME(sc), is),
AHCIDEBUG_PRINT(("ahci_intr_port_common %s port %d "
AHCIDEBUG_PRINT((
AHCIDEBUG_PRINT(("%s port %d: SERR 0x%x\n",
AHCIDEBUG_PRINT(("%s port %d: transfer aborted 0x%x\n",
AHCIDEBUG_PRINT(("%s: BSY took %d ms\n", AHCINAME(sc), i * 10),
AHCIDEBUG_PRINT(("%s: port %d: sig=0x%x CMD=0x%x\n",
AHCIDEBUG_PRINT(("%s: RAID mode\n", AHCINAME(sc)), DEBUG_PROBE);
AHCIDEBUG_PRINT(("%s: SATA mode\n", AHCINAME(sc)), DEBUG_PROBE);