Commit Graph

62588 Commits

Author SHA1 Message Date
martin
9027300348 Use device_t/struct ifnet* for phy callbacks 2016-04-03 10:01:52 +00:00
martin
62078f8320 Fix bpf_mtap argument 2016-04-03 09:58:45 +00:00
martin
044276cb07 Convert # line comments to // line to avoid preprocessor confusion 2016-04-03 09:06:28 +00:00
skrll
b1ee8add7a PR/51017: VEXPRESS_A15 doesn't compile
Don't pretend to be anything other than A15
2016-04-02 08:48:35 +00:00
mlelstv
2232a82848 appease compiler. Fixes options MODULAR build. 2016-04-02 08:16:54 +00:00
palle
0059b91df1 sun4v: Workaround for OpenBoot feature where a 64-bit address is truncated to a 32-bit address. This happends when a write to the console (/virtual-devices@100/console@1) is done. Avoid this by using a static buffer that is mapped below 4GB. Thanks to Tarl Neustaedter for explaining how OpenBoot works. ok martin@ 2016-04-01 20:21:45 +00:00
kiyohara
118e184d7f Ensure enable clocks for omapmputmr. 2016-03-31 14:33:17 +00:00
christos
6952a2b793 PR/51016: David Binderman: comment out pointless code. 2016-03-30 21:16:22 +00:00
christos
40d9145b70 PR/51015: David Binderman: remove useless code 2016-03-30 21:14:54 +00:00
macallan
a3107e02e3 make sure we compile mips_fpu.c and fp.S with -mhard-float 2016-03-29 18:40:32 +00:00
martin
0213dfd655 Add missing include 2016-03-28 10:35:36 +00:00
martin
e002a1e12e Simplify now that we have an internal toolchain 2016-03-28 10:31:45 +00:00
martin
afad7c48d8 Restrict float format hacks to gcc 4.8 2016-03-28 08:10:57 +00:00
mrg
0fd71d0df7 add a normal kernel that builds with PAE enabled. this is not yet
hooked into the normal build, but this is a working configuration
and on my 16GB test system, works fine.
2016-03-27 05:14:14 +00:00
martin
0b2c20760e Do not touch FP register on softfloat kernels. 2016-03-26 17:40:02 +00:00
martin
0eb7da4d7a David Binderman in PR port-newsmips/51014:
Move initialization of remain_cnt up to the declaration.
XXX the #ifdef here does not make much sense to me, but I know nothing
about the hardware. I'd guess it could be removed or inverted and #error'd
instead.
2016-03-26 17:14:38 +00:00
martin
07a988af43 David Binderman in port-arm/51013: masking of rxbdtlen happened before
the value was read - move it down a few lines.
2016-03-26 17:04:03 +00:00
martin
c22389e399 Fix comment 2016-03-26 11:49:10 +00:00
skrll
dc4391d06a Restore HOST1X and AHB_A2 to pmap_devmap to give pmap less work to do 2016-03-26 09:07:31 +00:00
skrll
3e98a566a4 G/C old structs 2016-03-26 08:42:07 +00:00
nakayama
01ff6a8d1b Fix probably a typo. 2016-03-25 14:58:53 +00:00
shm
606dc45ebf Add support for clac and stac instructions. 2016-03-25 10:14:43 +00:00
mrg
4773cc203b avoid a GCC warning with this:
+#if defined(__GNUC__) && (__GNUC__ >= 5) && defined(__OPTIMIZE__)
+       x.fp_sign = 0;
+#endif

(ridiculous, but seems better than disabling the warning entirely.)
2016-03-23 05:25:51 +00:00
mrg
65f5251eae remove a bunch of "@echo done" from the tail of rules. these messages
were vaguely useful back when we didn't run make -j, but now you end
up with a single line "done" every so often, with no idea what it is
for.  very few other targets claim they're done so just remove these.
2016-03-22 08:25:22 +00:00
mrg
3495e41469 revert part of rev 1.66 that converted a tri-state variable into
a bool while leaving a comparision against "< 3".
2016-03-22 04:48:25 +00:00
gdt
af798e7b27 Disable uscanner in all kernel configs
As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner.  Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.

(Compile-tested only, but there are multiple reports of this being the
right approach.)
2016-03-19 23:21:02 +00:00
mrg
3ae3bff701 remove some dead code. 2016-03-19 20:57:48 +00:00
martin
a706a41168 Default kernel builds to USE_SSP=yes. 2016-03-19 18:50:25 +00:00
christos
a75799a386 Add PAX_SEGVGUARD disabled. 2016-03-16 16:13:16 +00:00
skrll
b4740b2a71 Update vcprop_tag_clockrate structure 2016-03-14 07:43:00 +00:00
christos
32829346f4 PR/50964: David Binderman: Avoid signed overflow warning 2016-03-13 17:59:20 +00:00
christos
72fae1ce63 Add NO variables for the things that boot block does not support
(SSP/PIE/DEBUG/FORTIFY)
2016-03-13 17:48:53 +00:00
christos
f415d76a88 PR/50963: David Binderman: Use kmem_zalloc() so all members are initialized. 2016-03-13 17:38:44 +00:00
tsutsui
af8b911cf4 TAB/space cleanup. 2016-03-13 08:57:10 +00:00
tsutsui
741896a7e0 Misc KNF and ANSIfy. 2016-03-13 08:54:45 +00:00
mrg
8872ffd0f4 remove some more GCC 4.5 code. make GCC 5.3 be HAVE_GCC=53, so that,
for example, HAVE_GCC >= 48 works properly.
2016-03-13 01:06:51 +00:00
dholland
32cef18b87 Remove unused variable, found by gcc. 2016-03-12 02:17:05 +00:00
dholland
a9e4e98629 Fix syntax error in previous. Hi christos :-)
(PR 50944)
2016-03-12 02:15:50 +00:00
dholland
88c859a1fb Refine previous so the output is all hex again. followup to PR 50942 2016-03-12 02:13:35 +00:00
jklos
7f15b0acd9 Add kernel configuration file for PogoPlug Pink, PogoPlug Mobile and
PogoPlug v4. Add conditional because PogoPlug v4 can't run SD interface at
50 MHz.
2016-03-12 00:41:30 +00:00
christos
c01666f5da PR/50945: David Binderman: sprinkle parens 2016-03-11 18:31:03 +00:00
christos
c5bd235187 PR/50944: David Binderman: sprinkle parens 2016-03-11 18:29:48 +00:00
christos
a1148110d4 PR/50942: David Binderman: fix printf format 2016-03-11 18:27:37 +00:00
tsutsui
56c764b63d Properly zero out struct fb_devconfig, including rasops_info.
Fix panic after wsconscfg(8) from serial console, caused by
a junk function pointer.
2016-03-11 13:16:55 +00:00
martin
b7bf6f19af Strip debug symbols from boot code 2016-03-10 20:23:35 +00:00
martin
8d92fc86f0 Deal with _edata not being 4-byte aligned 2016-03-10 20:22:52 +00:00
martin
032d514f64 Add a few includes of bsd.own.mk to avoid broken test conditions
on ACTIVE_CC - this might not be the correct fix for PR 50930,
but it avoids the issue.
2016-03-10 09:00:24 +00:00
christos
0a584b1b23 PR/50928: David Binderman: Clarify precedence with parentheses. 2016-03-09 20:11:41 +00:00
nakayama
7cee3f133b 32-bit kernels use 32-bit stack. 2016-03-09 12:20:20 +00:00
skrll
16de05a45e #if 0 a KASSERT for now as it doesn't apply to Raspberry Pi 3 2016-03-08 08:01:23 +00:00