diff options
| author | Paul Saab <ps@FreeBSD.org> | 2001-03-28 01:37:29 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2001-03-28 01:37:29 +0000 |
| commit | 6b8b8c7fdc750322acdeccb71f1e7bd707e01e15 (patch) | |
| tree | f6db56e675a6f82ae77054c4a4fc5fbeb9fe180d /sys/dev/ida | |
| parent | 919eea6db9fcac16c41f1255ad370d02bba52585 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ida')
| -rw-r--r-- | sys/dev/ida/ida_disk.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index d2d99f50cd4a7..0aaeadc403708 100644 --- a/sys/dev/ida/ida_disk.c +++ b/sys/dev/ida/ida_disk.c @@ -232,22 +232,12 @@ idad_dump(dev_t dev) if (error) return (error); - if (addr % (1024 * 1024) == 0) { -#ifdef HW_WDOG - if (wdog_tickler) - (*wdog_tickler)(); -#endif - printf("%ld ", (long)(count * DEV_BSIZE)/(1024 * 1024)); - } + if (dumpstatus(addr, (long)(count * DEV_BSIZE)) < 0) + return (EINTR); blkno += blkcnt * dumppages; count -= blkcnt * dumppages; addr += PAGE_SIZE * dumppages; - - if (cncheckc() == 0x03) - return (EINTR); - else - printf("[CTRL-C to abort] "); } return (0); } |
