Fix modesetting on ISA only systems.
Approved by: re@
This commit is contained in:
parent
cdf2381638
commit
019446db3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user