Commit Graph

214320 Commits

Author SHA1 Message Date
joerg
387c6f6f2e Fix uninitialised variable warning from clang by removing the variable
used in first place.
2012-10-27 07:19:45 +00:00
joerg
7ad1c4e7c0 Appease shift vs substract warning for clang. 2012-10-27 06:55:54 +00:00
tls
9d8dce6eca Fix hardware RNGs -- accept their entropy estimates *rather than* using
timestamps to estimate the entropy of their input.  I'd accidentally
made it so no entropy was ever counted from them at all.
2012-10-27 01:29:02 +00:00
christos
7d8ba7bfb5 stronger lint foo 2012-10-26 23:23:23 +00:00
christos
f29054e9cf copy structures for alignment purposes 2012-10-26 23:05:14 +00:00
msaitoh
68c182ec5d Add missing mii_tick() call. 2012-10-26 21:03:26 +00:00
msaitoh
dab0d606c2 Add PCI stuff. 2012-10-26 19:15:52 +00:00
msaitoh
f2a98be80d Add OPENRD_INSTALL. 2012-10-26 19:13:56 +00:00
christos
4295620388 - whitespace
- s/consttmp/const tmp/
- sync comments
- don't save errno where it is not needed
- consistent lint comments
2012-10-26 18:31:14 +00:00
christos
4c9b20d676 consistent lint commments 2012-10-26 18:30:11 +00:00
christos
11571e6e08 remove unused constant 2012-10-26 18:29:49 +00:00
christos
a8bd22430c remove register 2012-10-26 18:29:34 +00:00
tsutsui
fe248d00b2 Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
 no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
2012-10-26 18:15:55 +00:00
seanb
c3008a4839 Ensure entire sockaddr_dl is obtained. May not have
been the case previously for interfaces with long names.
2012-10-26 16:52:52 +00:00
chs
1eddef034c in osyscall, set the PSL_I bit into the correct field of the trapframe.
it was going into tf_eip instead of tf_eflags, which would sometimes
corrupt %eip and always return to user mode with interrupts disabled.
this was found with a netbsd 1.0 binary, and dsl@ points out that
this should also fix PR 41342.
2012-10-26 14:46:44 +00:00
christos
0ccc9c4c06 Don't forget to re-assign sock after dup2(); from Jarle Greipsland 2012-10-26 12:42:10 +00:00
msaitoh
8b9111bcce Now the driver supports not only EG20T but also a lot of other
Intel chipsets' serial over lan devices, so modify the entry.
2012-10-26 11:43:43 +00:00
skrll
33c51f6938 Add the raspberry pi firmware distribution under the license shown
below.

OK'ed by board@ some time ago.

This version of the firmware allows the gpu/arm memory split to be
configured in config.txt using the gpu_mem= option.

Copyright (c) 2006, Broadcom Corporation.
All rights reserved.

Redistribution.  Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:

* This software may only be used for the purposes of developing for,
  running or using a Raspberry Pi device.
* Redistributions must reproduce the above copyright notice and the
  following disclaimer in the documentation and/or other materials
  provided with the distribution.
* Neither the name of Broadcom Corporation nor the names of its suppliers
  may be used to endorse or promote products derived from this software
  without specific prior written permission.

DISCLAIMER.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
2012-10-26 10:22:42 +00:00
skrll
74abee6cf8 Count the memory regions in bootconfig.dramblocks when using the VCPROP
information.
2012-10-26 10:03:13 +00:00
bouyer
b79ecab599 Workaround PR kern/47097: use delay() instead of tsleep() ahci_do_reset_drive()
if not called with AT_WAIT.
The right fix here is to change the ata layer to reset the drive from
thread context, to avoid a 0.5 delay() in interrupt context when a drive
fails.
2012-10-26 09:59:11 +00:00
matt
e56dab24fd When writing intmask from a softint/workqueue thread, make sure to do so
only with the hwlock locked.
2012-10-26 05:28:41 +00:00
matt
55802fc77d Use atomic_ops to manipulate sc_intmask 2012-10-26 05:11:34 +00:00
matt
792c944d32 For the AMACs, turn off read-allocate/write-allocate when doing DMA. 2012-10-26 04:46:06 +00:00
matt
578d2492fc Add A*CACHE values for AMAC. 2012-10-26 04:45:36 +00:00
matt
1c869a02fb For now, until rnd is fixed, don't use NO_ESTIMATE. 2012-10-26 04:45:03 +00:00
drochner
d18545dea2 pull in upstream rev. 191413 to fix integer overflow in objalloc_alloc
(CVE-2012-3509)
2012-10-25 17:00:16 +00:00
martin
2900740595 Make warnings non fatal for older gcc versions - I couldn't figure out how to
shut up gcc when compiling for vax. Feel free to fix differently if you
find a better solution.
2012-10-25 15:14:36 +00:00
tsutsui
213ea85b98 Make the default choice of "Install from" menu to use the sets
in the default file system (assuming which come with the CD/USB image)
and skip distmedium menu if the root file system is not md(4).
Also change "CD-ROM / DVD" menu option accordingly on ports which
have install images.  PR/47038

