diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-11-25 16:43:40 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-11-25 16:43:40 +0000 |
commit | b5f466a56b7643f2169ad7544750365237d7b698 (patch) | |
tree | a9abc388fd363951e088de05641702cc95c18b2a /sys/dev | |
parent | d57bdcd0a5f45cd9c2fc5b3cb7b16888a5c6e5d7 (diff) |
spelling fixes from Martynas Venckus; ok miod
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/vesa/vbe.h | 6 | ||||
-rw-r--r-- | sys/dev/vesa/vesafb.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/vesa/vbe.h b/sys/dev/vesa/vbe.h index 9196866d7a8..7248e7db734 100644 --- a/sys/dev/vesa/vbe.h +++ b/sys/dev/vesa/vbe.h @@ -27,12 +27,12 @@ #define KVM86_CALL_TASKVA 0x2000 /* Information contained in AH following a VBE function call */ -/* Low byte determins call support */ +/* Low byte determines call support */ #define VBECALL_SUPPORT(v) (v & 0xff) #define VBECALL_SUPPORTED 0x4f -/* High byte determins call sucess */ -#define VBECALL_SUCESS(v) (v >> 8 & 0xFF) +/* High byte determines call success */ +#define VBECALL_SUCCESS(v) (v >> 8 & 0xFF) #define VBECALL_SUCCEDED 0x00 #define VBECALL_FAILED 0x01 #define VBECALL_MISMATCH 0x02 /* BIOS SUPPORTS HW DOES NOT */ diff --git a/sys/dev/vesa/vesafb.c b/sys/dev/vesa/vesafb.c index 478d3f0b65d..5987515d8fb 100644 --- a/sys/dev/vesa/vesafb.c +++ b/sys/dev/vesa/vesafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vesafb.c,v 1.4 2007/02/18 19:19:02 gwk Exp $ */ +/* $OpenBSD: vesafb.c,v 1.5 2007/11/25 16:43:39 jmc Exp $ */ /*- * Copyright (c) 2006 Jared D. McNeill <jmcneill@invisible.ca> @@ -100,7 +100,7 @@ vesafb_get_ddc_version(struct vga_pci_softc *sc) if (res || VBECALL_SUPPORT(tf.tf_eax) != VBECALL_SUPPORTED) return 0; - return VBECALL_SUCESS(tf.tf_eax); + return VBECALL_SUCCESS(tf.tf_eax); } @@ -131,7 +131,7 @@ vesafb_get_ddc_info(struct vga_pci_softc *sc, struct edid *info) memcpy(info, buf, sizeof(struct edid)); kvm86_bios_delpage(KVM86_CALL_TASKVA, buf); - return VBECALL_SUCESS(tf.tf_eax); + return VBECALL_SUCCESS(tf.tf_eax); } int |