summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux/vga/igfx.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-09-14 15:15:14 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-09-14 15:15:14 +0200
commitcb083221d274aac11b62c59921f27c000075e2eb (patch)
tree87c216a600b670b1f9aaac083d73c562d29ed82e /sys/src/cmd/aux/vga/igfx.c
parent029c271825d626f4eb9e8310f5e72a026d3c16d7 (diff)
igfx: fix typos (thanks qwx)
Diffstat (limited to 'sys/src/cmd/aux/vga/igfx.c')
-rw-r--r--sys/src/cmd/aux/vga/igfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/aux/vga/igfx.c b/sys/src/cmd/aux/vga/igfx.c
index 27d19e71b..d39b92db4 100644
--- a/sys/src/cmd/aux/vga/igfx.c
+++ b/sys/src/cmd/aux/vga/igfx.c
@@ -1499,7 +1499,7 @@ dpauxio(Igfx *igfx, Dp *dp, uchar buf[20], int len)
}
/* clear sticky bits */
- wr(igfx, dp->auxctl.a, (1<<28) | (1<25) | (1<<30));
+ wr(igfx, dp->auxctl.a, (1<<28) | (1<<25) | (1<<30));
for(i=0; i<nelem(dp->auxdat); i++){
w = buf[i*4+0]<<24;
@@ -1537,7 +1537,7 @@ dpauxio(Igfx *igfx, Dp *dp, uchar buf[20], int len)
}
sleep(5);
}
- if(w & (1<28)){
+ if(w & (1<<28)){
werrstr("receive timeout");
return -1;
}