238819 Commits

Author SHA1 Message Date
phx
d656580485 Add sandpoint ddb-entry method. 2015-11-12 17:45:12 +00:00
christos
5e9bf06a78 Recognize binary constants 2015-11-12 17:34:01 +00:00
christos
fd6ed0e3f6 Fix capitalization 2015-11-12 17:31:43 +00:00
christos
6ea48155ff Now that our source tree has binary constants, recognize them. 2015-11-12 17:30:03 +00:00
christos
557b696a7a Recognize 0[bB] as binary (base 2) 2015-11-12 17:23:51 +00:00
christos
6c340bb484 Add usage function, various cosmetics; no functional change. 2015-11-12 16:51:18 +00:00
christos
2a5df0a68f Use the new DK_DEV_BSIZE_OK() macro. 2015-11-12 15:28:07 +00:00
christos
ce52e80579 Add DK_DEV_BSIZE_OK() 2015-11-12 15:25:22 +00:00
phx
f8fe085c49 Amiga Xorg support. 2015-11-12 15:13:03 +00:00
joerg
a3e166507d Ensure that the callout of the multicast address is valid before
hooking it up.
2015-11-12 15:01:06 +00:00
pooka
d0f0cf2fcb In ioconfname mode, #define IOCONF as the ioconf token.
Avoids having to retype the name to call config_init/fini_component().
2015-11-12 14:38:21 +00:00
phx
599bbc23d0 Use the MD_BTOP() macro as replacement for m68k_btop() in all device
drivers which are shared with amigappc.
2015-11-12 12:19:49 +00:00
msaitoh
d40faa45fb - Restore pci_subr.c rev. 1.135's change in pci_conf_print_caplist().
As wrote in the comment, HyperTransport capability appears multiple times.
  pci_conf_cap() reruns only the first entry, so it can't be used here.
- Try to decode HyperTransport capability. Currently, the capability type
  of each HyperTransport capability is printed and only the MSI Mapping
  capability is decoded.
- Style change.
2015-11-12 12:17:59 +00:00
msaitoh
e2a104e557 PCI_HT_CAP() is right shifted value, so PCI_HT_CAP_* should not use
__SHIFTIN(). This change fixes a bug that HyperTransport system misunderstand
whether MSI/MSI-X can be used or not.
2015-11-12 12:08:13 +00:00
phx
656c43404f Xorg for amiga via wsfb. Currently available on CV64 and CV64/3D. More
graphics cards will follow, when adding wscons support to them.

I didn't manage to make the "wskbd" protocol the default in the X server,
so you have to provide a small xorg.conf with Option "Protocol" "wskbd".
The standard protocol will not work as the Amiga wskbd cannot be switched
into raw mode and has no AT-scancode translation in the kernel.

On the positive side, wskbd also works with national keymaps under X.

The graphics modes can still be defined via grfconfig(8). Xorg's wsfb
driver uses the current grf video mode, which is usually mode #1.
All resolutions and depths seem to work (tested on CV64).
2015-11-12 12:01:53 +00:00
hannken
fa45966e6d Take the vnode lock before the vnode is marked VI_CHANGING and fed
to vclean().  Prevents a deadlock with two null mounts on the same
physical mount where one thread tries to vclean() a layer node and
another thread tries to vget() a layer node pointing to the same
physical node.

Fixes PR kern/50375 layerfs (nullfs) locking problem leading to livelock
2015-11-12 11:35:42 +00:00
jmcneill
7017cd79aa change some register dumps from aprint_verbose to aprint_debug 2015-11-12 10:49:35 +00:00
jmcneill
f96884bf2d enable NFSSERVER (mostly to silence module warning) 2015-11-12 10:48:30 +00:00
skrll
dea60533fa Drop to spl0 after the pmap_activate call. Should address
PR port-arm/50420: curcpu()->ci_pmap_cur != pm || pm->pm_pai[0].pai_asid == curcpu()->ci_pmap_asid_cur" failed

Discussed with matt@ and rmind@
2015-11-12 10:47:30 +00:00
jmcneill
d01d2885b0 Standard mode for I2C needs a source divider of 20, not 2. 2015-11-12 10:31:29 +00:00
ozaki-r
3b8b75374e Add tests of IPv6 link local address
From s-yamaguchi@IIJ
2015-11-12 05:05:24 +00:00
ozaki-r
9b59cf7aa1 Fix up the header
Remove unnecessary shebang and add missing keyword expansion,
copyright and license.
2015-11-12 05:01:28 +00:00
christos
799fe5d0c9 fix incorrect memset. 2015-11-12 02:06:36 +00:00
jmcneill
8f23c6b18a Use GEM for memory management. Fixes a couple issues while here:
- No longer needs to allocate 35MB (!) for framebuffer console.
 - Allows xrandr to switch to modes larger than the framebuffer console.
 - Removes hack that redirected mmap calls to wsdisplay0
