Commit Graph

451 Commits

Author SHA1 Message Date
uwe
285c8456c2 Use cpp-safe labels. Provide .size 2006-01-23 00:17:20 +00:00
uwe
66fe637660 LINTSTUBs. 2006-01-23 00:07:43 +00:00
uwe
897e70ab5c Provide .size 2006-01-22 05:16:58 +00:00
uwe
7bff50c8fd LINTSTUBs. 2006-01-22 05:14:02 +00:00
uwe
131f43967d 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.
2006-01-21 23:16:57 +00:00
uwe
4c693ad431 Use C99 __func__ instead of gcc __FUNCTION__ to make lint happy. 2006-01-21 22:55:34 +00:00
uwe
08c90217fd Use NULL, not 0 for null pointer.
Fix #else/#endif trailing comment.
Use explicit "continue" for the body of the infinite loop.
2006-01-20 04:30:03 +00:00
uwe
9e88e2f24a Use uint32_t. Declare jump and boot functions noreturn. Move scratch
variable to outputs of the asm statement that tweaks sr, so that gcc
doesn't insist on it being initialized.  Move boot function template
closer to instantiation.  Misc prettification.
2006-01-20 03:55:55 +00:00
uwe
fb7bfe44d7 #include "opt_md.h" as this file uses MEMORY_DISK_* options. 2006-01-13 22:18:59 +00:00
uwe
6922812a19 Spell HP 620LX correctly.
A comment about scif(4) should refer SCIFCONSOLE.  SCICONSOLE is for sci(4).
Add a comment before hd64461if, so that it's clear it's not for PERSONA only.
Add (commented out) HD64461{PCMCIA,VIDEO}_DEBUG, HD64461VIDEO_HWACCEL.
2006-01-03 01:47:37 +00:00
uwe
68ef13b0ba HD64461VIDEO options now come from "opt_hd64461video.h". 2006-01-03 01:15:47 +00:00
uwe
63bf4c684b Properly defflag HD64461VIDEO_HWACCEL to opt_hd64461pcmcia.h (new file).
Put HD64461VIDEO_DEBUG there as well to minimize impact on unrelated
sources.
2006-01-03 01:15:04 +00:00
uwe
b2a5d74369 Fix constification fallout under #ifdef HD64461PCMCIA_DEBUG. 2006-01-03 01:07:54 +00:00
uwe
dd228393cb HD64461PCMCIA options now come from "opt_hd64461pcmcia.h". 2006-01-03 01:06:45 +00:00
uwe
346947ed0e Put HD64461PCMCIA_REORDER_ATTACH to opt_hd64461pcmcia.h (new file).
Put HD64461PCMCIA_DEBUG there as well to minimize impact on unrelated
sources.
2006-01-03 01:05:55 +00:00
uwe
8214ff33f4 Be more consistent about whitespace. 2006-01-03 00:54:56 +00:00
perry
50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
uwe
902411e7f8 Use ANSI uintN_t types. 2005-12-18 23:40:03 +00:00
uwe
5e6b9ca4dd Use ANSI uintN_t types. Propagate "static" to function definitions. 2005-12-18 23:38:01 +00:00
uwe
3029fe439a Use explicit "continue" for busy loop bodies in a couple of places I
missed in the previous commit.
2005-12-18 23:32:39 +00:00
uwe
a6af1cec86 Use ANSI uintN_t types. Use "void" in definitions of functions
without arguments.  Propagate "static" to function definitions.
Declare local functions static.  Hide acceleration code inside ifdef
HD64461VIDEO_HWACCEL (save more than 1K of text).
2005-12-18 23:20:03 +00:00
uwe
bfbda844db Use ANSI uintN_t types. Use "volatile" without extra __'s.
Use "void" in definitions of functions without arguments.
Propagate "static" do function definitions.
2005-12-18 22:19:56 +00:00
uwe
2d4890dc44 Don't include sys/boot_flag.h only to get sys/reboot.h pulled in,
include the latter directly instead.  Include hd64461*reg.h only under
DEBUG, where they are used.  In hd64461_match use fallthrough.
2005-12-18 22:07:56 +00:00
uwe
952389de29 Use ANSI unitN_t types. Use "void" when defining functions with no args.
Propagate "static" to function definitions.
2005-12-18 21:52:41 +00:00
uwe
2c9f460b01 Multiple-inclusion protection. 2005-12-18 21:47:10 +00:00
uwe
b4800dcaa7 Use ANSI unitN_t types. 2005-12-18 21:46:15 +00:00
uwe
51952dd360 Multiple-inclusion protection. Use ANSI uintN_t types. Fix few
whitespace nits.  Add "extern" to function declarations.  Drop LOCORE
protection, this file is not included in any asm sources, it has
nothing interesting for asm sources anyway.
2005-12-18 21:44:27 +00:00
uwe
962a056ac8 Drop unnecessary include. Add few blank lines for better readability. 2005-12-18 21:25:55 +00:00
uwe
4ebaf8108c Use ANSI uintN_t types. Functions w/out arguments should have "void"
in their definitions.  Declare local function static.
2005-12-18 21:20:48 +00:00
uwe
7351da46fb Use ANSI unitN_t types. Add 'extern' to extern function declarations.
Shuffle declaration order to make it more clear that raise/resume come
from a different file.
2005-12-18 19:48:43 +00:00
uwe
24d1ad311b Multiple-inclusion protection. 2005-12-18 19:31:30 +00:00
uwe
fb2feef0c6 Simplify j6x0lcd_contrast_raw. 2005-12-18 19:09:26 +00:00
uwe
d5c16305fc Convert few remaining K&R function definitions to ANSI. 2005-12-18 18:59:48 +00:00
christos
801713f68b proc -> lwp 2005-12-14 00:08:34 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
elad
4591e5acfd Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
tsutsui
ff9b47d69e Adjust comments for options FFS_NO_SNAPSHOT.
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
uwe
6ac484d14b Whitespace nit. 2005-09-23 23:29:29 +00:00
yamt
d597202302 make VMSWAP optional again. 2005-09-17 14:38:38 +00:00
yamt
7e71f567e4 include "conf/std". 2005-09-17 09:44:05 +00:00
jmmv
ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
kiyohara
7463900213 Reorder. 2005-09-05 19:05:20 +00:00
kiyohara
17587c6104 Support LCD screen driver for PERSONA SH3 machines. 2005-09-05 18:54:10 +00:00
uwe
88fc0ed1ac Since we have ipf/pf in the config (commented out), add pertinent
options as well (commented out too).
2005-09-04 16:07:46 +00:00
uwe
13830db076 Tell hpcfb that framebuffer fetches 16-bit pixels as little endian. 2005-09-04 01:01:29 +00:00
uwe
b2023157bb Add WSDISPLAY_CUSTOM_OUTPUT &co. 2005-08-28 00:28:41 +00:00
drochner
44bf0a7ee2 s/locdesc_t/int/g 2005-08-26 13:19:34 +00:00
christos
93c362d7ef Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels 2005-08-19 05:19:49 +00:00
christos
758a209d23 64 bit inode changes. 2005-08-19 02:03:49 +00:00
uwe
6b95067c33 Support HP 620LX. On/off and brightness are the same as in 680.
Contrast control is different but similar enough, so refactor the code
to support both.  Tested by Christer Andersson.

