History log of /xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 59a1f54a 22-Jun-2025 tsutsui <tsutsui@NetBSD.org>

Make sure the keyboard device is actually enabled in DDXRingBell().

Also use consistent variable names for readability.

# 62918564 22-Jun-2025 tsutsui <tsutsui@NetBSD.org>

Allocate keyboard and mouse event buffers in the device private structures.

Also simplify GetEvents functions.

# 9decb2cd 22-Jun-2025 tsutsui <tsutsui@NetBSD.org>

Allocate X68kKbdPriv dynamically to make it really private.

DEVICE_OFF and DEVICE_CLOSE operations are adjusted accordingly.
x68kGetKbdType() function is also added to get keyboard map type
specified in the config file.

# 4ff7d041 22-Jun-2025 tsutsui <tsutsui@NetBSD.org>

Reduce references to x68kKbdPriv and x68kMousePriv for readability.

# 45f60b5b 22-Jun-2025 tsutsui <tsutsui@NetBSD.org>

Refactor X68k input device handling to remove SIGIO based event processing.

The keyboard and pointer input events are now processed directly
using fd event notifications registered via DIX SetNotifyFd(),
instead of the legacy SIGIO-based asynchronous I/O.

# b0c54374 22-Jun-2025 tsutsui <tsutsui@NetBSD.org>

Use consistent name for DeviceIntPtr variables among keyboard and mouse.

# 6b007147 15-Jul-2022 mrg <mrg@NetBSD.org>

couple of changes needed for xorg-server 21.1.4.

- AbortDDX() is removed, make it static to avoid code churn since
it is used by internal code now
- LegalModifier() is gone
- if the PRESENT extension isn't included, don't enable the
-fakescreenfps option since it require PRESENT.

fixes builds for sun3 and x68k.

# 2aa2a51f 17-Mar-2021 tsutsui <tsutsui@NetBSD.org>

Fixes "FatalError re-entered, aborting" error when Xservers get SIGSEGV.

Handle a new DEVICE_ABORT mode perperly in deviceProc funtions.
Also don't exit via FatalError() on an unknown mode because it looks
upstream assumes DDX deviceProc functions don't treat it fatal:
https://gitlab.freedesktop.org/xorg/xserver/-/commit/9f79e93b6b3416055d08a0e8f9f16d5fd0649e36

# 9c576acf 11-Mar-2021 tsutsui <tsutsui@NetBSD.org>

ErrorF() doesn't append newlines at the end of messages.

# 9b65525f 04-Nov-2020 tsutsui <tsutsui@NetBSD.org>

Use exact-width interger types properly for register accesses etc.

No binary changes.

# bd299232 01-Nov-2020 tsutsui <tsutsui@NetBSD.org>

Fix a suspicious chunk disabled on xfree 4.x migration as sunKbd.c does.

# 5ca846b1 01-Aug-2020 tsutsui <tsutsui@NetBSD.org>

Replace 'pointer' type with 'void *' to sync with upstream manner.

https://cgit.freedesktop.org/xorg/xserver/commit/?id=60014a4a98ff924ae7f6840781f768c1cc93bbab

# ab290810 01-Aug-2020 tsutsui <tsutsui@NetBSD.org>

TAB/space cleanup.

# 1179ded1 19-Jul-2020 tsutsui <tsutsui@NetBSD.org>

Sync with xorg-server.old: Remove #ifdef XKB conditional.

> It has been mandatory on Xorg:
> https://cgit.freedesktop.org/xorg/xserver/commit/?id=40877c6680863bd6a8475f2bb0c54df55bcf0b0e

# 72502d70 18-Jul-2020 tsutsui <tsutsui@NetBSD.org>

Update for removal of AddEnabledDevice and RemoveEnabledDevice.

Use the NotifyFd API instead as per upstream commits:
https://cgit.freedesktop.org/xorg/xserver/commit/?id=55c2e1a3aa587c58a74066724e11e30b3df267b8
https://cgit.freedesktop.org/xorg/xserver/commit/?id=be5a513fee6cbf29ef7570e57eb0436d70fbd88c
https://cgit.freedesktop.org/xorg/xserver/commit/?id=60a91031d13e4d29c383087120e318f6b528b6e5
https://cgit.freedesktop.org/xorg/xserver/commit/?id=7def2fea30060d47780dc1eedc91fada5ae1934f

# 80c54d45 10-Apr-2020 tsutsui <tsutsui@NetBSD.org>

Remove clause 3 and 4 from X68k server files written by Yasushi Yamasaki.

I've finally contacted with Yamasaki-san and he kindly answered
"no objection to change them to 2 clause license" in private mail.
Diffs to be committed have also been confirmed by him.
We appreciate all his contribution to early NetBSD/x68k.

# bddeb3e5 11-Sep-2016 tsutsui <tsutsui@NetBSD.org>

Pull more changes from Xnest to adapt X68k to Xorg server 1.18.

- use QueueKeyboardEvents() and QueuePointerEvents() which are provided
by dix/getevents.c, instead of raw mieqEnqueue() with uninitialized
local InternalEvent
- remove now actually unused local InternalEvent
- explicitly call mieqFini() in DDX CloseInput()

Confirmed working on XM6i, and "please commit" from mrg@.

# 909daefd 30-Aug-2016 mrg <mrg@NetBSD.org>

port to xorg-server 1.18. builds and may work, but not tested.

# ba64b02e 01-Mar-2014 tsutsui <tsutsui@NetBSD.org>

Port the ancient Xsun based monolithic MD X68k server to X11R7, like Xnest.

Most diffs (API changes from xfree to xorg and some WARNSfy)
are mechanical. Confirmed working on X68030 and XM6i.

See my post on port-x68k@ for details:
http://mail-index.netbsd.org/port-x68k/2014/02/27/msg000043.html