mly_printf
mly_printf(sc, "couldn't fetch event %u\n", event);
mly_printf(sc, "physical device %d:%d %s\n", me->channel, me->target, tp);
mly_printf(sc, "logical device %d (%s) %s\n", me->lun, sc->mly_btl[bus][target].mb_name, tp);
mly_printf(sc, "physical device %d:%d %s\n", me->channel, me->target, tp);
mly_printf(sc, " sense key %d asc %02x ascq %02x\n",
mly_printf(sc, " info %s csi %s\n", hexncpy(ssd->info, 4, hexstr[0], 12, NULL),
mly_printf(sc, tp, me->target, me->lun);
mly_printf(sc, "controller %s\n", tp);
mly_printf(sc, "%s - %d\n", tp, me->code);
mly_printf(sc, "got HM completion for illegal slot %u\n", slot);
mly_printf(sc, "got AM completion for illegal slot %u at %d\n",
mly_printf(sc, "can't allocate CAM SIM queue\n");
mly_printf(sc, "CAM XPT physical channel registration failed\n");
mly_printf(sc, "CAM XPT virtual channel registration failed\n");
mly_printf(sc, "rescan failed (can't allocate CCB)\n");
mly_printf(sc, "rescan failed (can't create path)\n");
mly_printf(sc, "controller initialisation started\n");
mly_printf(sc, "drive spinup in progress\n");
mly_printf(sc, "mirror race recovery failed, one or more drives offline\n");
mly_printf(sc, "mirror race recovery in progress\n");
mly_printf(sc, "mirror race recovery on a critical drive\n");
mly_printf(sc, "FATAL MEMORY PARITY ERROR\n");
mly_printf(sc, "unknown initialisation code 0x%x\n", error);
mly_printf(sc, "%16s, %d channel%s, firmware %d.%02d-%d-%02d (%02d%02d%02d%02d), %dMB RAM\n",
mly_printf(sc, "%s %s (%x), %dMHz %d-bit %.16s\n",
mly_printf(sc, "%dMB %dMHz %d-bit %s%s%s, cache %dMB\n",
mly_printf(sc, "CPU: %s @ %dMHz\n",
mly_printf(sc, "%dKB L2 cache\n", mi->l2cache_size);
mly_printf(sc, "%dMB %dMHz %d-bit private %s%s%s\n",
mly_printf(sc, "battery backup %s\n", mi->bbu_present ? "present" : "not installed");
mly_printf(sc, "maximum data transfer %d blocks, maximum sg entries/command %d\n",
mly_printf(sc, "logical devices present/critical/offline %d/%d/%d\n",
mly_printf(sc, "physical devices present %d\n",
mly_printf(sc, "physical disks present/offline %d/%d\n",
mly_printf(sc, "%d physical channel%s, %d virtual channel%s of %d possible\n",
mly_printf(sc, "%d parallel commands supported\n", mi->maximum_parallel_commands);
mly_printf(sc, "%dMB flash ROM, %d of %d maximum cycles\n",
mly_printf(sc, "IDBR %02x ODBR %02x ERROR %02x (%x %x %x)\n",
mly_printf(sc, "IMASK %02x ISTATUS %02x\n",
mly_printf(sc, "COMMAND %02x %02x %02x %02x %02x %02x %02x %02x\n",
mly_printf(sc, "STATUS %02x %02x %02x %02x %02x %02x %02x %02x\n",
mly_printf(sc, " %04x %08x\n",
mly_printf(sc, "COMMAND @ %p\n", mc);
mly_printf(sc, " slot %d\n", mc->mc_slot);
mly_printf(sc, " status 0x%x\n", mc->mc_status);
mly_printf(sc, " sense len %d\n", mc->mc_sense);
mly_printf(sc, " resid %d\n", mc->mc_resid);
mly_printf(sc, " packet %p/0x%llx\n", mc->mc_packet, mc->mc_packetphys);
mly_printf(sc, " data %p/%d\n", mc->mc_data, mc->mc_length);
mly_printf(sc, " flags %pb%i\n",
mly_printf(sc, " complete %p\n", mc->mc_complete);
mly_printf(sc, " private %p\n", mc->mc_private);
mly_printf(sc, " command_id %d\n", ge->command_id);
mly_printf(sc, " opcode %d\n", ge->opcode);
mly_printf(sc, " command_control fua %d dpo %d est %d dd %s nas %d ddis %d\n",
mly_printf(sc, " data_size %d\n", ge->data_size);
mly_printf(sc, " sense_buffer_address 0x%llx\n", ge->sense_buffer_address);
mly_printf(sc, " lun %d\n", ge->addr.phys.lun);
mly_printf(sc, " target %d\n", ge->addr.phys.target);
mly_printf(sc, " channel %d\n", ge->addr.phys.channel);
mly_printf(sc, " logical device %d\n", ge->addr.log.logdev);
mly_printf(sc, " controller %d\n", ge->addr.phys.controller);
mly_printf(sc, " timeout %d %s\n",
mly_printf(sc, " maximum_sense_size %d\n", ge->maximum_sense_size);
mly_printf(sc, " cdb length %d\n", ss->cdb_length);
mly_printf(sc, " cdb %s\n",
mly_printf(sc, " cdb length %d\n", sl->cdb_length);
mly_printf(sc, " cdb 0x%llx\n", sl->cdb_physaddr);
mly_printf(sc, " sub_ioctl 0x%x\n", io->sub_ioctl);
mly_printf(sc, " health_buffer_size %d\n",
mly_printf(sc, " health_buffer_phys 0x%llx\n",
mly_printf(sc, " command_mailbox 0x%llx\n",
mly_printf(sc, " status_mailbox 0x%llx\n",
mly_printf(sc, " param %10D\n", io->param.data.param, " ");
mly_printf(sc, " event %d\n",
mly_printf(sc, " state %d\n", io->param.setraiddevstate.state);
mly_printf(sc, " raid_device %d\n", io->param.xlatephysdevtoraiddev.raid_device);
mly_printf(sc, " controller %d\n", io->param.xlatephysdevtoraiddev.controller);
mly_printf(sc, " channel %d\n", io->param.xlatephysdevtoraiddev.channel);
mly_printf(sc, " target %d\n", io->param.xlatephysdevtoraiddev.target);
mly_printf(sc, " lun %d\n", io->param.xlatephysdevtoraiddev.lun);
mly_printf(sc, " group %d\n", io->param.getgroupconfinfo.group);
mly_printf(sc, " sg table 0x%llx/%d\n",
mly_printf(sc, " 0000 0x%llx/%lld\n",
mly_printf(sc, " 0001 0x%llx/%lld\n",
mly_printf(sc, "can't enable busmaster feature\n");
mly_printf(sc, "memory window not available\n");
mly_printf(sc, "can't allocate register window\n");
mly_printf(sc, "can't allocate interrupt\n");
mly_printf(sc, "can't set up interrupt\n");
mly_printf(sc, "can't allocate parent DMA tag\n");
mly_printf(sc, "can't allocate buffer DMA tag\n");
mly_printf(sc, "can't allocate command packet DMA tag\n");
mly_printf(sc, "flushing cache...");
mly_printf(sc, "can't allocate scatter/gather DMA tag\n");
mly_printf(sc, "can't allocate s/g table\n");
mly_printf(sc, "can't allocate memory mailbox DMA tag\n");
mly_printf(sc, "can't allocate memory mailbox\n");
mly_printf(sc, "WARNING: BTL rescan for %d:%d returned data for %d:%d instead\n",
mly_printf(sc, "WARNING: BTL rescan for %d:%d returned data for %d:%d instead\n",
mly_printf(sc, "BTL rescan result invalid\n");