#
15805031 |
| 15-Jan-2023 |
tsutsui <tsutsui@NetBSD.org> |
TAB/space cleanup.
|
#
beecddb6 |
| 07-Aug-2021 |
thorpej <thorpej@NetBSD.org> |
Merge thorpej-cfargs2.
|
#
3bee0c11 |
| 24-Apr-2021 |
thorpej <thorpej@NetBSD.org> |
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass a
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
show more ...
|
#
e8e32d3e |
| 26-Dec-2020 |
tsutsui <tsutsui@NetBSD.org> |
Fix a longstanding bug in hilkbd (and dnkbd) console attachment.
cn_tab->cn_dev is initialized in wsdisplay_emul_attach() (but not in wsdiaplay_cnattach()) so it cannot be used when hil(4) is attach
Fix a longstanding bug in hilkbd (and dnkbd) console attachment.
cn_tab->cn_dev is initialized in wsdisplay_emul_attach() (but not in wsdiaplay_cnattach()) so it cannot be used when hil(4) is attached before wsdisplay(4) is attached. Instead, use exported wsdisplay_cnputc() that is actually set in early wsdisplay_cnattach().
Now we can use ddb and RB_ASKNAME via HIL keyboard console. Should be pulleld up to netbsd-8 and netbsd-9.
show more ...
|
#
75129d27 |
| 08-Apr-2017 |
tsutsui <tsutsui@NetBSD.org> |
Remove auto-repeat key functions in WSKBD_RAW mode.
Pulled from OpenBSD: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/hp300/dev/Attic/dnkbd.c#rev1.18 http://cvsweb.openbsd.org/cgi-bin/cvs
Remove auto-repeat key functions in WSKBD_RAW mode.
Pulled from OpenBSD: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/hp300/dev/Attic/dnkbd.c#rev1.18 http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/hil/hilkbd.c#rev1.15 > WSKBD_RAW mode used in X, but X independently implements auto-repeat keys.
Tested with Xorg server on HP425t with topcat.
show more ...
|
#
19cb18ac |
| 25-Mar-2017 |
tsutsui <tsutsui@NetBSD.org> |
In RAWKBD mode, don't schedule autorepeat callout(9) after KEY_UP events.
Now Apollo Domain keyboard works propery on Xorg server on my 425t. Changes are taken from sys/dev/hil/hilkbd.c.
Note as Op
In RAWKBD mode, don't schedule autorepeat callout(9) after KEY_UP events.
Now Apollo Domain keyboard works propery on Xorg server on my 425t. Changes are taken from sys/dev/hil/hilkbd.c.
Note as OpenBSD says in the following commit log: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/hp300/dev/Attic/dnkbd.c#rev1.18 >> Auto-repeat keys in WSKBD_RAW mode is not needed. >> WSKBD_RAW mode used in X, but X independently implements auto-repeat keys. these autorepeat code will be removed later, but I commit this fix first for the record.
show more ...
|
#
ba65e61d |
| 25-Mar-2017 |
tsutsui <tsutsui@NetBSD.org> |
Send break signal to reset keyboard state before keyboard probe.
Now Apollo Domain keyboard is probed properly even after any keys are typed before boot (i.e. on bootloader prompt).
Tested on 425e
Send break signal to reset keyboard state before keyboard probe.
Now Apollo Domain keyboard is probed properly even after any keys are typed before boot (i.e. on bootloader prompt).
Tested on 425e and A1630-82001 keyboard (that were contributed by Miod Vallat).
show more ...
|
#
83fd9274 |
| 24-Apr-2014 |
tsutsui <tsutsui@NetBSD.org> |
Pull random notes on the Apollo Domain keyboard from ancient PR/3528.
|
#
487c217e |
| 24-Apr-2014 |
tsutsui <tsutsui@NetBSD.org> |
Make the Apollo Domain keyboard actually work.
Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW) provided by Miod Vallat. Mouse support needs more work.
|
#
c8d03042 |
| 18-Feb-2011 |
tsutsui <tsutsui@NetBSD.org> |
Use aprint_normal(9) and variants.
|
#
ea0fa074 |
| 12-Feb-2011 |
tsutsui <tsutsui@NetBSD.org> |
- make local functions static - some KNF
|
#
f080de4d |
| 12-Feb-2011 |
tsutsui <tsutsui@NetBSD.org> |
Fix one more porting botch inside #ifdef WSDISPLAY_COMPAT_RAWKBD.
|
#
661e90f0 |
| 12-Feb-2011 |
tsutsui <tsutsui@NetBSD.org> |
Make this compile properly with options WSDISPLAY_COMPAT_RAWKBD.
|
#
7937d6cc |
| 12-Feb-2011 |
tsutsui <tsutsui@NetBSD.org> |
Pull Apollo Domain keyboard and mouse support from OpenBSD. Untested (no hardware), but no bad sideeffect on 425t without Domain keyboard.
This is the last portion of "new hp300 kernel features" sub
Pull Apollo Domain keyboard and mouse support from OpenBSD. Untested (no hardware), but no bad sideeffect on 425t without Domain keyboard.
This is the last portion of "new hp300 kernel features" submitted in PR port-hp300/3528 back in 1997, and I think finally we can close it.
show more ...
|