diff options
author | Søren Schmidt <sos@FreeBSD.org> | 2004-04-19 18:29:43 +0000 |
---|---|---|
committer | Søren Schmidt <sos@FreeBSD.org> | 2004-04-19 18:29:43 +0000 |
commit | 9036df118cd35aa7e4d6c5c087a6bf5ccaacd591 (patch) | |
tree | 9d0783f3d4cad90b64629fe55f14dcfe823592bd /sys | |
parent | 4ed2b85d669ae4a977d989a1390f5849bb7a93e9 (diff) | |
download | src-9036df118cd35aa7e4d6c5c087a6bf5ccaacd591.tar.gz src-9036df118cd35aa7e4d6c5c087a6bf5ccaacd591.zip |
Move a verbose printf before the first exit so we get a chance
to see what was there.
Notes
Notes:
svn path=/head/; revision=128437
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata-lowlevel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c index 0535de838e7a..37ebbb769414 100644 --- a/sys/dev/ata/ata-lowlevel.c +++ b/sys/dev/ata/ata-lowlevel.c @@ -563,16 +563,16 @@ ata_generic_reset(struct ata_channel *ch) } } + if (bootverbose) + ata_printf(ch, -1, "reset tp1 mask=%02x ostat0=%02x ostat1=%02x\n", + mask, ostat0, ostat1); + /* if nothing showed up there is no need to get any further */ /* SOS is that too strong?, we just might loose devices here XXX */ ch->devices = 0; if (!mask) return; - if (bootverbose) - ata_printf(ch, -1, "reset tp1 mask=%02x ostat0=%02x ostat1=%02x\n", - mask, ostat0, ostat1); - /* reset (both) devices on this channel */ ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_MASTER); DELAY(10); |