Commit Graph

266 Commits

Author SHA1 Message Date
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