mrg
45a8ff3bec
move KERNHIST stuff much earlier, so drivers can depend upon it.
2011-05-23 06:50:17 +00:00
joerg
56a181efa4
Let's not be silly. Use a fancy "if else" to decide behavior of a bool
...
and hope cosmic radition doesn't create a third state.
2011-05-22 22:13:33 +00:00
mellon
4159594e32
Add support for Dreamplug CPU clock speed detection.
2011-05-22 21:52:25 +00:00
joerg
abe88b5ff5
Inherit SSP settings from bsd.sys.mk
2011-05-22 20:49:46 +00:00
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
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
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
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
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
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
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
nonaka
751c31a9e4
Uncommented out "file-system CD9660".
2011-05-20 21:56:46 +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
tsutsui
f38f34147b
KNF a bit.
2011-05-20 16:33:07 +00:00
joerg
3cf929db2b
mbr.S and gpt.S want to reassign ., so don't use the integrated
...
assembler for now.
2011-05-20 15:05:02 +00:00
he
4f951ec855
Put the external functions from net.c in it's own header file and
...
include it, and do some other minimal adjustments to bring this
back to a buildable state.
OK'ed by martin@
2011-05-20 14:49:54 +00:00
joerg
d09aac6c0a
The %dx argument of in/out is not a memory reference, so don't use it as
...
such.
2011-05-20 13:33:11 +00:00
joerg
fe4adbc6f4
Be more explicit that the "w" part of %r11 is meant.
2011-05-20 13:32:35 +00:00
joerg
78fa586054
Use -x assembler-with-cpp from sys.mk.
2011-05-20 13:22:53 +00:00
joerg
97c3f9abba
LLVM's assembler parser doesn't support .code16 yet, so disable it as
...
needed.
2011-05-20 13:22:30 +00:00
joerg
4ec891b848
Drop redundant -I.
2011-05-20 13:21:54 +00:00
joerg
285f1a72ec
Really apply the -no-integrated-as only for clang.
2011-05-20 13:21:19 +00:00
joerg
4ab4d5ff28
Reuse -x assembler-with-cpp from sys.mk.
2011-05-20 13:19:59 +00:00
joerg
d1f26e9727
LLVM's assembler parser doesn't support .code32 yet, so disable it as
...
needed.
2011-05-20 13:18:42 +00:00
joerg
ac7187524d
The %dx argument for in/out is not a memory reference, so don't use the
...
"feature" of GNU as to hide it as such.
2011-05-20 13:17:12 +00:00
joerg
316b3ac0de
LLVM's assembler parser doesn't support .code32 yet, so disable it as
...
needed.
2011-05-20 13:11:40 +00:00
joerg
45f776be20
LLVM's assembler parser doesn't support .code32 yet, so disable it.
2011-05-20 13:08:07 +00:00
tsutsui
032115b7d7
Add (commented out) options MODULAR. Just works fine as other arm ports.
...
This will be mandatory because zbsdmod.o loader has size (5MB) restriction.
2011-05-20 09:25:15 +00:00
reinoud
9ba99564ec
Fix size reporting for DVD+R/DL and BluRay's; the value was trunced due to a
...
32 bit trunc due to a lacking type cast. The number of sectors for such media
can be more than 1<<32-1.
2011-05-20 09:23:37 +00:00
tsutsui
7e9ec9a509
Remove unnecessary count arguments from some pseudo-devices.
2011-05-20 09:06:02 +00:00
tsutsui
7b660f6158
Move pseudo-device bpfilter to proper place.
2011-05-20 09:01:39 +00:00
tsutsui
8edbaaf3c0
Shrink ramdisk size to 2048KB.
2011-05-20 07:57:07 +00:00
tsutsui
bbdfecc8f0
Enable cd* at atapibus? for some USB CD/DVD drives.
2011-05-20 07:49:31 +00:00