Commit Graph

227155 Commits

Author SHA1 Message Date
njoly
470da95e01 Adjust pread/pwrite signature to match reality. 2014-05-04 10:30:39 +00:00
njoly
7d21c20716 Regen for pread/pwrite 64bit offset argument. 2014-05-04 10:10:39 +00:00
njoly
d63cac9fa8 Fix pread/pwrite syscalls which need a 64bit offset argument. 2014-05-04 10:08:53 +00:00
njoly
dc2a049782 Remove now unneeded bsd.kinc.mk. 2014-05-04 10:03:55 +00:00
martin
11775dd78d The OF_test_method() function takes an instance handle, not a phandle,
and returns 0 on success.
Pointed out by Mark Cave-Ayland.
2014-05-04 09:05:39 +00:00
joerg
7e3335542c Missing register validation check. 2014-05-03 23:19:56 +00:00
martin
0b6a7ee607 Fix comment pointing at the source of the list of functions and add
two missing ones: _clrsbsi2 and _clrsbdi2
2014-05-03 16:43:10 +00:00
martin
1c6ed8789e Also attach to devices named "parallel" 2014-05-03 12:51:31 +00:00
skrll
9529d26c91 Use pmap_tlb_asid_check to reduce code c&p. 2014-05-03 12:50:01 +00:00
nakayama
dc8b8612da Fix build w/o options SUN4_MMU3L. 2014-05-03 11:17:06 +00:00
skrll
5aa26d5c98 Make PARANOIADIAG compile. 2014-05-03 07:06:31 +00:00
skrll
bc85f1552e Grab pv_list lock in pmap_unmap_ephemeral_page only when needed. 2014-05-03 06:55:04 +00:00
dogcow
759ce8712d as suggested by gimpy et al, "no config" the netbsd-device kernels.
Reduces `build.sh release` by about a gig.
2014-05-02 23:49:10 +00:00
riastradh
4c9193e998 Cast from uint32_t to bus_addr_t earlier, since it may exceed 32 bits. 2014-05-02 14:36:10 +00:00
hkenken
b8ec0e3375 struct device * -> device_t 2014-05-02 03:05:41 +00:00
martin
4cbf4e7755 Do not create debug info for *_INSTALL kernels. 2014-05-01 18:43:45 +00:00
dsl
2ea4518b97 Add -fno-asynchronous-unwind-tables -fno-exceptions to gcc builds.
One of these (probably the first) is needed to stop the eh-frame
section being created.
The eh_frame section is loadable and bloats the boot images.
This might be enough to make pxeboot work.
2014-05-01 18:37:26 +00:00
tsutsui
18864e9474 Reduce a number of getsecs() calls in le_get() to make netboot a bit faster. 2014-05-01 18:08:47 +00:00
riastradh
c5a81b561e Tweak some DRM GEM page indexing crap.
- Fix order of subtraction in drm_mmap_paddr_locked.
- Address GEM objects' pages from 0, not from the mmap cookie.
- Check page alignment earlier in mmap code paths.
- Sprinkle kasserts throughout.

Still doesn't fix the garbage that is sometimes being scribbled all
over kernel memory!
2014-05-01 15:19:16 +00:00
riastradh
19062f226a Clear only the requested range in gen6_ggtt_clear_range.
Sprinkle kasserts throughout i915_gem_gtt.c.
2014-05-01 14:37:36 +00:00
joerg
9695f56051 Check for mounted /proc. 2014-05-01 03:46:11 +00:00
joerg
e7ed6f13f6 First argument of vchiq_log_info is the log level, not a boolean. 2014-05-01 03:07:50 +00:00
wiz
03d5906507 acpica-20140424 out. 2014-05-01 00:03:01 +00:00
joerg
bbc12701e3 pmap_is_current might be unused, tag it as such. 2014-04-30 21:15:06 +00:00
joerg
cc89f7922a Most CPUs implement shifts modulo the width, but ARM doesn't. Don't
depend on this UB.
2014-04-30 21:04:58 +00:00
joerg
af32f2a15b Annotate dependencies. 2014-04-30 21:04:21 +00:00
tsutsui
fdbe432a63 Add and enable sti(4) at sgc in install kernels for 425e.
Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)
2014-04-30 17:51:53 +00:00
njoly
963ddf84b8 Regen for netbsd32_off_t. 2014-04-30 17:24:20 +00:00
njoly
99b30bf4fc Do not use native off_t type under compat netbsd32, but a new
netbsd32_off_t that provide the expected alignment for 64bit types.
2014-04-30 17:23:45 +00:00
tsutsui
ef266e3f3d Probe mcclock only on 425e to avoid an extra "not configured" message. 2014-04-30 15:53:09 +00:00
njoly
0f34420c1f Fix compat netbsd32 syscall return values display by calling
output_long() instead of printf().
2014-04-30 11:51:51 +00:00
dogcow
cd6db90cfd fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works again. 2014-04-30 02:04:11 +00:00
christos
71fd41685f fix typo 2014-04-30 01:59:30 +00:00
christos
0172bc970f handle MNT_UPDATE 2014-04-30 01:33:51 +00:00
christos
bf3bbb4c0d allow update 2014-04-30 01:33:11 +00:00
matt
1b6521b490 Add common support for bringing devices out of reset or enabling their clocks
to device_register.  Add code to switch USB to host mode.
2014-04-30 01:02:40 +00:00
matt
6c389f60a2 Add some MT7620 support. 2014-04-30 01:01:47 +00:00
matt
5d4dfe4967 Add configs for the Zyxel Keenetic Extra. 2014-04-30 01:01:04 +00:00
matt
5d2e0c6c71 Localize the bsentry ubootimage kludge needed for the CPMBR1400
doesn't spread beyong the CPMBR1400.
2014-04-30 00:58:54 +00:00
matt
86475f594a Remove cfg1 manip, moved elsewhere.
Use aprintf_normal_dev for some debug printfs
2014-04-30 00:54:47 +00:00
matt
eef2f41538 Fix a few more register definitions. 2014-04-30 00:53:31 +00:00
matt
37f92b90d2 Instead of
mainbus0 (root): Ralink System Bus
be more explicit about the system:
mainbus0 (root): Mediatek MT7620 System Bus
2014-04-30 00:52:49 +00:00
matt
e1c34615b2 comment a #endif 2014-04-30 00:51:26 +00:00
matt
2e12761837 Add a static bus_space_handle_t for the core (sysctl) registers. 2014-04-30 00:51:01 +00:00
mrg
38f7b22b4a avoid divide by zero when setting 'hz' low. 2014-04-30 00:09:29 +00:00
pettai
dbaf52c0db update VERSION 2014-04-29 23:18:53 +00:00
tsutsui
0be110ccf5 Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.
These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.

Should be pulled up to netbsd-6* branches.
2014-04-29 18:47:22 +00:00
tsutsui
dc01298fe1 Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.
On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4).  In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)

Should be pulled up to all netbsd-6* branches.
2014-04-29 18:38:27 +00:00
matt
42a1bb1b40 Add opt_rasoc.h 2014-04-29 17:24:11 +00:00
matt
31ad70f277 Stub for PCI/PCIe support for RT3883/MT7620 2014-04-29 17:21:24 +00:00