Commit Graph

238529 Commits

Author SHA1 Message Date
nonaka
f10188639b regen 2015-10-18 09:37:14 +00:00
nonaka
06f369f75d Add ELECOM WDC-433SU2M2. 2015-10-18 09:36:11 +00:00
martin
e082252485 PR 50342: if there is no current partition manage, assume we are running
from an already installed system.
2015-10-18 09:21:55 +00:00
nakayama
2c01e1e121 Fix 64-bit atomic operations on 32-bit kernel and userland, and add
support for missing __sync_*_8 builtins.
2015-10-18 02:28:07 +00:00
jmcneill
91e54f1e4a dont drop to Debugger on error 2015-10-18 00:39:14 +00:00
jmcneill
d997003aa6 add __BUS_SPACE_HAS_STREAM_METHODS, used by nouveau 2015-10-18 00:38:37 +00:00
jmcneill
252dc46495 mark a4x read region / write region as not implemented 2015-10-18 00:37:56 +00:00
jmcneill
fd2979f379 pull in arm/arm32/param.h 2015-10-18 00:28:32 +00:00
jmcneill
9864663214 pull in resource.h 2015-10-18 00:28:15 +00:00
jmcneill
2bd668c167 dont pull in agp.h when building as a module 2015-10-17 21:27:02 +00:00
jmcneill
d766524182 add nouveau, commented out for now 2015-10-17 21:18:47 +00:00
jmcneill
f1428902a5 Add bus glue for attaching nouveau DRM 2015-10-17 21:18:16 +00:00
jmcneill
972fbcb615 add GPU, SOR, and DPAUX offsets 2015-10-17 21:17:15 +00:00
jmcneill
51bd58a0bc add SOR and GPU interrupt numbers 2015-10-17 21:16:27 +00:00
jmcneill
c77f1db972 add support for enabling the GPU 2015-10-17 21:16:09 +00:00
jmcneill
89c48b02bf GPU power is controlled by a different register on Tegra124, handle this in tegra_pmc_remove_clamping 2015-10-17 21:14:49 +00:00
jmcneill
43233df756 support for non-PCI devices 2015-10-17 21:13:38 +00:00
jmcneill
3aeff20214 vunmap takes 2 parameters on netbsd 2015-10-17 21:12:37 +00:00
jmcneill
34aee25b16 skip clflush on arm 2015-10-17 21:11:56 +00:00
jmcneill
0268766007 use VM_FREELIST_DEFAULT on arm 2015-10-17 21:11:06 +00:00
jmcneill
93cbfef3b2 only define __OS_HAS_AGP if x86 and NAGP > 0 2015-10-17 21:09:49 +00:00
jmcneill
d6b6ab7cd6 only include acpivar.h when NACPICA > 0 2015-10-17 21:07:23 +00:00
jmcneill
cff98699ef only use mtrr api if options MTRR is present and we are on x86 2015-10-17 21:06:42 +00:00
jmcneill
2cd973ce83 only build ttm_agp code if __OS_HAS_AGP is defined 2015-10-17 21:05:57 +00:00
nakayama
0b3a360931 Move LP64 and ILP32 conversion macros COMBINE, SPLIT from locore.h
to asm.h, and provide SPLIT_RETL for the case SPLIT and then retl
immediately.
2015-10-17 19:29:48 +00:00
christos
ba1fcfbf5a remove extra lint libraries now that those libraries are private. 2015-10-17 19:20:51 +00:00
nakayama
a78f012a79 LDPTR is defined in machine/asm.h. 2015-10-17 18:51:32 +00:00
jmcneill
71739b1918 nouveau_pci.c depends on nouveau_pci condition, not nouveau 2015-10-17 17:32:18 +00:00
jmcneill
ff4525543b remove tlb_flush define and change callers to use cpu_tlb_flushID directly, ok matt@ 2015-10-17 16:34:43 +00:00
jmcneill
f12750737e fix __OS_HAS_AGP=0 build 2015-10-17 16:17:22 +00:00
jmcneill
252c030555 include sys/cpu.h for CPU_INFO_ITERATOR 2015-10-17 15:57:32 +00:00
bouyer
06131c44e0 Implement CPU frequency switching for A20.
This requires adjusting the CPU voltage, so enable the axp20x driver for
A20 boards.
In evbarm/awin/awin_machdep.c, the DCDC powering up the CPU cores needs to
be defined for each board. The board machine-dependant code (at this time,
only awin_machdep.c) has to provide a awin_set_mpu_volt() function
which calls the right PMU driver to change the CPU core voltage.