XXX: platid_mask_MACH_HP_LX also matches 360LX.  It's not confirmed
whether touch panel in 360LX is connected in the same way.  We may
need to regroup platid masks.
2005-08-03 22:25:17 +00:00
yamt
38ca5312d2 revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
2005-07-31 04:04:30 +00:00
yamt
558fded29a add "options VMSWAP" to non INSTALL kernels. 2005-07-30 06:35:34 +00:00
yamt
1d0891101c defflag VMSWAP. 2005-07-30 06:33:33 +00:00
hubertf
673730506c Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
uwe
065e2422b3 Match HP 620LX. Tested by Christer Andersson.
XXX: platid_mask_MACH_HP_LX also matches 360LX.  It's not confirmed
whether touch panel in 360LX is connected in the same way.  We may
need to regroup platid masks.
2005-07-16 16:36:23 +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
rpaulo
64fd052c74 Add file-system PTYFS (commented out) so that people know its existence.
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-25 12:05:15 +00:00
dyoung
a37289db57 Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/.  That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such.  I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2005-06-12 19:46:15 +00:00
tsutsui
4e54a2cc7c - Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.

Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
2005-06-09 14:43:29 +00:00
uwe
0ecc598f5b Drop cargo cult aux="mainbus" argument to config_rootfound.
Makes -Wcast-qual happy.
2005-06-04 22:57:20 +00:00
uwe
94216ed61f Use __UNCONST to pass default calibration data to tpcalib_ioctl(). 2005-05-31 23:21:03 +00:00
chs
b0a8a83e7b remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them. 2005-05-31 00:45:02 +00:00
kiyohara
dad1ac75b9 1. Fixed GPIO bits. (PCCR and PCDR)
2. Save and restore PCDR, PDDR, PEDR.
2005-05-23 17:49:48 +00:00
kiyohara
725081c016 Support touch-panel for PERSONA SH3 machines. 2005-05-23 17:44:25 +00:00
jdolecek
4d515665c5 assign major for nsmb(4) 2005-05-10 00:02:35 +00:00
uwe
6bfe2d7005 Correct the comment about lid state bit. 2005-04-24 00:49:54 +00:00
yamt
6b2d8b66a4 merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
uwe
85589e4fcd Improve spelling in debug printfs. 2005-03-26 22:41:12 +00:00
matt
a6db24a485 Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create).  dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
2005-03-09 19:04:43 +00:00
uwe
6a24c49df3 options SPACE TAB 2005-03-07 18:25:22 +00:00
uwe
6c46d7f51c Propagate WSDISPLAYIO_PARAM_BACKLIGHT to config hooks. 2005-02-28 18:04:54 +00:00
uwe
0d9ce410fa Remove another unused #include. 2005-02-28 16:57:56 +00:00
uwe
d5308158a4 Remove unused #include. 2005-02-28 16:55:58 +00:00
uwe
31e1313c29 Whitespace police. 2005-02-28 16:16:19 +00:00
dsl
4822cbaae2 Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT 2005-02-18 21:05:50 +00:00
dsl
05e2f6ebdb Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
2005-02-11 08:25:53 +00:00
hannken
d5fbb6936f Add file system snapshots to kernel configs.
- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
  have a disk.  Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2005-01-31 16:54:32 +00:00
