Commit Graph

227142 Commits

Author SHA1 Message Date
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
matt
272c0890ba Clean these up and move some defines to ralink_reg.h 2014-04-29 17:10:07 +00:00
matt
7cfc5595df More MT7620 definitions 2014-04-29 17:09:17 +00:00
reinoud
ac49720f51 Commit initial USB adapter support and associated DMA tags 2014-04-29 16:47:10 +00:00
uebayasi
f03da5f1d6 Revert previous for now; resolvepath() has to work for file paths too. 2014-04-29 11:52:51 +00:00
macallan
18894e0b3b return a match score >1 to beat out genfb if present 2014-04-29 11:16:25 +00:00
nonaka
eac5953207 regen 2014-04-29 10:56:38 +00:00
nonaka
040f5471fa Added Planex GW-USFang300 entry. 2014-04-29 10:55:02 +00:00
uebayasi
a270487d77 Indent. 2014-04-29 09:58:18 +00:00
uebayasi
4f67388957 Refactor a little to remove huge indents. 2014-04-29 09:56:16 +00:00
uebayasi
0db0bb3da5 Split huge monolithic functions for readability. 2014-04-29 09:42:51 +00:00
martin
84b6e2e4fd Specify both -march=68030 and -mcpu=68030 for assembler files here
as well.
2014-04-29 08:11:46 +00:00
uebayasi
601713acc4 resolvepath: Resolve .. in absolute paths. 2014-04-29 06:51:57 +00:00
uebayasi
413d532bcc Minimal execve(2) ATF test. 2014-04-29 06:29:02 +00:00