Commit Graph

146 Commits

Author SHA1 Message Date
chs
2f02870f3b zero the i2c_attach_args structure before filling it in.
fixes occasional crashes in iic_attach().
2016-02-14 19:54:19 +00:00
skrll
01e4054922 Remove katelib.h and references to it.
{Read,Write}{Word,Byte} macros are provided in the files that still use
them. Someone(tm) should convert them to bus_space(9)
2014-10-25 10:58:12 +00:00
pooka
4f6fb3bf35 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.
2014-02-25 18:30:08 +00:00
chs
cbab9cadce split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
2012-10-27 17:17:22 +00:00
kiyohara
fbd7a1ab43 Add '\n' to revision string. 2012-06-16 05:58:03 +00:00
nonaka
2388feef61 fix my license notice. 2012-01-21 19:44:28 +00:00
kiyohara
75e1d93cec Remove a white-space and a Tab. 2011-11-20 11:20:32 +00:00
kiyohara
587ef94054 Add support for PSIONTEKLOGIX NETBOOK PRO. 2011-08-06 03:53:40 +00:00
dyoung
75ccda5a51 Don't set the iobase and iosize members of pcmciabus_attach_args because
they're not used in any meaningful way.
2011-07-26 22:52:47 +00:00
dyoung
9edf49b047 Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.

Mark hpcarm/bus.h obsolete.
2011-07-19 15:37:38 +00:00
uebayasi
a7e80793d8 Fix DEBUG build. 2010-12-09 04:31:57 +00:00
tsutsui
961a253c71 Fix device_t/softc split botches. PR port-hpcarm/43780 2010-08-19 15:17:53 +00:00
tsutsui
a367c4f857 - in max1233_readpos(), add some DELAY() after starting A/D so that
output values of touchscreen position are more stable on my WS003SH
- also tidy up read and calc ops in max1233_readpos()
- turn DAC on in max1233_init() as well as max1233_resume()
2010-07-19 15:20:21 +00:00
nonaka
9f0932355d Added keypad driver for WS011SH. 2010-05-30 10:00:27 +00:00
nonaka
57e705950d Use callout_schedule(9). 2010-05-30 03:17:21 +00:00
nonaka
250a759ede Added WS020SH keymap. 2010-05-23 11:57:04 +00:00
nonaka
68dd400742 Added Support SD card insert/remove detection for WS020SH. 2010-05-23 11:53:18 +00:00
nonaka
ead0f77ecb Added some WS020SH specific parameters. 2010-05-23 11:49:16 +00:00
nonaka
4071f15045 Added touchpad driver for WS011SH. 2010-05-22 15:37:58 +00:00
nonaka
6b968fe014 tune ADC Averaging Control parameter. 2010-05-15 03:54:35 +00:00
nonaka
12cd5caed9 Added touchpad driver for WS003SH. 2010-05-13 21:01:59 +00:00
nonaka
2f41d35d1d Added touchpad driver for WS007SH. 2010-05-09 10:39:59 +00:00
nonaka
e8fe64adb4 Oops, the direction of the shift is opposite. 2010-04-24 21:51:56 +00:00
nonaka
56de8227a6 nuke sc_stable_count. 2010-04-24 21:21:28 +00:00
nonaka
b62fc9e203 Added Sharp W-ZERO3 series support. 2010-04-17 13:36:21 +00:00
rjs
4c494f7678 Make the following changes:
struct device * -> device_t
struct cfdata * -> cfdata_t
printf -> aprint_
device_t/softc split
2009-05-29 14:15:44 +00:00
dsl
82357f6d42 ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl
454af1c0e8 Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
rafal
cf990769f1 device_private_lookup()-ification so that hpcarm (at jeast Jornada 72x)
kernels build.
2008-06-12 01:46:32 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
matt
6bc0c58216 As of this commit, all arm32 kernel now build. 2008-01-08 02:07:50 +00:00
peter
f27028f22e Call callout_init before callout_stop. 2007-10-26 10:39:40 +00:00
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