#
7433666e |
| 20-Dec-2023 |
thorpej <thorpej@NetBSD.org> |
Remove unnecessary <sys/malloc.h>.
|
#
937ebc5b |
| 30-Aug-2021 |
rin <rin@NetBSD.org> |
Fix build without WSDISPLAY_COMPAT_RAWKBD.
|
#
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 ...
|
#
4f6fb3bf |
| 25-Feb-2014 |
pooka <pooka@NetBSD.org> |
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicat
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
show more ...
|
#
4c494f76 |
| 29-May-2009 |
rjs <rjs@NetBSD.org> |
Make the following changes:
struct device * -> device_t struct cfdata * -> cfdata_t printf -> aprint_ device_t/softc split
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
f27028f2 |
| 26-Oct-2007 |
peter <peter@NetBSD.org> |
Call callout_init before callout_stop.
|
#
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 ...
|
#
f39d28c4 |
| 12-Jul-2007 |
he <he@NetBSD.org> |
Adapt to the new signature of callout_init().
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
57c0199d |
| 12-Nov-2006 |
plunky <plunky@NetBSD.org> |
Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
#
5231df85 |
| 07-Oct-2006 |
peter <peter@NetBSD.org> |
Add support for touches on the HP hard icons, mostly copied from hpcsh but also with support for raw kbd (for X).
No objection on port-hpcarm.
|
#
0c9a60ff |
| 27-Jun-2006 |
peter <peter@NetBSD.org> |
Hide the bit invertion/shifting of values received from and send to the MCU inside the j720ssp_readwrite function. This simplifies the calls to this function a little.
|
#
547e1f66 |
| 04-Mar-2006 |
peter <peter@NetBSD.org> |
Split the Jornada 7xx drivers for the touch-panel, keyboard, lcd control and power management into multiple files. This removes some dirty hacks and improves the quality of the code.
- j720kbd.c
Split the Jornada 7xx drivers for the touch-panel, keyboard, lcd control and power management into multiple files. This removes some dirty hacks and improves the quality of the code.
- j720kbd.c - keyboard driver * Converted to use the hpckbd(4) interface. * Remove the old keymap file since it's no longer used.
- j720lcd.c - lcd brightness/control/power control
- j720pwr.c - power management * Converted to use the hpcapm(4) interface. * Fix the battery charge status. The values are non-linear so in order to display a reasonable charge status we use a few charge points in a table and interpolate between that.
- j720tp.c - touch-panel driver
- j720ssp.c - SSP port (on the SA-1110)
Many thanks to cube@ and uwe@ for providing useful feedback and reviewing the changes.
show more ...
|