Commit Graph

114 Commits

Author SHA1 Message Date
garbled
d974db0ada 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.
2007-10-17 19:52:51 +00:00
he
f39d28c4bf Adapt to the new signature of callout_init(). 2007-07-12 22:02:38 +00:00
ad
88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
plunky
57c0199dcf Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
2006-11-12 19:00:42 +00:00
peter
5231df85b3 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.
2006-10-07 14:09:07 +00:00
peter
8795f0e08d Remove the config hook for handling the lcd light, this is now handled by
the powerhooks.
2006-10-07 14:04:09 +00:00
peter
58b4265bc6 Listen for "suspend button" events and do a suspend request to hpcapm when
we receive such event.

No objection on port-hpcarm.
2006-10-07 14:02:09 +00:00
cube
155a80cb76 A local change crept in when it wasn't meant to, I suppose. [hi rjs!] 2006-09-29 16:39:27 +00:00
rjs
0107b5e769 ANSIfy. 2006-09-28 09:06:05 +00:00
rjs
f99ba5e550 ANSIfy and fix missed proc -> lwp conversion. 2006-09-28 09:03:46 +00:00
rjs
7741a20ae9 Make it compile with gcc4. 2006-09-26 16:35:26 +00:00
jmcneill
f135e0d607 Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
2006-09-24 03:53:07 +00:00
peter
a93b4acd14 Nit: The silicon revision level is in bits 7:4, so we must right shift
by 4 bits.  Also removed an unneeded include.
2006-07-09 14:47:30 +00:00
peter
0c9a60ff27 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.
2006-06-27 14:36:50 +00:00
peter
7d389a2c21 Invert the brightness/contrast values so that higher values will
give more brightness/contrast instead of less.

No objection on port-hpcarm.
2006-06-27 14:18:00 +00:00
peter
d6a89fc155 "AUTHOR" is really meant here, not "REGENTS".
Eleminate some use of #ifdef SED_DEBUG.
2006-06-27 13:30:19 +00:00
peter
257aff65b2 Minor KNF, correct some comments. 2006-06-27 13:26:44 +00:00
peter
4c6681fae8 Don't pass the size of struct device to CFATTACH_DECL because it's obviously
too small! Use the softc instead. And while here, remove sc_ih from the
softc, it's not used at all.
2006-06-12 19:42:22 +00:00
blymn
44278a4fa1 Clean up bogus whitespace 2006-05-26 11:52:08 +00:00
peter
4ece0d684f Add missing disclaimer. 2006-04-11 15:21:26 +00:00
peter
905a47b101 The sa11x0 include files live in arm/sa11x0 these days. 2006-03-25 15:26:51 +00:00
peter
d846a6e28f The sa11x0 include files live in arm/sa11x0 these days.
Use an actual buffer to store the sample, not just a pointer.

From Arnaud Lacombe on port-hpcarm.
2006-03-25 15:23:49 +00:00
peter
724da0fd92 Cleanup:
- Apply static.
- KNF.
- Wrap long lines, unwrap short lines.

No functional changes.
2006-03-04 16:51:56 +00:00
peter
103776fe4f Only compile in debug strings when SED_DEBUG is defined. 2006-03-04 15:23:14 +00:00
peter
4a5a04e434 s/u_intN_t/uintN_t/ 2006-03-04 14:36:19 +00:00
peter
547e1f6637 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.
2006-03-04 14:09:36 +00:00
peter
a80c446270 Match all Jornada 7xx models. 2006-03-04 13:57:38 +00:00
peter
018931a9c8 Use ANSI functions decls. KNF. 2006-03-04 13:57:11 +00:00
peter
ffc68bd503 Match all Jornada 7xx models. 2006-03-04 13:54:08 +00:00
christos
60388662fb PR/32312: Arnaud Degroote: apm on hpcarm ( NetBSD-current ) doesn"t compile 2005-12-16 04:02:14 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
peter
a7ccc64926 Add an obviously missing break in a switch statement.
Adjusting brightness and contrast now works!
2005-11-10 15:53:05 +00:00
peter
5280269a8f Add a dummy WSKBDIO_GETLEDS, to make "wsconsctl -ka" work. 2005-10-23 15:27:06 +00:00
peter
61eb4528fc Remove the DEBUG define, this should be set in the config file. 2005-10-23 15:21:08 +00:00
peter
8a5e924b94 - Use ANSI function decls.
- KNF.
2005-10-23 15:19:58 +00:00
peter
fcadfb2052 - Use ANSI function decls.
- Add static, KNF.
- Print a newline in the attach routine for pretty dmesg output.
2005-10-23 15:18:54 +00:00
drochner
44bf0a7ee2 s/locdesc_t/int/g 2005-08-26 13:19:34 +00:00
drochner
996c273eda adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes 2005-06-30 17:03:51 +00:00
drochner
b081eee072 convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
2005-06-28 18:29:58 +00:00
uwe
093a9acc88 Use __UNCONST to pass default calibration data to tpcalib_ioctl(). 2005-06-02 21:38:17 +00:00
abs
964859d895 Fix comments regarding configration bounaries 2004-12-12 21:03:06 +00:00
tsarna
f53a32e6c9 Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern. 2004-05-28 17:52:06 +00:00
bjh21
3d0535f928 Remove needless includes of <dev/pckbc/wskbdmap_mfii.h>. 2004-03-13 17:23:32 +00:00
manu
61257a84f2 fixes for Brazilian keyboard from Rafael Diniz <rafael2k@terra.com.br>
http://mail-index.netbsd.org/port-hpcarm/2003/12/18/0000.html
2003-12-19 12:16:36 +00:00
manu
aad6b2204e Brazilian keymap, submitted by Rafael Diniz
http://mail-index.netbsd.org/port-hpcarm/2003/12/14/0000.html
2003-12-15 16:11:34 +00:00
mycroft
e07e6dfcac Add a default: to a case statement. 2003-10-27 17:17:42 +00:00
mycroft
8df46a3c92 In j720ssp_kthread(), move the tsleep() to the end of the loop. 2003-10-27 16:18:18 +00:00
uwe
d889e9a63d US keydesc corrections from Bryan Vyhmeister (bsd at hub3 dot net).
Tested by Julian Coleman <jdc@netbsd>.
2003-09-15 21:03:10 +00:00
bsh
10c7bfc755 split StrongArm companion chip (sacc) driver so that we can support
sacc on other platforms than hpcarm (evbarm for example).

codes specific to hpcarm are extracted and moved to hpcarm/dev/.
2003-08-08 12:29:22 +00:00