summaryrefslogtreecommitdiff
path: root/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide.c')
-rw-r--r--ide.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ide.c b/ide.c
index 7b12aa0..53293a7 100644
--- a/ide.c
+++ b/ide.c
@@ -96,7 +96,7 @@ ideintr(void)
acquire(&idelock);
if((b = idequeue) == 0){
release(&idelock);
- cprintf("Spurious IDE interrupt.\n");
+ // cprintf("spurious IDE interrupt\n");
return;
}
idequeue = b->qnext;
@@ -131,7 +131,7 @@ iderw(struct buf *b)
if((b->flags & (B_VALID|B_DIRTY)) == B_VALID)
panic("iderw: nothing to do");
if(b->dev != 0 && !havedisk1)
- panic("idrw: ide disk 1 not present");
+ panic("iderw: ide disk 1 not present");
acquire(&idelock);
@@ -147,7 +147,7 @@ iderw(struct buf *b)
// Wait for request to finish.
// Assuming will not sleep too long: ignore proc->killed.
- while((b->flags & (B_VALID|B_DIRTY)) != B_VALID) {
+ while((b->flags & (B_VALID|B_DIRTY)) != B_VALID){
sleep(b, &idelock);
}