uwe
5176524b6f Use uint<N>_t instead of u_int<N>_t. 2005-01-18 04:09:09 +00:00
uwe
a1e2e32edf 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.
2005-01-18 03:59:11 +00:00
abs
964859d895 Fix comments regarding configration bounaries 2004-12-12 21:03:06 +00:00
uwe
61e6610474 Fix several typos in comments. 2004-11-14 15:45:02 +00:00
christos
30fc143afa Add COMPAT_BSDPTY to the rest of the config files. 2004-11-10 17:54:02 +00:00
thorpej
dc2f2fbe74 Centralize the declaration of booted_device and booted_partition. 2004-10-23 17:07:37 +00:00
uwe
7caf846e65 Add lxtphy.
Requested in PR port-hpcsh/26863.
2004-09-06 23:32:59 +00:00
mycroft
3ebcfd93ee Forget to reset to memory mode on power up.
The hd64465 looks a bit incomplete, but "not my problem".
2004-08-11 06:30:15 +00:00
mycroft
7e4288f8a6 Attempt to fix these up, but I have no way to test them. 2004-08-11 06:16:10 +00:00
atatat
f68a9f1ff2 Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
2004-07-15 03:53:44 +00:00
uch
3e92a012a2 enable to power off and reset card. 2004-07-14 14:33:23 +00:00
uch
87b3504abb cosmetic changes. (whitespace,<tab>) 2004-07-11 16:04:58 +00:00
uch
3ecef458d2 remove CPU infomation message. (cpu0 print it) 2004-07-06 16:21:05 +00:00
uch
52ffaa09fb don't attach cpu twice. 2004-07-06 16:20:43 +00:00
uch
f4dabb523f MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
2004-07-06 13:28:39 +00:00
uch
3a292b1beb MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
2004-07-06 13:09:18 +00:00
uwe
75c9bda0e0 GENERIC config is used as a starting point for custom configs so make
it more rich: reinstate debug options (commented out), add a bunch of
MI options, file systems, pseudo devices (commented out), sort some
entries, add more comments and clean up existing comments.
2004-07-05 00:09:45 +00:00
uwe
9df8b71dbf Express LED operations using standard macros.
Same object code is generated.
2004-07-04 23:19:36 +00:00
uwe
7d07bda558 Add major for audio. 2004-07-04 22:56:14 +00:00
uwe
7393885072 Fix the comment for KGDB - it is a remote debugger. 2004-07-04 22:02:04 +00:00
uch
bb2b8b1099 jornada 6x0 power mannagement support.
[on/off] button power off LCD and CPU sleeps.
2004-07-03 12:49:21 +00:00
uch
db7514c3d2 enable X-window configuration default.
add com* at pcmcia and ppp configuration.
move debug option to DEBUG.
2004-07-02 18:05:23 +00:00
abs
bd8eb3b5ed Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
itojun
596aec9a47 have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
2004-06-22 14:09:49 +00:00
christos
c22e4ed8cd ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM 2004-06-18 15:02:29 +00:00
christos
0399e839cf Add pseudo-device ptm on all the generic flavored kernels. 2004-06-16 15:07:39 +00:00
uch
c58b450e06 fix hd64461video_get_clut. 2004-06-04 13:23:34 +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
kleink
7b3b647647 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
uwe
e548ab355a Correct the comment about contrast control in HD64461 GPIO port B:
6th bit is the least significant, 3rd is the most significant.
2004-04-04 17:49:38 +00:00
uwe
fad92c3ca3 When we attach a channel, set a high level to DRV control pin of the
external buffer for the PC card connected to the channel.  This hack
makes pcmcia cards "being used" at the boot time (by WinCE or NetBSD)
correctly detected.  A machine running with root on NFS can now be
properly rebooted.
2004-03-27 02:53:12 +00:00
uwe
8dd212dad7 Add option HD64461PCMCIA_REORDER_ATTACH that attaches channels in
reversed order.

