Fix modesetting on ISA only systems.

Approved by: re@
This commit is contained in:
Søren Schmidt 2003-12-03 13:40:26 +00:00
parent cdf2381638
commit 019446db3a

View File

@ -64,7 +64,7 @@ ata_isa_lock(struct ata_channel *ch, int type)
static void
ata_isa_setmode(struct ata_device *atadev, int mode)
{
atadev->mode = min(mode, ATA_PIO_MAX);
atadev->mode = ata_limit_mode(atadev, mode, ATA_PIO_MAX);
}
static int