Commit Graph

214131 Commits

Author SHA1 Message Date
alnsn
e8c0d6c662 Add bpfjit and enable it for amd64. 2012-10-27 22:36:11 +00:00
phx
742208e873 Fixed receiving of odd-length packets. Driver works now perfectly.
Thanks to Harald Meinzer for providing me with a Hydra for a few days.
2012-10-27 21:13:03 +00:00
nakayama
b41cd0dbf9 Remove ipl overwrite. Which was missed in previous. 2012-10-27 20:07:12 +00:00
matt
1f0bc47f9c Use kmem_intr_alloc/kmem_intr_free 2012-10-27 17:34:07 +00:00
chs
00544bc472 malloc -> kmem_zalloc. this also fixes a build error. 2012-10-27 17:29:03 +00:00
matt
ccb222b838 Reenable NO_ESTIMATE now that rnd has been fixed. 2012-10-27 17:24:37 +00:00
chs
cbab9cadce split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
2012-10-27 17:17:22 +00:00
apb
f18317d7fe zoneinfo: Import tzdata2012h. [apb 20121027]
Also change "zoneinfo:" to "libc:" in an entry for tzcode.
2012-10-27 16:50:13 +00:00
apb
6bc7cc7378 tzcode202h/tzdata2012h have been released. We have updated to tzdata2012h. 2012-10-27 16:48:57 +00:00
apb
8120923daa Import tzdata2012g from ftp://ftp.iana.org/tz/releases/tzdata2012h.tar.gz
Changes from tzdata2012g to tzdata2012h:

  Bahia no longer has DST.  (Thanks to Kelley Cook.)

  Tocantins has DST.  (Thanks to Rodrigo Severo.)

  Israel has new DST rules next year.  (Thanks to Ephraim Silverberg.)

  Jordan stays on DST this winter.  (Thanks to Steffen Thorsen.)

  Web page updates.
2012-10-27 16:43:06 +00:00
phx
d539a37d01 Fixed dependencies for some new PCI and clockport devices, to make a
kernel compile without them.
2012-10-27 11:54:21 +00:00
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