Commit Graph

200967 Commits

Author SHA1 Message Date
christos
83b36637a6 remove _ 2011-05-22 16:01:43 +00:00
macallan
821ed8ac36 crmfb may run in more than 8 bit now so we need the other rasops* as well 2011-05-22 12:33:49 +00:00
plunky
1c3db706be provide endian information to libpcc
(shame this doesn't use the same TARGET_XXX_ENDIAN
definition as the rest of the sources)
2011-05-22 12:01:26 +00:00
plunky
e73fc4c682 let external.h be built as a side effect of external.c, as
listing it explicitly means that mkext is run concurrently
twice when MAKE_JOBS > 1
2011-05-22 11:53:46 +00:00
jdc
22439c395e Fix corrupted packet problem on 100Mb/s half duplex links.
We need to set "echo disable" on the internal phy too, not just on the
external phy.
Tested on:
  SUNW,Sun-Blade-2000
  gem0 at pci0 dev 5 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
  ukphy0 at gem0 phy 1: OUI 0x0006b8, model 0x000c, rev. 1

Setting pointed out by bad@.
2011-05-22 11:19:23 +00:00
tsutsui
27dffeb3fc Remove mount_kernfs(8). INSTALL kernel doesn't have file-system KERNFS
and dmesg(8) is enough for sysinst.
2011-05-22 10:49:37 +00:00
mrg
de5a910070 match some fujitsu bge interfaces seen on PRIMEPOWER 250/450 systems.
from Michael Moll <kvedulv@kvedulv.de>, taken from openbsd.
2011-05-22 08:15:20 +00:00
mrg
cdcd8bddc9 regenerate. 2011-05-22 08:13:56 +00:00
mrg
8e96c9415e add some fujitsu ethernet id's and a new vendor id. partly from
Michael Moll <kvedulv@kvedulv.de>, taken from openbsd.

XXX: move the #if 0'd usage of PCI_VENDOR_CITICORP inside the #if 0 code
XXX: region, as this id conflits with the (4th) fijutsi id.
2011-05-22 08:13:17 +00:00
rmind
5df9d86377 - Replace uses of simple_lock and ltsleep with mutex and condvar.
- Improve some parts of the code to be more MP-friendly.

