riz
fb761f7bcb
Remap X11SRCDIR to /usr/xsrc for the MKREPRO=yes case.
2012-09-05 22:40:30 +00:00
macallan
9cff5770fb
split the envsys sensors into two devices - one SME_CLASS_ACADAPTER and one
...
SME_CLASS_BATTERY, register the former only on unit 0 so we don't end up
with two of them on powerbooks that have two battery slots. Now userland has
a fighting chance to find the AC status.
TODO: make the battery sensors look more like acpibat's
2012-09-05 21:23:31 +00:00
christos
ff8ddb8d69
fix MKREPRO build not to put Generated from ${NETBSDSRCDIR} in files.
2012-09-05 19:31:04 +00:00
tls
a003f4459f
Don't wait until the pool *fills* to rekey anything that was keyed with
...
insufficient entropy at boot: key it as soon as it makes any request after
we hit the minimum entropy threshold.
This too should help avoid predictable output at boot time.
2012-09-05 18:57:33 +00:00
tls
c39440e8e4
Try to help embedded systems a _little_ bit: stir in the system boot time
...
as early as possible. On systems with no cycle counter (or very very
predictable cycle counts early in boot) at least this will cause some
difference across boots.
2012-09-05 18:06:52 +00:00
martin
647d3a97c1
Make the "init" target create optys as well - those were removed from "all",
...
but we still need them in emergency setups and some install media.
Should fix PR install/46902.
2012-09-05 08:25:53 +00:00
skrll
6c45601862
Call pmf_system_shutdown in cpu_reboot. OK matt
2012-09-05 06:29:09 +00:00
simonb
809c33aadd
Use getc instead of fgetc.
...
This is approximately five times faster for "comm -23 a b" where a and b
are identical 100MB files.
2012-09-05 04:01:23 +00:00
macallan
797d01de8d
some preparations for mode setting support and such:
...
- DDC2 support, so far only used for WSDISPLAYIO_GET_EDID
- fix 8 bit support, use packed mode for some extra speed
- pm2 and pm2v have different DACs, deal with it where appropriate
2012-09-05 01:48:39 +00:00
macallan
b2ff8d9a1a
add a few more registers
2012-09-05 01:32:01 +00:00
matt
e500dd530a
Disable arm32 __asm for _byte_swap_u16_variable since gcc4.5 produces
...
decent code for it. Fixes PR/46898.
2012-09-05 01:03:53 +00:00
matt
bcc9508888
Fix CFG_IND_ADDR_FUNC definition.
2012-09-05 00:22:41 +00:00
matt
15f1edbc0c
Force TTBCR to 0
2012-09-05 00:21:30 +00:00
matt
ec71c76d8a
Print TTBR/TTBR1/TTBCR registers
2012-09-05 00:20:57 +00:00
matt
e71d56919f
Get USB closer to working on OMAP3 and OMAP4.
...
Get OMAP4430 closer to working.
2012-09-05 00:19:59 +00:00
matt
c38bec1f36
After calling lwp_startup, set fp to 0 to terminate call stack.
2012-09-05 00:11:20 +00:00
matt
2ef5da91c7
Allow <arm/mainbus/mainbus.h> to supply mainbus_attach_args.
2012-09-05 00:10:11 +00:00
matt
a210889c4e
cortex include moved arm/omap/files.omap2
2012-09-05 00:09:35 +00:00
matt
9e83678e54
Modify USB entries (still commented out)
2012-09-05 00:08:21 +00:00
matt
aeff3a8d0f
modify USB entries (still commented out).
2012-09-05 00:07:33 +00:00
matt
b2ad663cd9
Get the PANDABOARD to boot (hangs in USB).
2012-09-05 00:06:21 +00:00
matt
f4db8120ae
Add support for getting the mac-address from the device properties.
2012-09-04 22:58:35 +00:00
alnsn
b8a85c6989
Replace usleep(500000) with a synchronization over a pipe.
2012-09-04 22:31:58 +00:00
matt
3413f0dfee
Remove locking since it isn't needed. As soon as the 2nd uvm_map_entry in kernel_map
...
is created, uvm_map_prepare will call pmap_growkernel and the pmap_growkernel call in
uvm_km_mem_alloc will never be called again.
2012-09-04 13:37:41 +00:00
matt
a8e0e1f956
Add multiple inclusion protection.
2012-09-04 00:21:08 +00:00
matt
f02978fbd6
No reason to include gumstixvar.h so don't.
2012-09-04 00:19:48 +00:00
matt
76625f4430
Make reset work on beagle again.
...
Add nand (not yet working) and prcm to IGEPV2.
Add smsh to IGEPV2 (use attachment from gumstix).
Turn on a few options for IGEPV2.
2012-09-04 00:19:20 +00:00
matt
d31df9582e
Add missing <machine/pcb.h> include
2012-09-04 00:08:59 +00:00
matt
e9c37939c0
Always cpu_info_store as the 3rd work unless TPIDRPRW_IS_CURLWP and then
...
it needs to be lwp0. Fix IGEPV2 boot problem.
2012-09-03 22:49:54 +00:00
alnsn
db95257927
Fix test timeout.
2012-09-03 21:27:14 +00:00
matt
d22fabd15b
Switch to a spin lock (uvm_kentry_lock) which, fortunately, was sitting there
...
unused.
2012-09-03 19:53:42 +00:00
msaitoh
9f0b5d0c78
Enable atapibus, cd and sd.
2012-09-03 17:46:08 +00:00
matt
f98c747f9e
Cleanup comment. Change panic to KASSERTMSG.
...
Use kernel_map->misc_lock to make sure we don't call pmap_growkernel
concurrently and possibly mess up uvm_maxkaddr.
2012-09-03 17:30:04 +00:00
msaitoh
f5caa65c66
Bump SYMTAB_SPACE.
...
The automatic SYMTAB_SPACE adustment doesn't work with this style of
definition.
2012-09-03 17:12:50 +00:00
matt
4395f61bf8
Don't use r7, use r5 instead
2012-09-03 16:35:33 +00:00
matt
b1534669df
Shut up gcc printf warning.
2012-09-03 16:07:17 +00:00
matt
2825f5a997
Don't try grow the entire kmem space but just do as needed in uvm_km_kmem_alloc
2012-09-03 15:55:42 +00:00
kiyohara
b36fbd92bc
Fix no wd on cmd680.
...
Also move setting wdc_maxdrives into cmd*_chip_map().
2012-09-03 15:38:17 +00:00
christos
1375b73fd3
whitespace
2012-09-03 15:32:18 +00:00
matt
9e35a51eac
Fix a bug where the kernel was never grown to accomodate the kmem VA space
...
since that happens before the kernel_map is set.
2012-09-03 14:21:24 +00:00
msaitoh
78817e627e
Remove unused lib/libl. Approved by christos.
2012-09-03 13:23:13 +00:00
pooka
bcc69e9323
one more patch for supporting linux-based networking clients
2012-09-03 12:07:42 +00:00
pooka
82e980c205
More fixes for Linux (or glibc, really).
2012-09-03 11:33:35 +00:00
roy
746485d18b
Import dhcpcd-5.6.2
2012-09-03 10:31:51 +00:00
roy
363f3bbd25
Import dhcpcd-5.6.2 with the following changes:
...
Disable kernel RA earlier on Linux
* Don't set if_up or if_down as true when testing
* ra%d_prefix is now a space separated array of the finished address/len
* If we fail to open sockets, don't bother sending the request
* Send our NS solicitation directly to the router
* Change the NS times so that we assume reachable until the reachable time
expires, then send probes at retrans intervals until
DELAY_FIRST_PROBE_TIME is reached at which point we expire the router
* Remove -v from --version in usage
* Only add our own host or destination routes to the build table when we
are adding gateways
* Ensure we have correct memory allocation for each prefix in the RA
2012-09-03 09:46:12 +00:00
cherry
2b2704572b
Revert to unmanaged x86 memory mapped isa and pci space.
...
This is a revert of commit r1.169:
http://mail-index.netbsd.org/source-changes/2011/11/06/msg028702.html
This should allow X to run on NetBSD/xen amd64 dom0, and fixes PR #46634
2012-09-03 05:01:44 +00:00
he
d498be058a
Now that we use keysym_t, make sure <dev/wscons/wsksymvar.h> is included.
...
Fixes the kernel build for next68k's nextcons.c and mac68k's maccons.c.
2012-09-02 21:14:56 +00:00
he
d20eaacb60
Move adbkbd_setup_sysctl() declaration to outside NWSMOUSE > 0, to
...
match the rest of the code.
2012-09-02 21:06:54 +00:00
martin
6d25cb1840
Make can_trust_pointer_alignment() always return false on STRICT_ALIGNMENT
...
archs - gcc 4.5 is not able to properly track alignment and backporting
the fix from 4.6/4.7 is not feasible (according to upstream).
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46483 for details.
Fixes PR toolchain/46865.
2012-09-02 20:58:44 +00:00
matt
1c5952aea6
Add ppb/pci
...
Add arml2cc
2012-09-02 16:57:06 +00:00