SC_DEBUG
if (sc->sc_flags & SC_DEBUG) {
sc->sc_unit, 0, sc->sc_flags & SC_DEBUG)) {
sc->sc_mru, sc->sc_flags & SC_DEBUG)) {
if (sc->sc_flags & SC_DEBUG) {
if (sc->sc_flags & SC_DEBUG) {
if (sc->sc_flags & SC_DEBUG) {
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG) {
if (sc->sc_flags & SC_DEBUG) {
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
if (sc->sc_flags & SC_DEBUG)
SC_DEBUG(link, SDEV_DB2, ("cdattach:\n"));
SC_DEBUG(link, SDEV_DB1, ("not ready: busy (%#x)\n",
SC_DEBUG(link, SDEV_DB1,
SC_DEBUG(link, SDEV_DB3, ("Params loaded\n"));
SC_DEBUG(link, SDEV_DB3, ("Disklabel fabricated\n"));
SC_DEBUG(link, SDEV_DB3, ("open complete\n"));
SC_DEBUG(sc->sc_link, SDEV_DB2, ("cdstrategy: %ld bytes @ blk %lld\n",
SC_DEBUG(link, SDEV_DB2, ("cdstart\n"));
SC_DEBUG(sc->sc_link, SDEV_DB2, ("cdioctl 0x%lx\n", cmd));
SC_DEBUG(link, SDEV_DB1, ("not ready: busy (%#x)\n",
SC_DEBUG(link, SDEV_DB2, ("scsi_mode_select: error = %d\n", error));
SC_DEBUG(link, SDEV_DB2, ("scsi_mode_select_big: error = %d\n",
SC_DEBUG(link, SDEV_DB2, ("scsi_report_luns: error = %d\n", error));
SC_DEBUG(xs->sc_link, SDEV_DB3, ("scsi_copy_internal_data\n"));
SC_DEBUG(xs->sc_link, SDEV_DB3, ("scsi_xs_error,err = 0x%x\n",
SC_DEBUG(xs->sc_link, SDEV_DB3,
SC_DEBUG(link, SDEV_DB1,
SC_DEBUG(link, SDEV_DB1,
SC_DEBUG(link, SDEV_DB2, ("INQUIRE error %d\n", error));
SC_DEBUG(link, SDEV_DB2, ("INQUIRE data < SID_SCSI2_HDRLEN\n"));
SC_DEBUG(link, SDEV_DB2, ("scsi_do_ioctl(0x%lx)\n", cmd));
SC_DEBUG(link, SDEV_DB3, ("debug set to %d\n", level));
SC_DEBUG(link, SDEV_DB2, ("malloc(scsi_link) failed.\n"));
SC_DEBUG(link, SDEV_DB2, ("scsi_link created.\n"));
SC_DEBUG(link, SDEV_DB2, ("dev_probe(link) failed.\n"));
SC_DEBUG(link, SDEV_DB2, ("malloc(pool) failed.\n"));
SC_DEBUG(link, SDEV_DB2, ("dma_alloc(inqbuf) failed.\n"));
SC_DEBUG(link, SDEV_DB1, ("IDENTIFY not supported.\n"));
SC_DEBUG(link, SDEV_DB1, ("becoming ready.\n"));
SC_DEBUG(link, SDEV_DB1, ("spinning up\n"));
SC_DEBUG(link, SDEV_DB1, ("spin up failed (%#x)\n",
SC_DEBUG(link, SDEV_DB2, ("sdattach:\n"));
SC_DEBUG(sc->sc_link, SDEV_DB1,
SC_DEBUG(link, SDEV_DB1, ("cache sync failed to get xs\n"));
SC_DEBUG(link, SDEV_DB1, ("cache sync failed\n"));
SC_DEBUG(link, SDEV_DB1,
SC_DEBUG(link, SDEV_DB3, ("Params loaded\n"));
SC_DEBUG(link, SDEV_DB3, ("Disklabel loaded\n"));
SC_DEBUG(link, SDEV_DB3, ("open complete\n"));
SC_DEBUG(link, SDEV_DB2, ("sdstrategy: %ld bytes @ blk %lld\n",
SC_DEBUG(link, SDEV_DB2, ("sdioctl 0x%lx\n", cmd));
SC_DEBUG(st->sc_link, SDEV_DB1, ("[ioctl: get status]\n"));
SC_DEBUG(st->sc_link, SDEV_DB1,
SC_DEBUG(link, SDEV_DB3,
SC_DEBUG(link, SDEV_DB3,
SC_DEBUG(link, SDEV_DB3,
SC_DEBUG(link, SDEV_DB1, ("not ready: busy (%#x)\n",
SC_DEBUG(link, SDEV_DB2, ("stattach:\n"));
SC_DEBUG(link, SDEV_DB1, ("open: dev=0x%x (unit %d (of %d))\n", dev,
SC_DEBUG(link, SDEV_DB4, ("already open\n"));
SC_DEBUG(link, SDEV_DB2, ("open complete\n"));
SC_DEBUG(link, SDEV_DB1, ("closing\n"));
SC_DEBUG(link, SDEV_DB1, ("mounting\n"));
SC_DEBUG(link, SDEV_DB1, ("unmounting\n"));
SC_DEBUG(link, SDEV_DB2, ("starting block mode decision\n"));
SC_DEBUG(link, SDEV_DB3,
SC_DEBUG(link, SDEV_DB3, ("density specified variable\n"));
SC_DEBUG(link, SDEV_DB3, ("density specified fixed\n"));
SC_DEBUG(link, SDEV_DB3,
SC_DEBUG(link, SDEV_DB3,
SC_DEBUG(link, SDEV_DB2, ("ststrategy: %ld bytes @ blk %lld\n",
SC_DEBUG(link, SDEV_DB2, ("ststart\n"));
SC_DEBUG(link, SDEV_DB1, ("ukopen: dev=0x%x (unit %d (of %d))\n",
SC_DEBUG(link, SDEV_DB3, ("open complete\n"));
SC_DEBUG(sc->sc_link, SDEV_DB1, ("closing\n"));
SC_DEBUG(link, SDEV_DB2, ("ukattach: "));
x |= (kdebugflag & 0xFF) * SC_DEBUG;
flags |= (kdebugflag & 0xFF) * SC_DEBUG;