Commit Graph

232171 Commits

Author SHA1 Message Date
nat a662d660ff Clear status of BCM2835_STIMER_M3 only as timer comparison reg 0 and 2
are used by the VideoCore on Raspberry Pi.  This fixes audio playback.

Addresses PR 48805.

This commit was approved by skrll@
2014-12-16 13:09:33 +00:00
roy 24c1397228 Report route additions/changes/deletions for cached neighbours to userland. 2014-12-16 11:42:27 +00:00
jklos 7e580c6e29 Adds VAXstation VLC and 4000/60 framebuffer support. From Blaz Antonic
and updated by BjörnJohannesson.
2014-12-16 11:34:17 +00:00
jklos 6c82a2cbc1 Fix leds.h include. 2014-12-16 11:23:11 +00:00
mrg 5b7bfa533c switch over to the separate glu sources. 2014-12-16 06:10:12 +00:00
mrg e72a1182e8 add X11SRCDIR entries for the new separated mesa components. 2014-12-16 06:04:10 +00:00
jnemeth a0380aebe4 add powerpc variants to the list of potentially obsolete modules to check 2014-12-16 05:30:40 +00:00
msaitoh d23838029a Fix a bug that an unknown command is printed as "(null)".
Reported by Fredrik Pettai.
2014-12-16 04:07:40 +00:00
christos 2ef06139f8 - Don't allow bypassing file size limits with crontabs from stdin.
- Allow signals while reading the user crontab file; doing "crontab -"
  does not let you abort otherwise, and doing ^Z, kill %1 leaves turds
  in /var/cron/tabs
2014-12-15 16:45:26 +00:00
uebayasi d8aa702d35 Revert debug code. Simplify. 2014-12-15 15:49:25 +00:00
uebayasi fc1f7728b8 config(1): Fix build of old trees (bin/49389) (take 2)
Look into sys/conf/Makefile.kern.inc to check if "build_kernel" .USE target
is defined.  If not (== old source trees), generate one on the fly.
2014-12-15 15:41:18 +00:00
christos f95c68cfed Don't hard code crap we have perfectly good constants for. 2014-12-15 13:50:10 +00:00
christos 03a0e9092a there is no ibcs2 in amd64 [yet?] 2014-12-15 13:48:51 +00:00
skrll 6948cee7e0 Allow i386 binary debugging on amd64 hosts. 2014-12-15 13:43:24 +00:00
msaitoh 1f3e38b73f Add DH89xxC[CL] LPC devices. 2014-12-15 13:29:42 +00:00
msaitoh 0d062375a8 - Rename PCI_PRODUCT_INTEL_DH89XX_SMB to PCI_PRODUCT_INTEL_DH89XXCC_SMB
- Add PCI_PRODUCT_INTEL_DH89XXCL_SMB
2014-12-15 13:16:42 +00:00
msaitoh ad977055d2 Regen. 2014-12-15 13:13:36 +00:00
msaitoh c5194f93d0 - Rename DH89xxCC's names from DH89XX_ to DH89XXCC_.
- Add some DH89xxCC's devices.
- Add DH89XXCL's devices.
2014-12-15 13:13:17 +00:00
msaitoh fd4b25d637 regen. 2014-12-15 12:51:06 +00:00
msaitoh 70ef9aa83d Change Intel 0x0434 entry:
- Rename DH89XX_QA to DH89XXCC_IQIA
- Modify the description to DH89xxCC PCIe Endpoint and QuickAssist
  (include typo fix)
2014-12-15 12:48:42 +00:00
skrll 0d925f9759 Load the right xfer address into cb[i].xferdma. Fixes disk detection on
my hp715/50.

Hi Taylor.
2014-12-15 11:02:33 +00:00
uebayasi 10b064f35c config(1): Fix build of old tree (bin/49389)
Define the default, empty "build_kernel" target, so that old source trees,
whose sys/conf/Makefile.kern.inc don't have "build_kernel" .USE target, can
be built.