When you boot with two CF cards inserted, this options makes the one
in the "memory only" slot (channel 1), which is almost always the card
with the NetBSD install, attached as wd0.

Unlike using fixed unit numbers in the kernel config, if you boot with
only a single CF card, that single card will still be wd0 regardless
of which slot it is inserted in.

http://mail-index.netbsd.org/port-hpcsh/2003/10/23/0000.html provides
a more verbose description of why this option is convenient for most
usage patterns.
2004-03-27 02:24:01 +00:00
wiz
f1b19ce1db Backout previous -- this is not enough, config needs to be taught
how to reach partitions above h. Noted by Simon Burge, related to
PR 24905.
2004-03-25 15:26:35 +00:00
wiz
3afe1a1d87 Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
Addresses PR 24905 by Simon Burge.
2004-03-25 12:38:49 +00:00
atatat
19af35fd0d Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
2004-03-24 15:34:46 +00:00
uwe
8333a3f671 Comment out RTC_OFFSET as now kernel pays attention to timezone
information passed by hpcboot.exe.
2004-03-23 03:48:39 +00:00
uwe
7565621829 Set rtc_offset from bootinfo passed by hpcboot.exe unless overridden
with option RTC_OFFSET.  From hpcmips.
2004-03-23 03:36:32 +00:00
uwe
0589938ad6 s/r15/sp/ for clarity.
Whitespace nit.
2004-03-21 02:20:21 +00:00
uwe
501860614d Add j6x0lcd. 2004-03-16 00:23:31 +00:00
uwe
9d8bb20eb3 Use CONFIG_HOOK_POWERCONTROL_LCD to control turning the LCD on/off
(the _LCDLIGHT hook is apparently meant to control the LCD backlight).
2004-03-15 23:38:16 +00:00
uwe
c900434559 Add j6x0lcd(4). 2004-03-15 03:49:14 +00:00
uwe
ef7c82009e Driver that controls power, brightness and contrast of the Jornada 680 LCD. 2004-03-15 03:45:50 +00:00
uwe
9071e10a46 Support for WSDISPLAYIO_PARAM_CONTRAST. 2004-03-15 03:38:39 +00:00
uwe
dc89f5be32 If MEMORY_DISK_IS_ROOT - don't compile/use get_device(), as setroot()
anyway will ignore the info we pass.
2004-02-23 03:32:23 +00:00
uwe
269b569458 Add wi at pcmcia.
While here, do some cosmetic changes:
* sort PCMCIA network interfaces section.
* ksyms is not a wscons related pseudo device, so move it to misc.
* line up scif at shb line, and move related options to be after it.
2004-01-18 03:00:48 +00:00
uwe
3fcefe2a85 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.
2003-12-14 04:03:16 +00:00
uwe
85a134f3c1 Use CONFIG_HOOK_BRIGHTNESS* to support WSDISPLAYIO_PARAM_BRIGHTNESS.
Use CONFIG_HOOK_POWERCONTROL_LCDLIGHT to turn on/off the LCD in
response to WSDISPLAYIO_SVIDEO.

