diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-05-24 23:46:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-05-24 23:46:33 -0400 |
commit | ac8df8c1dbdc789454b3739898d16eebc3e7dbff (patch) | |
tree | 456a9220fbcd7d2a0d49e880e498f5e0846afe25 /src/floppy.c | |
parent | 0f803e460e907c4b8ad5c121ea977d30f87b98dc (diff) | |
download | seabios-hppa-ac8df8c1dbdc789454b3739898d16eebc3e7dbff.zip seabios-hppa-ac8df8c1dbdc789454b3739898d16eebc3e7dbff.tar.gz seabios-hppa-ac8df8c1dbdc789454b3739898d16eebc3e7dbff.tar.bz2 |
Improve control of debug messages.
Rename BX_INFO() to dprintf() and add a "severity level" parameter.
Add CONFIG_DEBUG_LEVEL compile option to control debug verbosity.
Add more debug info to init steps of post.c.
Diffstat (limited to 'src/floppy.c')
-rw-r--r-- | src/floppy.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/floppy.c b/src/floppy.c index 233aff7..9eb7737 100644 --- a/src/floppy.c +++ b/src/floppy.c @@ -434,7 +434,6 @@ floppy_1302(struct bregs *regs, u8 drive) if (head > 1 || sector == 0 || num_sectors == 0 || track > 79 || num_sectors > 72) { - BX_INFO("int13_diskette: read/write/verify: parameter out of range\n"); floppy_fail(regs, DISK_RET_EPARAM); return; } @@ -482,7 +481,6 @@ floppy_1303(struct bregs *regs, u8 drive) if (head > 1 || sector == 0 || num_sectors == 0 || track > 79 || num_sectors > 72) { - BX_INFO("int13_diskette: read/write/verify: parameter out of range\n"); floppy_fail(regs, DISK_RET_EPARAM); return; } @@ -534,7 +532,6 @@ floppy_1304(struct bregs *regs, u8 drive) if (head > 1 || sector == 0 || num_sectors == 0 || track > 79 || num_sectors > 72) { - BX_INFO("int13_diskette: read/write/verify: parameter out of range\n"); floppy_fail(regs, DISK_RET_EPARAM); return; } @@ -558,7 +555,6 @@ floppy_1305(struct bregs *regs, u8 drive) u8 head = regs->dh; if (head > 1 || num_sectors == 0 || num_sectors > 18) { - BX_INFO("int13_diskette: read/write/verify: parameter out of range\n"); floppy_fail(regs, DISK_RET_EPARAM); return; } @@ -715,7 +711,6 @@ floppy_1316(struct bregs *regs, u8 drive) static void floppy_13XX(struct bregs *regs, u8 drive) { - BX_INFO("int13_diskette: unsupported AH=%02x\n", regs->ah); floppy_ret(regs, DISK_RET_EPARAM); } |