<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/kbd, branch release/10.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-11-07T15:43:11Z</updated>
<entry>
<title>Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.</title>
<updated>2011-11-07T15:43:11Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2011-11-07T15:43:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6472ac3d8a86336899b6cfb789a4cd9897e3fab5'/>
<id>urn:sha1:6472ac3d8a86336899b6cfb789a4cd9897e3fab5</id>
<content type='text'>
The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
</content>
</entry>
<entry>
<title>Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP.</title>
<updated>2011-07-17T08:19:19Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2011-07-17T08:19:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=78d4d8eeb241bfc6f0a9487894945886b3ee2b41'/>
<id>urn:sha1:78d4d8eeb241bfc6f0a9487894945886b3ee2b41</id>
<content type='text'>
Back in 2009 I changed the ABI of the GIO_KEYMAP and PIO_KEYMAP ioctls
to support wide characters. I created a patch to add ABI compatibility
for the old calls, but I didn't get any feedback to that.

It seems now people are upgrading from 8 to 9 they experience this
issue, so add it anyway.
</content>
</entry>
<entry>
<title>Explicitly tell the compiler that we don't care about the return value</title>
<updated>2010-10-13T11:37:12Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2010-10-13T11:37:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cd1fa5bd4dfc2d1fd30cfb67f6afd37f33885b49'/>
<id>urn:sha1:cd1fa5bd4dfc2d1fd30cfb67f6afd37f33885b49</id>
<content type='text'>
of kbdd_ioctl().
</content>
</entry>
<entry>
<title>Use an unsigned integer for storing the key code.</title>
<updated>2009-09-22T11:29:11Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-09-22T11:29:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=052002e6f2bbd4f99af8cae8ecad585f39ce52ce'/>
<id>urn:sha1:052002e6f2bbd4f99af8cae8ecad585f39ce52ce</id>
<content type='text'>
It seems Clang breaks when checking for SPCLKEY, which is now
0x80000000. Using an unsigned integer fixes this. This is also
consistent with other pieces of kbd/syscons code, because these also use
u_int.

Submitted by:	rdivacky
</content>
</entry>
<entry>
<title>Make the keyboard layer Unicode aware.</title>
<updated>2009-09-19T17:56:26Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-09-19T17:56:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b05f9c86d1566ad39311f79022e924422dd463f7'/>
<id>urn:sha1:b05f9c86d1566ad39311f79022e924422dd463f7</id>
<content type='text'>
Just take keyent_t to use an u_int to store the Unicode codepoints.
Unfortunately the keymap is now too big to be loaded using an ioctl
argument, so change the ioctl to pick a pointer.

This change breaks kbdcontrol ABI. It doesn't break X11, because X11
doesn't do anything with syscons keymaps. It just switches the device
out of K_XLATE.

Obtained from:	//depot/user/ed/newcons/...
</content>
</entry>
<entry>
<title>Move buffer management into kbd and kbdmux drivers.</title>
<updated>2009-06-05T15:19:05Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-06-05T15:19:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5f46eda1fd3bd289040755ba8c02cfd374c84b88'/>
<id>urn:sha1:5f46eda1fd3bd289040755ba8c02cfd374c84b88</id>
<content type='text'>
These two drivers seem to be the last consumers of clists. clists are
quite overengineered for simple circular buffers, so I'm adding similar
buffer management routines to the kbd and kbdmux drivers. The input
buffer is now part of the softc structures, instead of having
dynamically allocated cblocks.
</content>
</entry>
<entry>
<title>Whitespace nitpicking</title>
<updated>2009-04-09T19:11:08Z</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2009-04-09T19:11:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b7f32062d151ee6a98d6b221b20cd420b2d086e9'/>
<id>urn:sha1:b7f32062d151ee6a98d6b221b20cd420b2d086e9</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Introduce KB_POLLED flag to struct keyboard's kb_flags field.</title>
<updated>2009-04-09T18:31:33Z</updated>
<author>
<name>Maksim Yevmenkin</name>
<email>emax@FreeBSD.org</email>
</author>
<published>2009-04-09T18:31:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a449b18a5b74c2c404b6bfada9602f6d6ff19370'/>
<id>urn:sha1:a449b18a5b74c2c404b6bfada9602f6d6ff19370</id>
<content type='text'>
Reviewed by:	freebsd-current@, freebsd-hackers@
MFC after:	1 week
</content>
</entry>
<entry>
<title>Replace all calls to minor() with dev2unit().</title>
<updated>2008-09-27T08:51:18Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-09-27T08:51:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6bfa9a2d66dd0e00182017d6741d44e54d0b2cca'/>
<id>urn:sha1:6bfa9a2d66dd0e00182017d6741d44e54d0b2cca</id>
<content type='text'>
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.

This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Don't include &lt;sys/tty.h&gt; in non-TTY drivers.</title>
<updated>2008-07-24T09:54:10Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-07-24T09:54:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=75ec42320df4af879ff4fb54938046e46c4895fd'/>
<id>urn:sha1:75ec42320df4af879ff4fb54938046e46c4895fd</id>
<content type='text'>
The kbd, kbdmux, ugen and uhid drivers included &lt;sys/tty.h&gt;, because
they needed clists, which have been moved to &lt;sys/clist.h&gt; some time
ago. In the MPSAFE TTY branch, &lt;sys/tty.h&gt; does not include
&lt;sys/clist.h&gt;, which means we have to teach these drivers to include
this header file directly.

Approved by:	philip (mentor, implicit)
</content>
</entry>
</feed>
