Fixes problem with the mouse cursor color on the i810. Notes: Mon Dec 12 07:20:07 EST 2005 rsc Thanks. Glad you figured it out. Reference: /n/sources/patch/applied/i810-cursor Date: Mon Dec 12 00:58:54 CET 2005 Reviewed-by: rsc --- /sys/src/cmd/aux/vga/i81x.c Mon Dec 12 00:56:35 2005 +++ /sys/src/cmd/aux/vga/i81x.c Mon Dec 12 00:56:31 2005 @@ -314,6 +314,7 @@ int i; ulong *rp; I81x *i81x; + char *p; i81x = vga->private; @@ -337,6 +338,20 @@ *rp++ = i81x->lcd[i]; /* set cursor, graphic mode */ rp = (ulong*)(i81x->mmio+0x70008); + *rp = i81x->pixconf | (1<<8); + + p = (char *)(i81x->mmio+0x3c6); /* DACMASK */ + *p = 0xff; + p = (char *)(i81x->mmio+0x3c8); /* DACWX */ + *p = 0x04; + p = (char *)(i81x->mmio+0x3c9); /* DACDATA */ + *p = 0xff; + *p = 0xff; + *p = 0xff; + *p = 0x00; + *p = 0x00; + *p = 0x00; + *rp = i81x->pixconf; ctlr->flag |= Fload;