Commit Graph

124421 Commits

Author SHA1 Message Date
riastradh
89b4554f68 Partial viadrm2 snapshot.
To do:

- autoconf attachment (shouldn't be hard)
- viafb (maybe steal unichromefb and adapt attachment structure)
- actually run it (no hardware here)
2014-08-26 17:28:14 +00:00
riastradh
894179c374 Add Linux timer_pending and del_timer. 2014-08-26 17:26:05 +00:00
msaitoh
f35ac6b16b Modify WMP_F_1000{X,T} to WMP_F_{FIBER,COPPER}. No binary change. 2014-08-26 14:44:00 +00:00
reinoud
2d8c45afa0 Make it compile without DIAGNOSTIC by using __diagused 2014-08-26 11:55:54 +00:00
reinoud
bf60d1ced1 Make it compile without DIAGNOSTIC 2014-08-26 11:49:39 +00:00
reinoud
262eb828ef Make it compile without DIAGNOSTIC 2014-08-26 11:45:49 +00:00
pooka
1dc56c39a2 Implement pci_intr_setattr()
(well, kinda.  it just ignores the MPSAFE param for now, but that's
easy to fix later)
2014-08-26 10:58:13 +00:00
manu
8c40e8bcff Fix build with TFTPROOT option enabled 2014-08-26 09:38:54 +00:00
christos
b648275a2b alpha (and others) don't like .set name, expr. Use name = expr like elsewhere. 2014-08-26 09:03:17 +00:00
riastradh
3b88c214c8 Return 0, not uninitialized, if the condition is already true. 2014-08-26 00:48:29 +00:00
joerg
7a1a6f1cf3 Add basic support for indirect functions. It allows providing a public
function symbol with an implementation choosen at run time.
Refactor calls to functions by address in ld.elf_so to create temporary
function descriptors on the stack, if the address is not leaked outside.

Limitations:
- no support for initialising static storage with function pointers
- no support for unnamed resolver functions

Inspired by FreeBSD's r228435 by kib@freebsd.org.
2014-08-25 20:40:52 +00:00
pooka
67433f3a0f Remove and obsolete rumpkern_time as a separate component. 2014-08-25 18:44:02 +00:00
reinoud
f2e3a5e0ac Enable Xuhost gpio pins; they are the same on Exynos5 series. 2014-08-25 16:56:14 +00:00
reinoud
50d38267fb Relax the timing around the usb lan9730 powercycle. 2014-08-25 16:49:43 +00:00
pooka
b124cf15b4 No longer create a special process context to fork remote clients off
of, simply always rfork off of proc1 closing all descriptors, and have
the rump kernel open 0/1/2 if the parent process is "1".

Fixes tests/rump/rumpkernel/t_sp, which was failing since the
abovementioned special process change due to attempting to deliver a
signal to the special process and the special process was not equipped
to handle one.
2014-08-25 14:58:48 +00:00
riastradh
39705e3af5 Use the right BAR for MMIO register sizing on i810. 2014-08-24 22:56:18 +00:00
skrll
c25cc9d720 Correct the mmc clock. Banana Pi can now find an SD card. 2014-08-24 21:42:06 +00:00
msaitoh
49592136f0 Set the WM_F_ATTACHED flag if wm_attach() finished succesfully and check
the flag in wm_detach(). It will avoid to panic in wm_detach().
Fixes PR#49102.
2014-08-24 21:15:35 +00:00
rmind
b1889f11ee - npf_conn_import: add a missing stat counter increment.
- npf_nat_import: add a missing reference and make a comment.
2014-08-24 20:36:30 +00:00
joerg
45c6ebd5f6 Revert last, bump required config version instead. 2014-08-24 20:23:38 +00:00
palle
5f4732d296 Initialize IOMMU control and status register properly - from OpenBSD - ok mrg@ 2014-08-24 19:09:43 +00:00
palle
f1503a8db0 Generalize the code to allow for arbitrary interrupt wirings - with this change the serial console is usable on Sun Fire V445 systems - from OpenBSD - ok mrg@ martin@ 2014-08-24 19:06:14 +00:00
apb
497135b74d Avoid splitting sed programs over multiple lines with
<backslash><newline><indentation>.  Use multiple -e options instead.
2014-08-24 18:27:16 +00:00
matt
bf06458dd9 Add entry for kern/kern_ksyms_buf.c 2014-08-24 16:42:46 +00:00
maxv
8db2bbfd52 Ensure nbytes > 0. Otherwise bad things may happen.
Compile-tested only.

ok christos@
2014-08-24 12:48:58 +00:00
jmcneill
c23681cc0d pull in opt_arm_debug.h for VERBOSE_INIT_ARM 2014-08-24 12:42:03 +00:00
mlelstv
044affb986 use RAW_PART to trigger read of disklabel, other units might by busy due
to discovered wedges.
2014-08-24 12:18:21 +00:00
nonaka
61876aebbe fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/) 2014-08-24 11:36:11 +00:00
tsutsui
22f9ddb84f Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.
The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.

