History log of /xsrc/external/mit/xorg-server/dist/hw/sun/sunIo.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 177290df 21-Jun-2025 tsutsui <tsutsui@NetBSD.org>

Refactor Xsun 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.

This refactoring improves the maintainability and portability of
the code by aligning with modern Xorg server practices.

Tested on Sun 3/60 with bwtwo, Type-4 keyboard and mouse.

# 357cbbce 16-Jul-2022 tsutsui <tsutsui@NetBSD.org>

Merge AbortDDX() into ddxGiveUp() as other upstream DDX servers.

https://gitlab.freedesktop.org/xorg/xserver/-/commit/a23eba2a91024d27da45e5aee1f4215f7ec2ae82
> These are so close to identical that most DDXes implement one in terms
> of the other. All the relevant cases can be distinguished by the error
> code, so merge the functions together to make things simpler.

# 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.

# 5ab83d5b 15-Oct-2021 tsutsui <tsutsui@NetBSD.org>

Handle restoring keyboard state via AbortDevices() rather than AbortDDX().

Tested on 3/60. Note AbortDevices() and DEVICE_ABORT in deviceProc
functions were introduced after Xorg 1.14.0:
https://gitlab.freedesktop.org/xorg/xserver/-/commit/9f79e93b6b3416055d08a0e8f9f16d5fd0649e36

# 09f8ca91 08-Dec-2020 mrg <mrg@NetBSD.org>

add dummy ddxInputThreadInit() if INPUTTHREAD is defined.
fixes sun3 build and should fix x68k build too.

# 9679a91b 13-Aug-2020 tsutsui <tsutsui@NetBSD.org>

Avoid dumb DevicePtr casts.

# aa86acb5 11-Aug-2020 tsutsui <tsutsui@NetBSD.org>

Remove more redundant command option arg checks.

# c46e3e8e 09-Aug-2020 tsutsui <tsutsui@NetBSD.org>

Remove redundant command option arg checks.

# 1f29ee3a 04-Aug-2020 tsutsui <tsutsui@NetBSD.org>

Call LogInit() for logging to /var/log/Xsun.%s.log as Xorg server.

# ee7c6486 22-Jul-2020 tsutsui <tsutsui@NetBSD.org>

Import WIP Xorg-Server-1.20'fied monolithic Xsun servers.

This is based on 1.10 version imported into xorg-server.old and
all upstream API changes between xorg-server 1.10 and 1.20 are
applied almost mechanically.
https://github.com/tsutsui/xorg-server-Xsun/commits/xorg-server-1.20

Xsun and XsunMono servers are also confirmed working with bwtwo on
3/60 and tme, and cgtwo on tme. XKB stuff is still to be resolved.