diff options
author | sos <sos@FreeBSD.org> | 2003-12-03 13:40:26 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2003-12-03 13:40:26 +0000 |
commit | e57603da9f15ad23d90b15e7ad5464e3b5398310 (patch) | |
tree | 84bfeee89743af8e3ed333839acd976745dd6d17 /sys | |
parent | e3ca591a9b130b8d9f4f5be29dc12fcdb4da84e9 (diff) | |
download | FreeBSD-src-e57603da9f15ad23d90b15e7ad5464e3b5398310.zip FreeBSD-src-e57603da9f15ad23d90b15e7ad5464e3b5398310.tar.gz |
Fix modesetting on ISA only systems.
Approved by: re@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata-isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-isa.c b/sys/dev/ata/ata-isa.c index 9dc409e..f4e9ec8 100644 --- a/sys/dev/ata/ata-isa.c +++ b/sys/dev/ata/ata-isa.c @@ -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 |