(When "build_kernel" is defined, the target is overriden, as far as
sys/conf/Makefile.kern.inc is included later than the "netbsd: ..." definition
in sys/arch/*/conf/Makefile.*.)

This should address PR bin/49389.
2014-12-15 10:10:24 +00:00
mlelstv e415342202 Don't pipeline any DMA writes to eMMC.
Fixes PR/49463.
2014-12-15 08:17:15 +00:00
ozaki-r a83e862961 Add two new compat files for Xen on amd64 2014-12-15 07:35:09 +00:00
ozaki-r 1db1d86128 Introduce if_initialize and if_register as an alternative to if_attach
if_attach initializes an ifnet object and registers it to the system
(e.g., ifnet_list), however, if_attach doesn't complete the
initialization and the rest of it will be done by if_alloc_sadl
that is normally directly called by device drivers or called via
functions like ether_ifattach. So there is a race between
if_attach and if_alloc_sadl (A half-baked ifnet object may be
accessed, for example, via ioctl between them).

The aim of this fix is to register an initializing ifnet object
after completing its initializations. To this end, this fix
separates if_attach into an initialization part (if_initialize)
and a registration part (if_register) and call the latter after
if_alloc_sadl (ether_ifattach). So a typical usage of the two
new APIs is like this:

  if_initialize(ifp);  // was if_attach
  ether_ifattach(ifp, enaddr);
  if_register(ifp);

Nonetheless, changing every drivers to do so at once isn't
feasible. So we keep if_attach working as it used to be and
will change only some drivers that we need at this point.
Once we know the fix really works well, we'll change all
the others.

Some more information of the fix can be found here:
http://mail-index.netbsd.org/tech-kern/2014/12/10/msg018242.html

No objection on tech-kern and tech-net.
2014-12-15 06:52:25 +00:00
christos 647dbd6f6c fix compat paths. 2014-12-15 02:01:41 +00:00
mrg c85d70d977 delete tools/glsl, is hasn't been used for a while.
move Makefile.glsl into libGL.
2014-12-15 00:20:29 +00:00
chs aa98ccaf25 welcome to 7.99.3. 2014-12-14 23:49:45 +00:00
chs 669ef94683 remove ep_name, change the last reference to use ep_kname instead. 2014-12-14 23:49:28 +00:00
chs a60c43758e fix powerpc TLS problems by removing the hacks for PPC EABI.
the kernel no longer treats R2 specially and its use as
the TLS register is now handled entirely in userland.
2014-12-14 23:49:17 +00:00
chs 6d40f9ff57 add a new "fo_mmap" fileops method to allow use of arbitrary uvm_objects for
mappings of file objects.  move vnode-specific details of mmap()ing a vnode
from uvm_mmap() to the new vnode-specific vn_mmap().  add new uvm_mmap_dev()
and uvm_mmap_anon() convenience functions for mapping character devices
and anonymous memory, and replace all other calls to uvm_mmap() with those.
use the new fileop in drm2 so that libdrm can use mmap() to map things
like on other platforms (instead of the ioctl that we have used so far).
2014-12-14 23:48:58 +00:00
christos d980f336d5 fix possibly uninitialized variable. 2014-12-14 23:27:14 +00:00
christos d4b702a5f2 avoid local variable shadowing devname. 2014-12-14 23:25:07 +00:00
christos 3c4b22dc90 add the two new compat files. 2014-12-14 22:32:46 +00:00
christos a24ecb0e5b PR/49287: Masao Uebayashi: Handle exec_script argument vector from the 32 ->
64 bit case. When execing a 64 bit shell from a 32 bit binary the argument
vector was still incorrect.

XXX: Pullup 7
2014-12-14 21:35:24 +00:00
christos ed2723be38 Move the empty sigreturn functions to their own files to allow the compat
module to load by itself.
2014-12-14 21:27:49 +00:00
christos cc8dba5ad2 Don't exclude amd64 from COMPAT < 15. We need it for COMPAT_NETBSD32 a.out 2014-12-14 21:14:06 +00:00
christos 0c6a515324 Allow i386 binary debugging on amd64 hosts.
XXX: This should be done in mknative but how? Matt?
2014-12-14 19:59:52 +00:00
christos 977e434ff6 When debugging 32 bit binaries on a 64 bit arch in NetBSD the dynamic
linker magically converts the dynamic linker name to ld.elf_so-<32bitarch>
like ld.elf_so-i386. We do the same magic here.
2014-12-14 19:58:06 +00:00
christos 17e441234f Leave section 0 empty. Now gdb should recognize our dumped ksyms files. 2014-12-14 18:14:15 +00:00
jmcneill b5a75d40b2 build ALLWINNER_A80 kernel 2014-12-14 18:12:55 +00:00
jmcneill 971763960c add INSTALL kernel for Allwinner A80 2014-12-14 18:12:38 +00:00
wiz b1ec4779e4 Bump date for previous. Fix typo. 2014-12-14 17:15:14 +00:00
wiz 47999ce6b9 mdocml-1.13.2 out. 2014-12-14 16:05:29 +00:00
macallan 02c20c8189 fix bit flip in PM2_DAC_COLOR_MODE register
from Naruaki Etomi
2014-12-14 13:58:41 +00:00
mlelstv a0b59f5f8a Add validation methods "mbr" and "gpt" for disks without a valid disklabel. 2014-12-14 12:31:39 +00:00
mlelstv f902d9ca42 support wedge names.
The default param file for a wedge is still named after the device (dkN)
which might be unpredictable. Use an explicit param file instead.
2014-12-14 11:31:39 +00:00
martin 0cb17482c5 Avoid a race when the ifp->if_slowtimo pointer is changed while we are
running in if_slowtimo already. Suggested by Masao Uebayashi
in PR kern/49462.
2014-12-14 08:57:14 +00:00
christos 853279d741 Restore apple ufs error handling. 2014-12-14 01:13:57 +00:00
christos 4ddba2941f - Add debugging for mount...
- Merge some error returns
- Check more errors
2014-12-14 00:36:07 +00:00