2015-11-12 00:43:52 +00:00
pooka
4ff6638b3d Make it easier to create rump kernel components, part 1.
Reduce copypasteware for the component constructors.  If a constructor
calls only config_init_component(), handle it from a common source file
instead of copying the same(ish) file around to every component.
2015-11-11 21:52:45 +00:00
skrll
3c7b72e03f Support pmap_pv_track and friends 2015-11-11 17:54:17 +00:00
jmcneill
623e6e8f00 not used by tegradrm 2015-11-11 16:41:52 +00:00
jakllsch
22439287a1 Add tty2 tty3 devices to evbarm MAKEDEV; JETSONTK1 has console on com3. 2015-11-11 16:20:43 +00:00
phx
f7fdbac6c0 Update loadbsd to 2.17, which can load ELF kernels.
Remove obsolete loadbsd binaries from installation/misc as they
have become useless (and can only load a.out kernels).
2015-11-11 16:13:55 +00:00
phx
272a1c3817 Build instructions and Makefile for loadbsd 3.0.
Submitted by Gunther Nikl.
2015-11-11 16:08:52 +00:00
jmcneill
36039cde22 fix RB_POWERDOWN test 2015-11-11 14:50:08 +00:00
jakllsch
5886266433 enable cd(4) in JETSONTK1 2015-11-11 14:04:12 +00:00
jmcneill
317868fba7 make VDD_CPU programming a bit easier to understand, and while here, actually program it to 1.4V as intended instead of 1.39V 2015-11-11 12:49:10 +00:00
jmcneill
578cf4f763 support RB_POWERDOWN using the AMS AS3722 PMIC when available 2015-11-11 12:37:52 +00:00
jmcneill
6c9f612895 add support for optional RB_POWERDOWN handler 2015-11-11 12:37:13 +00:00
jmcneill
ed128037ab enable as3722pmic 2015-11-11 12:35:40 +00:00
jmcneill
6163890252 Add basic driver for AMS AS3722 power management IC 2015-11-11 12:35:22 +00:00
jmcneill
b63e88b170 only send repeat start if we are doing write-then-read 2015-11-11 12:28:15 +00:00
jmcneill
c2d1bfbdc1 fix i2c periph clock, send repeat start for write-then-read xfers 2015-11-11 11:32:01 +00:00
skrll
0eca66f9fd Fix XEN build - does XEN really want/need pmap_pv_track? 2015-11-11 08:51:33 +00:00
skrll
0ab5498d57 Remove #if 0 / #endif includes 2015-11-11 08:22:36 +00:00
skrll
b70033bc21 Split out the pmap_pv_track stuff for use by others.
Discussed with riastradh@
2015-11-11 08:20:22 +00:00
ozaki-r
3637fb5284 Add tests for RA
From s-yamaguchi@IIJ (with some tweaks by me)
2015-11-11 07:52:57 +00:00
ozaki-r
0bc5ae37c7 Introduce rump.rtadvd
It is used to write ATF tests for RA.

From s-yamaguchi@IIJ.
2015-11-11 07:48:41 +00:00
snj
e055a12f26 add an entry for netbsd-7-0 2015-11-11 06:53:36 +00:00
knakahara
fd06f20054 fix CID 980463 2015-11-11 03:57:57 +00:00
snj
2fba4b1be0 Note that the netbsd-5{,-1,-2} branches have been terminated.
Goodbye, dear friends.
2015-11-11 03:14:34 +00:00
knakahara
e96c855269 fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.
e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1

    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3

    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================
2015-11-11 02:57:17 +00:00
jakllsch
5eed5f1c78 Only sync and unload dma map in ahci_atapi_complete() if appropriate.
Fixes ahcisata atapi cd(4) on arm (specifically, JETSONTK1), which insists
that a zero-length dmamap can not be synced.
2015-11-11 02:43:09 +00:00
marty
4e4a2ffcb4 Fix typo that prevented CONADDR from being defined for XU4 2015-11-11 00:58:21 +00:00