Commit Graph

237313 Commits

Author SHA1 Message Date
jmcneill 4a5c3abbcc No need to BUS_DMASYNC_PREREAD the transmit data buffer. Fixes "NFS writes
being corrupted?" issue on ODROID-C1 as seen on port-arm.
2015-08-21 20:12:29 +00:00
jmcneill 719aab5470 Cubieboard2 kernel is named netbsd-CUBIEBOARD.ub not netbsd-CUBIEBOARD2.ub 2015-08-21 17:08:11 +00:00
jmcneill b372933f7b add some more RTL8211F bits 2015-08-21 16:29:48 +00:00
christos cb8ff824c3 fix bogus %m
use EXIT_FAILURE
2015-08-21 15:41:38 +00:00
christos f432ba3f0a fix build (dholland) 2015-08-21 15:33:04 +00:00
pooka aba2ad8151 Make it possible to explicitly disable MSI/MSIX with NO_PCI_MSI_MSIX.
Some platforms, e.g. linux uio-pci-generic, do not support MSI at all.

XXX: does MSI being defined intentionally depend on _KERNEL_OPT on amd64
but not i386?
2015-08-21 14:22:14 +00:00
christos fddcbf3df7 don't abuse %m in printf
fix error messages
2015-08-21 14:19:10 +00:00
roy 33ca8eec34 Remove unused variable. 2015-08-21 13:24:47 +00:00
pooka 8affc54712 kill now-unnecessary empty opt files (_KERNEL_OPT'ed probably eons ago) 2015-08-21 12:45:10 +00:00
pooka 5837845c12 Move constant cpp macros from Makefile.rump into opt_rumpkernel.h
(makes cc invocation lines a bit shorter)
2015-08-21 12:39:07 +00:00
jmcneill 319ee95162 enable NFSSERVER 2015-08-21 12:26:54 +00:00
jmcneill b7cf07b90b Disable link down power save mode and energy efficient ethernet on RTL8211F. 2015-08-21 12:22:22 +00:00
jnemeth 5923cd0eff PR/50158 - Simon Burge -- postinstall does not know about blacklistd 2015-08-21 12:02:07 +00:00
christos f9f1ccd009 - move prototypes to common header file
- rename function to avoid confusion with pseudo-device attach
2015-08-21 10:48:06 +00:00
roy 0a7b50d2d4 Note import of dhcpcd-6.9.2 2015-08-21 10:47:53 +00:00
roy cbf135c5b2 10-mtu is no longer used 2015-08-21 10:44:43 +00:00
roy d5314d23aa Sync 2015-08-21 10:39:00 +00:00
pgoyette 13da755153 Add a (clean) definition of WTF 2015-08-21 09:46:43 +00:00
christos 0306f29940 don't allow STRATEGY if we are not inited. 2015-08-21 09:33:53 +00:00
christos f554cabab4 comment out disabling ksyms 2015-08-21 09:18:17 +00:00
christos 2b0c60b5bd consistency with: src/sys/external/bsd/drm2/i915drm/files.i915drmkms
so that we can build again
2015-08-21 09:10:48 +00:00
christos a190e87f6e new OpenSSH 2015-08-21 08:22:16 +00:00
christos b1c8f1c6ff merge conflicts 2015-08-21 08:20:59 +00:00
tron 93fded9a74 Fix build with "USE_SSP=yes". 2015-08-21 08:19:28 +00:00
hannken ff601864ae lfs_writevnodes: replace mnt_vnodelist traversal with vfs_vnode_iterator. 2015-08-21 07:35:56 +00:00
uebayasi 3117ff9dff Define CHILD_MAX/OPEN_MAX as parameters. 2015-08-21 07:19:39 +00:00
christos 372af8af4b This is not needed anymore. 2015-08-21 06:56:35 +00:00
christos 8ae7da9704 Remove KERN.ioconf, ksyms does not really need it. 2015-08-21 06:56:12 +00:00
christos a220b03041 we don't need ioconf.h if we don't have the ksyms pseudo-device 2015-08-21 06:55:25 +00:00
christos 758039df2d If we don't have a pseudo-device, we don't need the attach function. 2015-08-21 06:50:56 +00:00
uebayasi 09d9979042 Redo previous; explicitly adjust .data load addr to get the identical ELF. 2015-08-21 06:37:09 +00:00
uebayasi be3036a5a8 Simplify this by deciding load address at one place. 2015-08-21 04:27:54 +00:00
uebayasi db473b3438 Simplify this by deciding load address at one place. 2015-08-21 04:13:23 +00:00
uebayasi 13a8e6977d Simplify this by deciding load address at one place. 2015-08-21 04:00:48 +00:00
uebayasi 8e8896ca6f Simplify this by deciding load address at one place. 2015-08-21 03:36:32 +00:00
uebayasi 220951d1d4 I bet setting search-directory for ld.so is useless in any kernel. 2015-08-21 02:35:52 +00:00
jnemeth b4ea321c71 - sort
- add a bunch of missing release
2015-08-21 02:32:24 +00:00
uebayasi 520a795665 Move dev/ definitions out of files.kern. 2015-08-21 02:18:18 +00:00
uebayasi 474df19dac ${KERN_LDSCRIPT} -> ${KERNLDSCRIPT} 2015-08-21 02:02:00 +00:00
uebayasi 7fe7089a02 Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
2015-08-21 01:52:07 +00:00
mlelstv 819c32b42c when scanning for disklabels, close block device only when this was
the first open. The device driver doesn't do reference counting.

This is still subject to race conditions.
2015-08-20 23:08:33 +00:00
kamil 3bff2c862b Minor alterations to reallocarr(3)
Add comment about division.
Mark error branches with __predict_false().
Reduce one branch with the OR trick.
2015-08-20 22:27:49 +00:00
skrll afa9454ede Tweak IS_ENABLED to allow CONFIG_FOO values.
No functional change to drm2.

LGTM from riastradh@
2015-08-20 21:41:12 +00:00
joerg b7742922d5 Fix portability. 2015-08-20 20:08:04 +00:00
riz f388f9ad5d options FFS_EI, and options IPSEC for GENERIC.common . No objections
when raised on port-arm, and only affects those boards including this
file.

Tested on BPI and ODROID-C1
2015-08-20 18:25:09 +00:00
christos ed5ec7e8c7 use snprintf and cast to long. 2015-08-20 17:25:50 +00:00
pooka 71859f7093 In rumprun mode on ARM, don't build syscall or signal code into libc.
(like on x86)
2015-08-20 16:13:40 +00:00
phx 028fd4a71a Fixed typo: propertly -> property. 2015-08-20 15:55:09 +00:00
christos e7ae23fd9e include "ioconf.h" to get the 'void <driver>attach(int count);' prototype. 2015-08-20 14:40:16 +00:00
christos 88b7aebae8 XXX: there must be a better way to do this. 2015-08-20 14:27:15 +00:00