Implementation of these hooks for Jornada 680 is to follow shortly.
2003-12-14 02:52:15 +00:00
jmc
695a2a2f9f Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
2003-12-10 02:04:00 +00:00
atatat
13f8d2ce5f Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
2003-12-04 19:38:21 +00:00
chs
e07f0b9362 eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed.  however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors.  most of
the callers of uvm_useracc() make the above incorrect assumption.  the
rest are all misguided optimizations, which optimize for the case
where an operation will fail.  we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors.  since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
2003-11-13 03:09:28 +00:00
uwe
79ddf479da Add adc, j6x0pwr, j6x0tp. 2003-11-09 22:36:17 +00:00
uwe
9df7e01734 Implement trivial WSDISPLAYIO_SVIDEO that flips DON bit in LCDLDR1.
This only turns off the display in the LCD controller.

TODO: Need to add a platform specific way to turn the screen on and
off as well (e.g. on Jornada 680 this is bit 0 in hd64461 GPIO port B).
2003-11-09 02:05:42 +00:00
uwe
758b6ed7d7 ispell comments. 2003-11-05 00:28:34 +00:00
uwe
0af2a03977 Provide wskbd* at j6x0tp? attachment that maps taps on the "HP hard
icons" (along the right edge of the screen) to key presses.
2003-11-04 03:43:12 +00:00
jdolecek
ed1e458331 vaddr_t is not a pointer 2003-11-03 20:32:17 +00:00
uwe
72b8dfe22a In hd64461video_update_videochip_status init depth to supress bogus
-Wuninitialized.
2003-11-01 03:45:52 +00:00
uwe
e9dc4000d1 XXX: Init dummy variable that we only use in asm() to pacify
XXX: -Wuninitialized.  There must be a better way.
2003-11-01 03:24:12 +00:00
uwe
289bc4802a #include "debug_kloader.h" 2003-11-01 02:29:08 +00:00
uwe
ffb8ffc1fc Bump _INTR_N from 8 (all of which were used) to 16 so that it's
possible to do experiments with new drivers without hitting this
limit.  Of this delta we already consume two slots on Jornada 680 for
IRQ0 (j6x0pwr) and IRQ3 (j6x0tp).
2003-10-25 03:45:03 +00:00
uwe
6d2654649f Add kernel_text label so that pmap(1) works. 2003-10-25 00:18:43 +00:00
kleink
8a1a0686ad No need for multiple-inclusion protection in these. 2003-10-23 13:02:52 +00:00
uwe
94a688bcbc In hd64461pcmcia_chip_io_map set *windowp to 0.
This driver ignores i/o window handle, but most 'at pcmcia'
attachments init their sc_io_window to -1 and then check at detach
time if it was changed from the "bad" value.  Keep them happy, so that
they can correctly clean up when card is detached.
2003-10-23 02:34:07 +00:00
uwe
49fd54d39a Use adcvar.h. 2003-10-22 23:52:46 +00:00
jdolecek
ee510816af add wsfont major to archs which have the other wscons devices 2003-10-22 16:53:22 +00:00
uwe
437e63c180 __KERNEL_RCSID. 2003-10-19 02:22:56 +00:00
uwe
738a5e234e Config glue for j6x0tp(4). 2003-10-19 02:21:40 +00:00
uwe
e4bd58b011 Driver for Jornada 680 touch screen. 2003-10-19 02:20:25 +00:00
lukem
7d84b90c92 Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use  'atapibus* at atapi?'  instead of  'atapibus* at atabus?'
2003-10-18 08:30:12 +00:00
uwe
b78fce9820 Config glue for j6x0pwr(4). 2003-10-18 01:40:05 +00:00
uwe
8b50c662e8 Jornada 680/690 power &c. Doesn't do much useful at the moment, but
provides RTFS documentation on how things are wired in Jornada.

Listens to "switch off" interrupt generated when On/Off button is
pressed, or the lid is closed.

Polls the status of main and backup batteries and warns if main
battery is low.
2003-10-18 01:38:39 +00:00
jdolecek
79ebb210fa add majors for ipfilter, lkm, vnd, tun, raid, cgd, ccd, and md
where missing
2003-10-15 18:20:19 +00:00
jdolecek
ef5bb330f5 reassing majors for crypto and pf to use the newly defined MI major
range
2003-10-10 22:42:39 +00:00