add debug, default SCSI device to LASI SCSI
diff --git a/src/boot.c b/src/boot.c
index cfa110f..22a4100 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -539,7 +539,7 @@
be->priority = prio;
be->data = data;
be->description = desc ?: "?";
- dprintf(3, "Registering bootable: %s (type:%d prio:%d data:%p)\n"
+ printf("Registering bootable: %s (type:%d prio:%d data:%p)\n"
, be->description, type, prio, data);
// Add entry in sorted order.
diff --git a/src/hw/ncr710-scsi.c b/src/hw/ncr710-scsi.c
index 8093d97..79d661a 100644
--- a/src/hw/ncr710-scsi.c
+++ b/src/hw/ncr710-scsi.c
@@ -259,13 +259,13 @@
// Step 6: Disconnect
outb(0, iobase + NCR_REG_SCNTL0); // Clear all control bits
- dprintf(5, "NCR710: Command complete, status=0x%02x, msg=0x%02x\n", status, msg);
+ printf("NCR710: Command complete, status=0x%02x, msg=0x%02x\n", status, msg);
if (status == 0) {
return DISK_RET_SUCCESS;
}
- dprintf(1, "NCR710: Command failed with status 0x%02x\n", status);
+ printf("NCR710: Command failed with status 0x%02x\n", status);
return DISK_RET_EBADTRACK;
}
@@ -366,7 +366,7 @@
return;
}
- dprintf(1, "Found NCR53c710 SCSI controller at address 0x%x\n", iobase);
+ printf("Found NCR53c710 SCSI controller at address 0x%x\n", iobase);
// Configure controller for operation
outb(0x00, iobase + NCR_REG_SXFER); // Async transfers initially
@@ -376,7 +376,7 @@
// Scan for attached devices (targets 0-6, skip 7 which is our ID)
int i;
for (i = 0; i < 7; i++) {
- dprintf(3, "NCR710: Scanning target %d\n", i);
+ printf("NCR710: Scanning target %d\n", i);
ncr710_scsi_scan_target(iobase, i);
}
}
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 8355b48..aecd222 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -2977,7 +2977,7 @@
static struct pz_device mem_boot_boot = {
.dp.path.flags = PF_AUTOBOOT,
- .hpa = DINO_SCSI_HPA, // will be overwritten
+ .hpa = LASI_SCSI_HPA, // may be overwritten. Default to LASI SCSI
.cl_class = CL_RANDOM,
};