diff options
author | delphij <delphij@FreeBSD.org> | 2009-09-21 08:53:26 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-09-21 08:53:26 +0000 |
commit | c57e67ab22226e933a14c013a0d93639fc4ced7d (patch) | |
tree | 3fe5edfb02a799eeec2cfe5332a7f96df6d34c1f /sys/dev/fb | |
parent | 94909d6fc5b99262651258a6b67c3600dfc3268a (diff) | |
download | FreeBSD-src-c57e67ab22226e933a14c013a0d93639fc4ced7d.zip FreeBSD-src-c57e67ab22226e933a14c013a0d93639fc4ced7d.tar.gz |
Style(9) fixes.
Submitted by: swell.k at gmail.com
Diffstat (limited to 'sys/dev/fb')
-rw-r--r-- | sys/dev/fb/vesa.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/fb/vesa.c b/sys/dev/fb/vesa.c index 469229c..43f95f6 100644 --- a/sys/dev/fb/vesa.c +++ b/sys/dev/fb/vesa.c @@ -461,7 +461,7 @@ vesa_bios_state_buf_size(void) if ((regs.R_AX & 0xff) != 0x4f) return 0; - return regs.R_BX*64; + return regs.R_BX * 64; } static int @@ -698,7 +698,7 @@ vesa_bios_init(void) vesa_revstr = (char *)x86biosOffs(FARP(vesa_adp_info->v_revstr)); } - vesa_vmodetab = (u_int16_t *)x86biosOffs(FARP(vesa_adp_info->v_modetable)); + vesa_vmodetab = (uint16_t *)x86biosOffs(FARP(vesa_adp_info->v_modetable)); if (vesa_vmodetab == NULL) return 1; @@ -783,7 +783,7 @@ vesa_bios_init(void) - vmode.v_lfb; else vesa_vmode[modes].vi_buffer_size - = vmode.v_offscreen + vmode.v_offscreensize*1024; + = vmode.v_offscreen + vmode.v_offscreensize * 1024; #endif vesa_vmode[modes].vi_mem_model = vesa_translate_mmodel(vmode.v_memmodel); @@ -1269,7 +1269,7 @@ vesa_get_origin(video_adapter_t *adp, off_t *offset) if ((regs.R_AX & 0xff) != 0x4f) return 1; - *offset = regs.DX*adp->va_window_gran; + *offset = regs.DX * adp->va_window_gran; return 0; } @@ -1298,7 +1298,7 @@ vesa_set_origin(video_adapter_t *adp, off_t offset) regs.R_EAX = 0x4f05; regs.R_EBX = 0; - regs.R_EDX = offset/adp->va_window_gran; + regs.R_EDX = offset / adp->va_window_gran; x86biosCall(®s, 0x10); if ((regs.R_AX & 0xff) != 0x4f) @@ -1306,7 +1306,7 @@ vesa_set_origin(video_adapter_t *adp, off_t offset) regs.R_EAX = 0x4f05; regs.R_EBX = 1; - regs.R_EDX = offset/adp->va_window_gran; + regs.R_EDX = offset / adp->va_window_gran; x86biosCall(®s, 0x10); adp->va_window_orig = (offset/adp->va_window_gran)*adp->va_window_gran; |