Tested by jakllsch@.
2011-05-22 04:27:15 +00:00
rmind
e8bf34f1e4 tmpfs_alloc_vp:
- Do not check for vn_lock(9) error, if LK_RETRY.
- Fix/improve comments.
2011-05-22 04:20:50 +00:00
riastradh
d9e31e357d Make `mount_ptyfs -c' actually work.
The ALTF_* are bit masks, not indices, so use 4, not 3, for the one
after 2.  Use 0x on all the values to emphasize this.

ok rmind
2011-05-21 20:05:02 +00:00
dholland
d392ff6e7a Clarify paragraph about calling setprogname, requested by Tobias Ulmer on
freenode. Bump date.
2011-05-21 19:06:44 +00:00
wiz
d01698ddc5 Do not use TAB to line up library arguments, use spaces. 2011-05-21 17:15:46 +00:00
nakayama
3bf0795076 Fix debug build. 2011-05-21 16:32:00 +00:00
tsutsui
c95f237aba WARNSfy and fix dumb bugs noticed by warnings. 2011-05-21 15:50:42 +00:00
jym
99c9ae6dfa In xbdback(4), move the code that copies segments after the bound checks
of the ``nr_segments'' variable.

In cases where we are running domUs with an architecture different from the
dom0 one (for example: 32 bits domUs on 64 bits dom0), copying segments
with an invalid nr_segments value will lead to the corruption of the
xbdback instance structure and quickly crash the dom0 backend.

Tested under 64 bits dom0 with 32 bits domUs. No regression observed.

ok bouyer@.

Will be pulled up to -4 and -5.
2011-05-21 15:22:49 +00:00
christos
fa20324c60 more missing includes 2011-05-21 15:10:34 +00:00
christos
884d0fb066 ifdef _KERNEL the inlines 2011-05-21 14:49:35 +00:00
drochner
bd8641a3b2 sync minimum key size for AES with reality 2011-05-21 13:23:36 +00:00
drochner
a194baae12 check key size on initialization -- othwise the rijndael code
can fail silently
2011-05-21 13:22:45 +00:00
msaitoh
ab5c26c930 Add newer Wireless WiFi Link 4965 devices, Centrino Wireless-N 1030
and Centrino Advanced-N 6230
2011-05-21 12:51:47 +00:00
msaitoh
939f31d12a regen 2011-05-21 12:49:50 +00:00
msaitoh
7d7e944c06 Add some iwn(4) devices. 2011-05-21 12:48:59 +00:00
tsutsui
6d45816bf7 Add sti at sgc configuration for SGC EVRX framebuffers found on
some later HP4xx models.  Untested, and disabled in GENERIC for now.
2011-05-21 12:06:14 +00:00
tsutsui
823c8d62ae Add a kludge to make this build on hp300.
(anyway bus independent driver should not include bus dependent sti_pci.h)
2011-05-21 12:02:55 +00:00
tsutsui
8db5928a80 Move several static wsdisplay variables into proper device specific structures
to resolve XXX comments.  Tested on GXemul.
2011-05-21 12:00:18 +00:00
tsutsui
063351d547 Device nodes for zs serial have been renamed from tty0[0-3] to ttyZ[0-3].
There are still compat symlinks but it looks ttys(5) doesn't like it.

XXX: no /dev/com[01] nodes for in MAKEDEV.
2011-05-21 11:56:00 +00:00
tsutsui
c0ea166021 Prepare xorg files for newsmips. It will work with standard wsfb driver. 2011-05-21 11:52:29 +00:00
tsutsui
2d7fb158b6 No need to pass UVM_FLAG_COLORMATCH to uvm_pagealloc()
if no valid vaddr is specified.
2011-05-21 11:49:34 +00:00
tsutsui
6bab75db1a Rename xorg.conf in the xserver set to xorg.conf.sample to avoid
overwriting a possibly modified user config file.  Suggested by jmmv@.
2011-05-21 11:38:52 +00:00
drochner
c53cf15519 fix a logics bug (which has been here from the beginning) which made
that only 96 random bits were used for IV generation,
this caused eg that the last 4 bytes of the IV in ESP/AES-CBC
were constant, leaking kernel memory
affects FAST_IPSEC only
2011-05-21 10:04:03 +00:00
tsutsui
56683e6b6e Explicitly #include <time.h> for time(3) and strftime(3).
Fixes warnings on some non NetBSD hosts.
2011-05-21 07:30:42 +00:00
tsutsui
bd79dceeae First cut at INSTALL notes for NetBSD/hpcarm.
Mostly taken from hpcmips and hpcsh. Needs more improvements.
2011-05-21 07:09:09 +00:00
christos
fdcc1029ab use warn/err. 2011-05-21 00:43:52 +00:00
christos
0364d1f4f2 - KNF
- more static
- fix argument parsing.
2011-05-21 00:43:42 +00:00
christos
8deae7b7cb remove unused. 2011-05-21 00:43:31 +00:00
joerg
ef5d0bd3b7 Disable integrated assembler for files that use .code16 or .code32 for
now. Disable Clang completely for bootxx and netboot for now until the
size issue has been sorted out.
2011-05-20 22:29:55 +00:00
joerg
6c5e962381 Disable use of various X86 extensions since _rtld_bind_start doesn't
save the necessary registers.
2011-05-20 22:22:44 +00:00
joerg
5a156c51e2 Explicitly disable linking against libgcc and friends. 2011-05-20 22:21:32 +00:00
joerg
c4c86edd0d Put the -std=gnu89 into CPPFLAGS to make sure it gets applied after the
-std=gnu99. Add a comment about this.
2011-05-20 22:13:22 +00:00
nonaka
751c31a9e4 Uncommented out "file-system CD9660". 2011-05-20 21:56:46 +00:00
joerg
b4f1f8d0c4 Needs -fheinous-gnu-extensions when building with Clang 2011-05-20 21:45:35 +00:00
joerg
bc69e95f26 lib/libobjc/t_threads is GCC-specific 2011-05-20 21:43:39 +00:00
nakayama
88e42b609b Add fenv support for sparc. Mostly copied from sparc64 and share with it. 2011-05-20 21:42:48 +00:00
joerg
5bb05ebf25 Force GNU89 mode for GCC itself to deal with the non-standard
"extern inline" mess.
2011-05-20 21:35:02 +00:00
joerg
6b4fe8bf2c Revert, breaks the build. 2011-05-20 20:09:37 +00:00
tsutsui
8e8df817c6 Add RCSId. 2011-05-20 16:35:38 +00:00
tsutsui
f38f34147b KNF a bit. 2011-05-20 16:33:07 +00:00
plunky
762c58f13a simplify PCC inclusion; MKPCCDMDS is not really required 2011-05-20 16:02:21 +00:00