<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/syscons, branch releng/6.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC: Fix our ioctl(2) implementation for ioctls with "int" arguments.</title>
<updated>2006-10-04T06:09:11+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-10-04T06:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7fdeb89389886d8be16f14cd4a437452e5a7f422'/>
<id>7fdeb89389886d8be16f14cd4a437452e5a7f422</id>
<content type='text'>
Approved by:	re (hrs, kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (hrs, kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2006-03-04T00:41:28+00:00</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2006-03-04T00:41:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2e8c25dc76473dff57229afb9d7db61eae807dab'/>
<id>2e8c25dc76473dff57229afb9d7db61eae807dab</id>
<content type='text'>
Integrate kbdmux(4) into syscons(4) and kbd code.

By default syscons(4) will look for the kbdmux(4) keyboard first, and then,
if not found, look for any keyboard.

Current kbd code is modified so if kbdmux(4) is the current keyboard, all
new keyboards are automatically added to the kbdmux(4).

Switch to kbdmux(4) can be done at boot time, by loading kbdmux module at
the loader prompt, or at runtime, by kldload'ing the kbdmux module and
releasing current active keyboard.

If, for whatever reason, kbdmux(4) is not required/desired then just do
not load it and everything should work as before. It is also possible to
kldunload kbdmux at runtime and syscons(4) will automatically switch to
the first available keyboard.

Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Integrate kbdmux(4) into syscons(4) and kbd code.

By default syscons(4) will look for the kbdmux(4) keyboard first, and then,
if not found, look for any keyboard.

Current kbd code is modified so if kbdmux(4) is the current keyboard, all
new keyboards are automatically added to the kbdmux(4).

Switch to kbdmux(4) can be done at boot time, by loading kbdmux module at
the loader prompt, or at runtime, by kldload'ing the kbdmux module and
releasing current active keyboard.

If, for whatever reason, kbdmux(4) is not required/desired then just do
not load it and everything should work as before. It is also possible to
kldunload kbdmux at runtime and syscons(4) will automatically switch to
the first available keyboard.

Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC syscons.c rev 1.441 and documentation:</title>
<updated>2006-02-14T16:41:27+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2006-02-14T16:41:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=560382e1c7d592f4ad516d1799ec5ac38971f1d2'/>
<id>560382e1c7d592f4ad516d1799ec5ac38971f1d2</id>
<content type='text'>
When SC_DISABLE_KDBKEY or SC_DISABLE_REBOOT are not defined allow the
same behavior to be controlled by the sysctls, hw.syscons.kbd_kbdkey
and hw.syscons.kbd_reboot respectively.

PR:		kern/72728
Submitted by:	Luca Morettoni &lt;morettoni at libero dot it&gt;
Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When SC_DISABLE_KDBKEY or SC_DISABLE_REBOOT are not defined allow the
same behavior to be controlled by the sysctls, hw.syscons.kbd_kbdkey
and hw.syscons.kbd_reboot respectively.

PR:		kern/72728
Submitted by:	Luca Morettoni &lt;morettoni at libero dot it&gt;
Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC:	creator.c 1.9, fbreg.h 1.19, gfb.c 1.8, machfb.c 1.4,</title>
<updated>2005-10-05T21:48:03+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2005-10-05T21:48:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c0f7f26cf3e35dd8ee9846417eb068b6527fd683'/>
<id>c0f7f26cf3e35dd8ee9846417eb068b6527fd683</id>
<content type='text'>
	ofw_syscons.c 1.9, s3_pci.c 1.10, scgfbrndr.c 1.23, scmouse.c 1.40,
	scvgarndr.c 1.20, scvidctl.c 1.37, syscons.c 1.439, syscons.h 1.85,
	tga.c 1.8, vesa.c 1.52, vga.c 1.35

Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t
and do some preparations for handling 12x22 fonts (currently lots of code
implies and/or hardcodes a font width of 8 pixels). This will be required
on sparc64 which uses a default font size of 12x22 in order to add font
loading and saving support as well as to use a syscons(4)-supplied mouse
pointer image.

Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	ofw_syscons.c 1.9, s3_pci.c 1.10, scgfbrndr.c 1.23, scmouse.c 1.40,
	scvgarndr.c 1.20, scvidctl.c 1.37, syscons.c 1.439, syscons.h 1.85,
	tga.c 1.8, vesa.c 1.52, vga.c 1.35

Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t
and do some preparations for handling 12x22 fonts (currently lots of code
implies and/or hardcodes a font width of 8 pixels). This will be required
on sparc64 which uses a default font size of 12x22 in order to add font
loading and saving support as well as to use a syscons(4)-supplied mouse
pointer image.

Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-09-07T22:58:59+00:00</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2005-09-07T22:58:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6038f5e8264b63267c0e60d79c622127fa1fc852'/>
<id>6038f5e8264b63267c0e60d79c622127fa1fc852</id>
<content type='text'>
  scmouse.c, 1.39:  In set_mouse_pos(), try to avoid division by zero errors.

  scvidctl.c, 1.36:
	In sc_set_text_mode(), reset fontwidth if it is &lt;= 0.
	Eliminates division by zero errors in syscons driver.

Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  scmouse.c, 1.39:  In set_mouse_pos(), try to avoid division by zero errors.

  scvidctl.c, 1.36:
	In sc_set_text_mode(), reset fontwidth if it is &lt;= 0.
	Eliminates division by zero errors in syscons driver.

Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-09-02T15:31:03+00:00</updated>
<author>
<name>Craig Rodrigues</name>
<email>rodrigc@FreeBSD.org</email>
</author>
<published>2005-09-02T15:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dec095fca8e3559915aeaa812cd778a5fcc67e2f'/>
<id>dec095fca8e3559915aeaa812cd778a5fcc67e2f</id>
<content type='text'>
  Prevent division by zero errors in sc_mouse_move()
  by explicitly setting sc-&gt;font_width, in the same
  places where sc-&gt;font_size is set, instead of
  relying on the default initialized value of 0 for sc-&gt;font_width.

PR:             kern/84836
Reported by:    Andrey V. Elsukov &lt;bu7cher at yandex dot ru&gt;
Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Prevent division by zero errors in sc_mouse_move()
  by explicitly setting sc-&gt;font_width, in the same
  places where sc-&gt;font_size is set, instead of
  relying on the default initialized value of 0 for sc-&gt;font_width.

PR:             kern/84836
Reported by:    Andrey V. Elsukov &lt;bu7cher at yandex dot ru&gt;
Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC to RELENG_6</title>
<updated>2005-07-20T18:56:21+00:00</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2005-07-20T18:56:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=484fe85e27d8e2865d2c86d5317f06e33eea2730'/>
<id>484fe85e27d8e2865d2c86d5317f06e33eea2730</id>
<content type='text'>
kbdmux(4) keyboard multiplexer integration

o Add two new ioctl's KBADDKBD and KBRELKBD. These are used to add and remove
  keyboard to (and from) kbdmux(4) keyboard multiplexer;

o Introduce new kbd_find_keyboard2() function. It does exactly the same job
  as kbd_find_keyboard() function except it allows to specify starting index.
  This function can be used to iterate over keyboards array;

o Re-implement kbd_find_keyboard() as call to kbd_find_keyboard2() with starting
  index of zero;

o Make sure syscons(4) passed KBADDKBD and KBRELKBD ioctl's onto currently
  active keyboard.

These changes should not have any visible effect.

Approved by:	re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
kbdmux(4) keyboard multiplexer integration

o Add two new ioctl's KBADDKBD and KBRELKBD. These are used to add and remove
  keyboard to (and from) kbdmux(4) keyboard multiplexer;

o Introduce new kbd_find_keyboard2() function. It does exactly the same job
  as kbd_find_keyboard() function except it allows to specify starting index.
  This function can be used to iterate over keyboards array;

o Re-implement kbd_find_keyboard() as call to kbd_find_keyboard2() with starting
  index of zero;

o Make sure syscons(4) passed KBADDKBD and KBRELKBD ioctl's onto currently
  active keyboard.

These changes should not have any visible effect.

Approved by:	re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix syscons on amd64.  The SC_PIXEL_MODE commit from May 29th added a new</title>
<updated>2005-06-14T02:43:45+00:00</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2005-06-14T02:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e55b30b46922288828990f457db355a7e7582541'/>
<id>e55b30b46922288828990f457db355a7e7582541</id>
<content type='text'>
function pointer to the vga render dispatch table and initialized it with
vga_nop.  The problem is that vga_nop() is a varargs function, and the
table declares a non-varargs function pointer.  On amd64 (and I think ppc),
mixing varargs and non-varargs function pointers is fatal.

Change vga_nop() and gfb_nop() from varargs to non-varargs do-nothing
functions.  This stops the stack corruption that only happened on amd64.

Approved by:  re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
function pointer to the vga render dispatch table and initialized it with
vga_nop.  The problem is that vga_nop() is a varargs function, and the
table declares a non-varargs function pointer.  On amd64 (and I think ppc),
mixing varargs and non-varargs function pointers is fatal.

Change vga_nop() and gfb_nop() from varargs to non-varargs do-nothing
functions.  This stops the stack corruption that only happened on amd64.

Approved by:  re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>Only set mode when the incoming ioctl is IOC_VOID, until we have better</title>
<updated>2005-06-10T05:20:33+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2005-06-10T05:20:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4c3763445ddc83d75b7e77c33aa5b1871fe550b7'/>
<id>4c3763445ddc83d75b7e77c33aa5b1871fe550b7</id>
<content type='text'>
solution against the ioctl collisions.

Submitted by:	Antoine Brodin &lt;antoine.brodin at laposte net&gt;
PR:		kern/81867
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
solution against the ioctl collisions.

Submitted by:	Antoine Brodin &lt;antoine.brodin at laposte net&gt;
PR:		kern/81867
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix LINT by defining vga_pxlmouse_planar and vga_pxlmouse_direct.</title>
<updated>2005-05-30T18:37:25+00:00</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2005-05-30T18:37:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5a8d0950c18b46540cb11c837410d7e91eb822f7'/>
<id>5a8d0950c18b46540cb11c837410d7e91eb822f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
