History log of /netbsd-src/sys/arch/hpcsh/dev/pfckbd.c (Results 1 – 25 of 33)
Revision Date Author Comments
# 9719c27f 01-Jun-2023 andvar <andvar@NetBSD.org>

fix various typos in comments.


# c7fb772b 07-Aug-2021 thorpej <thorpej@NetBSD.org>

Merge thorpej-cfargs2.


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


# ffcff524 07-Aug-2017 uwe <uwe@NetBSD.org>

Don't reschedule the callout in the scanning function itself, as that
conflicts with using the same function for polled console.

Makes early ddb work with wscons console again on my Jornada 690.


# 1d7f24ea 12-Feb-2012 matt <matt@NetBSD.org>

Change old-style function defintions to C89 prototypes.

Approved by releng.


# f48d88bf 19-Jul-2011 dyoung <dyoung@NetBSD.org>

Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark hpcsh/bus.h obsolete.


# 4e37bb5a 05-Apr-2009 uwe <uwe@NetBSD.org>

Register with pmf(9), tell it we don't need anything.


# df7f595e 18-Mar-2009 cegger <cegger@NetBSD.org>

Ansify function definitions w/o arguments. Generated with sed.


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 99111eba 27-Mar-2008 uwe <uwe@NetBSD.org>

Convert to use CFATTACH_DECL_NEW (no softc).


# d974db0a 17-Oct-2007 garbled <garbled@NetBSD.org>

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the v

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

show more ...


# 685380a8 24-Sep-2007 kiyohara <kiyohara@NetBSD.org>

Add psh3pwr.


# 88ab7da9 09-Jul-2007 ad <ad@NetBSD.org>

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements


# 2889a03e 23-Feb-2006 uwe <uwe@NetBSD.org>

Order functions so that there's a logic order.
Add comments. Misc cosmetic.


# ea99f7e9 23-Feb-2006 uwe <uwe@NetBSD.org>

s/STATIC/static/
Propagate "static" to function definitions.


# 131f4396 21-Jan-2006 uwe <uwe@NetBSD.org>

pfckbd_input: make edge and mask unsigned ints to avoid lint warning
about obscure semantics change in ANSI C. Saves one extu.w too.
Move edge assignment out of if conditional expression.


# 4c693ad4 21-Jan-2006 uwe <uwe@NetBSD.org>

Use C99 __func__ instead of gcc __FUNCTION__ to make lint happy.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# dad1ac75 23-May-2005 kiyohara <kiyohara@NetBSD.org>

1. Fixed GPIO bits. (PCCR and PCDR)
2. Save and restore PCDR, PDDR, PEDR.


# 5176524b 18-Jan-2005 uwe <uwe@NetBSD.org>

Use uint<N>_t instead of u_int<N>_t.


# a1e2e32e 18-Jan-2005 uwe <uwe@NetBSD.org>

Rewrite pfckbd_callout_hitachi() to do the same scan line dance that
pfckbd_callout_hp() does. Change the order of scan and the layout of
the matrix to be more natural.

Chords like <Shift>+<L> now

Rewrite pfckbd_callout_hitachi() to do the same scan line dance that
pfckbd_callout_hp() does. Change the order of scan and the layout of
the matrix to be more natural.

Chords like <Shift>+<L> now work.

From KIYOHARA Takashi.

show more ...


# 3fcefe2a 14-Dec-2003 uwe <uwe@NetBSD.org>

Use callout_schedule instead of callout_reset to re-establish keyboard
callouts.

While here, #if 0 the code in pfckbd_callout_hp to read (and ignore)
PFC registers G and H.


# 0c82163c 15-Jul-2003 lukem <lukem@NetBSD.org>

__KERNEL_RCSID()


# 580c60b3 24-Dec-2002 uwe <uwe@NetBSD.org>

When scanning HP keyboard, disable output on all scan lines except the
one we are currently scanning. This is what Hitachi's sample WinCE
code does. Thanks to YAEGASHI Takeshi for pointing this out

When scanning HP keyboard, disable output on all scan lines except the
one we are currently scanning. This is what Hitachi's sample WinCE
code does. Thanks to YAEGASHI Takeshi for pointing this out!
This makes same row chords work properly, most importantly
Ctrl-@, Ctrl-W, Ctrl-S, Ctrl-Alt-F1 (ctrl row), Ctrl-Alt-F3 (alt row).

show more ...


# c5e91d44 02-Oct-2002 thorpej <thorpej@NetBSD.org>

Use CFATTACH_DECL().


12