The CPU frequency/voltage table in awin_board.c comes from various
sources: linux kernel, device tree and fex scripts, and experiments on
olimex lime2 and cubieboard 2.
The following sysctls are provided (compatible with estd):
machdep.frequency.min,machdep.frequency.max: writable lower and upper
   bounds of the useable frequencies. Affects machdep.frequency.available.
   Lower bound defaults to 700Mhz, as does linux.
   Upper bound defaults to 960Mhz, which is the boot frequency
   on the boards I tested. There is a 1008Mhz entry available,
   but requires an out of spec CPU voltage (more than 1.4V) so it's
   not available by default.
machdep.frequency.available: list of available frequencies. This is
   the CPU frequency/voltage table, bound by machdep.frequency.{min,max}.
machdep.frequency.current: current CPU speed. Write a new value to change
  the CPU speed, only values from machdep.frequency.available are
  accepted.
2015-10-17 15:30:14 +00:00
jmcneill
0a23657fe0 build on platforms without agp_i810 2015-10-17 15:13:39 +00:00
jmcneill
5e1b565005 machine/cpufunc.h is MD, move it to i386/amd64 block 2015-10-17 15:13:19 +00:00
bouyer
01c7135446 The A20 manual says that the pll6 output is (AWIN_REF_FREQ * n * k) / 2,
not (AWIN_REF_FREQ * n * k) / m (m is only used for the SATA clock).
On the boards I tested, m happens to be 2 so the correct value was returned
anyway.
2015-10-17 15:02:55 +00:00
bouyer
f614045b58 Factor out reading/writing CCM registers in macros 2015-10-17 15:00:45 +00:00
jmcneill
738258c98f Don't include ACPI headers unless NACPICA > 0 2015-10-17 14:54:10 +00:00
bouyer
0fe5c8c58f awin_cpu_clk(): Fix reading of CPU_CLK_SRC_CEL bits: doing a shiftin followed
by a shiftout ends up reading bits(0,1) instead of AWIN_CPU_CLK_SRC_SEL.
It happens that these bits (AWIN_AXI_CLK_DIV_RATIO) are 2 (divide by 3) at boot
(at last on cubieboard2 and olimex lime2), which matches
AWIN_CPU_CLK_SRC_SEL_PLL1, so this has gone  unnoticed.
2015-10-17 14:46:01 +00:00
jmcneill
4e97921379 mark this MODULE_CLASS_MISC as npf_init cannot run when builtin driver modules are initialized 2015-10-17 13:53:40 +00:00
jmcneill
abe8031d08 initialize MODULE_CLASS_DRIVER modules before the drivers themselves are loaded during autoconfiguration 2015-10-17 13:52:52 +00:00
jmcneill
23dfd71d21 Split nouveau@pci from nouveau so we can attach it to other busses.
nouveaufb still depends on nouveau_pci, but it is not applicable to
non-PCI devices anyway.
2015-10-17 12:02:44 +00:00
uwe
3ae7b58008 Fix x/y edito. 2015-10-17 00:35:25 +00:00
roy
8b04443cd8 Fix the problem of just having a valid interface name in dhcpcd_flags. 2015-10-16 18:06:22 +00:00
christos
1428ec3f79 remove advertising clause. 2015-10-16 17:38:17 +00:00
christos
50b513f12f remove clause 3. 2015-10-16 16:40:02 +00:00
bouyer
89cd17bc2b Avoid a divide by 0 when unplugging a sd card. 2015-10-16 14:22:25 +00:00
christos
d14bf0b7ec bump for printf/syslog format changres 2015-10-16 00:41:07 +00:00
snj
9132b388a1 evbsh5 is no more 2015-10-15 20:02:24 +00:00
roy
c95ec17135 Make mdnsd start before NETWORKING and require staticroute, mountcritlocal
and networking.
Fixes PR install/43313.
2015-10-15 16:47:28 +00:00
roy
cc3c06b611 Add support for parsing IPv6 nameservers found in resolv.conf.
Fixes PR bin/42196.
2015-10-15 16:14:40 +00:00