Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a8348d0 authored by Jens Axboe's avatar Jens Axboe
Browse files

[PATCH] ide: if the id fields looks screwy, disable DMA



It's the safer choice. Originally due to a bug in itx821x, but a
generally sound thing to do.

Signed-off-by: default avatarJens Axboe <axboe@suse.de>
parent 36193484
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -750,7 +750,7 @@ void ide_dma_verbose(ide_drive_t *drive)
			goto bug_dma_off;
		printk(", DMA");
	} else if (id->field_valid & 1) {
		printk(", BUG");
		goto bug_dma_off;
	}
	return;
bug_dma_off: