sticon.c (77bc14f273c2dfecbf87f41fdc00345d99597e13) | sticon.c (c0e4b3ad67997a6756ce0d22335b190baaa9914a) |
---|---|
1/* 2 * linux/drivers/video/console/sticon.c - console driver using HP's STI firmware 3 * 4 * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> 5 * Copyright (C) 2002 Helge Deller <deller@gmx.de> 6 * 7 * Based on linux/drivers/video/vgacon.c and linux/drivers/video/fbcon.c, 8 * which were --- 125 unchanged lines hidden (view full) --- 134 135 car1 = conp->vc_screenbuf[conp->state.x + conp->state.y * conp->vc_cols]; 136 switch (mode) { 137 case CM_ERASE: 138 sti_putc(sticon_sti, car1, conp->state.y, conp->state.x); 139 break; 140 case CM_MOVE: 141 case CM_DRAW: | 1/* 2 * linux/drivers/video/console/sticon.c - console driver using HP's STI firmware 3 * 4 * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> 5 * Copyright (C) 2002 Helge Deller <deller@gmx.de> 6 * 7 * Based on linux/drivers/video/vgacon.c and linux/drivers/video/fbcon.c, 8 * which were --- 125 unchanged lines hidden (view full) --- 134 135 car1 = conp->vc_screenbuf[conp->state.x + conp->state.y * conp->vc_cols]; 136 switch (mode) { 137 case CM_ERASE: 138 sti_putc(sticon_sti, car1, conp->state.y, conp->state.x); 139 break; 140 case CM_MOVE: 141 case CM_DRAW: |
142 switch (conp->vc_cursor_type & 0x0f) { | 142 switch (CUR_SIZE(conp->vc_cursor_type)) { |
143 case CUR_UNDERLINE: 144 case CUR_LOWER_THIRD: 145 case CUR_LOWER_HALF: 146 case CUR_TWO_THIRDS: 147 case CUR_BLOCK: 148 sti_putc(sticon_sti, (car1 & 255) + (0 << 8) + (7 << 11), 149 conp->state.y, conp->state.x); 150 break; --- 219 unchanged lines hidden --- | 143 case CUR_UNDERLINE: 144 case CUR_LOWER_THIRD: 145 case CUR_LOWER_HALF: 146 case CUR_TWO_THIRDS: 147 case CUR_BLOCK: 148 sti_putc(sticon_sti, (car1 & 255) + (0 << 8) + (7 << 11), 149 conp->state.y, conp->state.x); 150 break; --- 219 unchanged lines hidden --- |