#
86c30724 |
| 28-May-2022 |
andvar <andvar@NetBSD.org> |
fix various typos, mainly 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 ...
|
#
cbab9cad |
| 27-Oct-2012 |
chs <chs@NetBSD.org> |
split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
#
9edf49b0 |
| 19-Jul-2011 |
dyoung <dyoung@NetBSD.org> |
Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark hpcarm/bus.h obsolete.
|
#
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
|
#
cf990769 |
| 12-Jun-2008 |
rafal <rafal@NetBSD.org> |
device_private_lookup()-ification so that hpcarm (at jeast Jornada 72x) kernels build.
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
f135e0d6 |
| 24-Sep-2006 |
jmcneill <jmcneill@NetBSD.org> |
Add "name" parameter to powerhook_establish, to aid debugging. No objections on tech-kern@
|
#
d6a89fc1 |
| 27-Jun-2006 |
peter <peter@NetBSD.org> |
"AUTHOR" is really meant here, not "REGENTS". Eleminate some use of #ifdef SED_DEBUG.
|
#
44278a4f |
| 26-May-2006 |
blymn <blymn@NetBSD.org> |
Clean up bogus whitespace
|
#
724da0fd |
| 04-Mar-2006 |
peter <peter@NetBSD.org> |
Cleanup: - Apply static. - KNF. - Wrap long lines, unwrap short lines.
No functional changes.
|
#
103776fe |
| 04-Mar-2006 |
peter <peter@NetBSD.org> |
Only compile in debug strings when SED_DEBUG is defined.
|
#
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 ...
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
964859d8 |
| 12-Dec-2004 |
abs <abs@NetBSD.org> |
Fix comments regarding configration bounaries
|
#
08716eae |
| 15-Jul-2003 |
lukem <lukem@NetBSD.org> |
__KERNEL_RCSID()
|
#
c5e91d44 |
| 02-Oct-2002 |
thorpej <thorpej@NetBSD.org> |
Use CFATTACH_DECL().
|
#
f818766a |
| 27-Sep-2002 |
thorpej <thorpej@NetBSD.org> |
Declare all cfattach structures const.
|
#
31144d99 |
| 17-Mar-2002 |
atatat <atatat@NetBSD.org> |
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
show more ...
|
#
f8c1bea1 |
| 28-Dec-2001 |
toshii <toshii@NetBSD.org> |
Allow jornada720 LCD and keyboard to be used as a boot console.
|
#
64b6b76a |
| 22-Jul-2001 |
takemura <takemura@NetBSD.org> |
You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e. little endian like order, however, usage of 'HPCFB_SWAP_*' was widely misunderstood because it reminded you of 'RI_BSWAP' in ras
You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e. little endian like order, however, usage of 'HPCFB_SWAP_*' was widely misunderstood because it reminded you of 'RI_BSWAP' in raster operation. Please note that 'RI_BSWAP' indicate that frame buffer byte order is different from natural order of system while 'HPCFB_REVORDER_*' is independent of system byte order.
show more ...
|
#
949c8eb4 |
| 16-Jul-2001 |
hpeyerl <hpeyerl@NetBSD.org> |
"infomation" -> "information"
|
#
cd3fb67f |
| 07-Jul-2001 |
ichiro <ichiro@NetBSD.org> |
bzero->memset, bcopy->memcpy
|
#
56b40cd7 |
| 29-Jun-2001 |
toshii <toshii@NetBSD.org> |
Fix autoconf related botch: do printf("\n") in attach funcs rather than in cfprint.
|