The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
2014-08-24 08:17:44 +00:00
jnemeth
ee79d5b0e4 Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
2014-08-24 07:59:22 +00:00
martin
f0b5a13b43 Fix a few logical vs. physical port number confusions to make this
driver work with two port variants.
2014-08-23 21:37:56 +00:00
dholland
fe275f49d7 Add missing COMPAT_{50,60,70} lines, commented out or not as per the
COMPAT_40 line.
2014-08-23 21:10:20 +00:00
dholland
9abf1a6b70 Add options COMPAT_44, which controls mostly MD code but should be in
here anyway.
2014-08-23 21:05:39 +00:00
dholland
4acb6306f5 Systematize (and in many cases, fix) the comments on options COMPAT_NN.
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
riastradh
fd20828015 Another round of nouveau whack-a-mole. 2014-08-23 08:03:33 +00:00
matt
794ed9d503 Fix cmpptr/cmpreq/etc to use right mnemonics 2014-08-23 02:21:44 +00:00
jakllsch
02930256c2 Fix what is almost certianly an off-by-one error when configuring pads on
AM335x for BPP greater than 16.
2014-08-22 20:01:16 +00:00
jakllsch
2911d0aae1 Support WSDISPLAYIO_GET_FBINFO ioctl in tifb(4). 2014-08-22 19:59:18 +00:00
jakllsch
b3eb8c6c2b tifb can support 32 and 24 BPP framebuffer modes; pull in corresponding raspos
support.
2014-08-22 19:44:04 +00:00
hannken
d0fd8c21fa Use mount from argument "mp", "vp->v_mount" is not valid here.
PR kern/49142 (panic in ext2fs_loadvnode mounting an ext2fs filesystem)

Needs pullup to -7
2014-08-22 16:49:30 +00:00
riastradh
46b6cca670 Revert to mapping the whole GTTMMADR region all at once for now.
This was split up so we could map the GTT prefetchable without
interfering with the MMIO registers, but it interferes with old drm
which tries to map the whole region and which is still hooked up for
the moment.

Once we unhook old drm for good we can put this back.
2014-08-22 15:26:28 +00:00
pooka
272d41f121 Add a compile-time selector for I/O space operations. Needs more work
some day, but allows virtio drivers to work today.
2014-08-22 14:28:58 +00:00
pooka
b41a4e160f Nuke the DOMAINADD() macro and just call domain_attach(), now that things
work correctly that way.
2014-08-22 11:34:28 +00:00
pooka
71c14bfaa2 Change the meaning of the boolean parameter to domaininit().
was: attach route domain if found from domains link set
now: attach any domain which is found from domains link set

No functional change to monolithic kernel.  In a rump kernel, which
attaches networking domains "modularly", prevents domains from
accidentally leaking in via the link set in static linked scenarios.

Problem reported by cube, Tom Bousso, and the voices in my head.
2014-08-22 11:28:03 +00:00
pooka
08f38d958e Build virtio components as part of RUMPPCIDEVS 2014-08-22 09:58:55 +00:00
pooka
db494c8796 Add a rump kernel component for ld@virtio. 2014-08-22 09:57:05 +00:00
skrll
32f3cf5261 Remove unnecessary #include 2014-08-22 09:49:13 +00:00
pooka
d7b8f51b8f Add a rump kernel component for the vioif virtio network interface. 2014-08-22 09:48:54 +00:00
pooka
e125b93131 Add a rump kernel component for the virtio bus. 2014-08-22 09:45:29 +00:00
christos
83a84c1bf3 over-initialize for the benefit of gcc 2014-08-21 15:43:35 +00:00