XXX: still no responsible maintainer of non-en translations
2012-10-25 15:05:22 +00:00
martin
a5430d17c3 Revert previous - casting to long is a bad idea, as the value will overflow.
Pointed out by apb.
2012-10-25 15:04:05 +00:00
martin
f5962309a9 Add a few casts to avoid (IMHO bogus) gcc warnings breaking the vax build. 2012-10-25 13:14:32 +00:00
msaitoh
a9ceb4700c Move the prototype definition of ether_input() from if.h to if_ether.h. 2012-10-25 11:53:14 +00:00
msaitoh
11dd166429 Add 1000baseT-FDX. 2012-10-25 10:59:43 +00:00
christos
81f024e94e rename ptyfs_flag -> ptyfs_status to avoid confusion with ptyfs_flags 2012-10-24 23:36:15 +00:00
wiz
76b8df0e8c Whitespace improvements. 2012-10-24 22:56:27 +00:00
christos
429bc5b7d7 explain a bit more what's wrong with alloca(3) 2012-10-24 22:25:49 +00:00
christos
97d3085eb3 Add a warning when we are using the libc version of alloca(3). 2012-10-24 22:10:52 +00:00
skrll
312162546c Remove unnecessary cast.
From chuq (I think)
2012-10-24 21:45:09 +00:00
skrll
0ba600c8bd Compare pointer against NULL not 0. 2012-10-24 21:31:06 +00:00
apb
410421ee21 Avoid using glob patterns that might match enough files to give
"Arg list too long" errors.  Change the "find" command to use
"-exec ... +" instead of "-exec ... \;" to make it more efficient.
2012-10-24 21:23:55 +00:00
skrll
975e296a40 Add the ifls register. 2012-10-24 21:23:45 +00:00
joerg
570a37472e Remove alloca when we get a chance to avoid issues like PR lib/47120.
With an modern optimising compiler, backend integration is necessary as
soon as frame pointers are optional.
2012-10-24 20:14:55 +00:00
riz
4f04915409 Add some missing NetBSD releases: 4.0.1, 5.0.1, 5.0.2 and 5.1.2. 2012-10-24 19:33:04 +00:00
riz
cae18824ce Re-add a line from NetBSD 0.8 to FreeBSD 1.0, which got lost in the
last commit.  From the original commit log of rev 1.33:


revision 1.33
date: 2006/03/02 16:21:53;  author: tls;  state: Exp;  lines: +3 -3
Add line from NetBSD 0.8 to FreeBSD 1.0, reflecting the fact that the
patchkit maintainers were provided with a prerelease snapshot of NetBSD,
changes from which they integrated into their working tree, well prior
to their announcement of the FreeBSD project.  Per personal communications
with Charles Hannum and Chris Demetriou.  This line is in at least one
other published version of this chart, but seems to never have been in
the version in our repository (unfortunately, cvs diff on ascii art is
not very helpful).
2012-10-24 19:14:26 +00:00
royger
cbd5ff4886 xen: don't use grants 0-8
Not all grants from the first frame can be used, grants from 0 to 8
(both included) are reserved for external tools. Using this grants
caused system crashes and fs corruption.

Closes PR port-xen/47057 and port-xen/47056
Reviewed by bouyer@
2012-10-24 13:07:46 +00:00
tsutsui
82c859d266 Remove useless md_may_remove_boot_medium messages. PR/47039 2012-10-24 11:36:02 +00:00
pgoyette
93d803dab3 Note that -d, -r, and -t are mutually exclusive and only the last one
is used.

While here, alphabetize the other list of r/d/t flags.
2012-10-24 02:46:25 +00:00
enami
78b4053513 The id chgrp command is required to change is not uid but gid. 2012-10-24 01:12:51 +00:00
christos
0b25fef287 remove error(1) output. 2012-10-24 00:30:52 +00:00
christos
eb32eb3957 update for tzcode2012g 2012-10-24 00:12:08 +00:00
christos
fb0d3fd558 apply 2012g via patch 2012-10-24 00:10:03 +00:00