187165 Commits

Author SHA1 Message Date
pooka
759da0cdcf _KERNEL_POT 2010-01-11 00:18:26 +00:00
snj
4619d47274 Remove ad clause on a UCB license. 2010-01-10 23:55:03 +00:00
pooka
4f48ec16a6 Add a simple hack to make interrupt pipes work (can't close them
yet ... except with SIGINT.  "muah").
2010-01-10 22:13:18 +00:00
pooka
c73aaa6bc2 pass a few more requests through to ugen 2010-01-10 21:30:16 +00:00
martin
dfb142f564 forgot to commit this - prototype for device_register_post_config() 2010-01-10 20:11:50 +00:00
mbalmer
06404c9d5f remove stupid casts. if lint complains about return values that are ignored,
lint should fe fixed, and not code being cluttered.
2010-01-10 19:40:11 +00:00
snj
34d0fbb3ff Add a missing semicolon. Noted by Tomasz Motyl in PR bin/42603. 2010-01-10 19:04:35 +00:00
mrg
1834ad25e5 fix a problem reported by jmorse:
- fix a line continuation that stopped SRCS= from working
- don't include intel_dri.c here
2010-01-10 17:35:33 +00:00
tsutsui
295b5cf15d Note about LBA48 support for cobalt bootloader. 2010-01-10 16:49:51 +00:00
joerg
4e2447c901 Don't leak two file descriptors in cp(). From Igor Zinovik.
Explicitly check the close for errors and bail out if needed.
2010-01-10 16:40:00 +00:00
tonnerre
e5ca1f295b Instead of unconditionally disabling SSL3 renegociation, add the flag
SSL3_FLAGS_ALLOW_UNSAFE_LEGACY_RENEGOTIATION which can be set by the
software which needs unsafe renegociation. Patch from OpenSSL CVS.
2010-01-10 16:39:10 +00:00
tsutsui
f204082a1d Add support for LBA48 read command to standalone wdc/wd driver.
Thanks to bouyer@ for comments about LBA48 boundary checks.

Tested on:
> Cobalt Qube 2700
> wd0 at atabus0 drive 0: <Hitachi HDS721616PLA380>
> wd0: 153 GB, 319120 cyl, 16 head, 63 sec, 512 bytes/sect x 321672960 sectors
via SATA-IDE converter, and NetBSD partition allocated at:
> 1: NetBSD (sysid 169)
>     start 293603940, size 28069020 (13706 MB, Cyls 18276-20023/54/63)

Also bump version.
2010-01-10 16:20:45 +00:00
tsutsui
a11ec02c51 Provide atacmd_to48() in case of #if defined(_STANDALONE) too
because standalone wdc driver in cobalt bootloader requires it
for LBA48 support.
2010-01-10 16:04:25 +00:00
dsl
a559996c6f If we fault on the iret during return to userspace, see if we need to
do a lazy update of %cs to make the stack executable.
If a change is made, just retry the failing sequence.
Signal handlers as gcc nested local functions now work!
2010-01-10 15:37:36 +00:00
dsl
ac44fdf2d2 If we fault on the 'iret' during return to userpace (eg if %eip is outside
the bounds of %cs) then hack the stack to contain a normal fault frame
for the signal setup code (etc).
Previously the code assumed that the original user trap frame was still
present - at it is for faults when loading the segment registers.
2010-01-10 15:21:36 +00:00
skrll
120c404172 s/cpu_switch/cpu_switchto/ in comment. 2010-01-10 15:07:53 +00:00
skrll
41ce26a62d Note the (working) com attachments on NetBSD/hp700. Bump date. 2010-01-10 15:05:26 +00:00
martin
c6ed03c26d Better support for FC-AL controllers/boot disks:
- on FC-AL disks, use wwn instead of target index to match a particular drive
 - use the new device_register_post_config() to match "sd" device against
   the bootpath after they have gained their wwn device property
 - supply firmwares notion of port and node wwn for FC controllers
   as device properties (the builtin ones don't see to have a separate nvram)
2010-01-10 13:52:06 +00:00
martin
693845d2c3 Add a new optional function device_register_post_config(), symmetric to
device register, called after config is done with a device.
Only used if an arch defines  __HAVE_DEVICE_REGISTER_POSTCONFIG.
2010-01-10 13:42:34 +00:00
jym
fefe0aff38 Simplify pmap_init_tmp_pgtbl() a bit.
The first level of the temporary page mappings are also done in the first
iteration of the loop below, so no need to do it before.

ok by joerg@ in private mail.
2010-01-10 12:10:23 +00:00
tsutsui
a65bdadc93 Make these compile with -D_DEBUG (use proper printf types). 2010-01-10 09:34:45 +00:00
wiz
71ca0cbf02 Bump date for sparc ddb command descriptions. 2010-01-10 09:08:23 +00:00
mrg
fc6f62f9db document sparc ddb commands. PR#38312. 2010-01-10 08:24:32 +00:00
mlelstv
b20971158f new tzcode 2010-01-10 07:37:09 +00:00
skrll
8f7db61734 Reset the COMBRELOC cache Obj_Entry if it was freed.
Fixes PR 41482. Done slightly differently to the patch in the PR.
2010-01-10 07:29:47 +00:00
snj
a0cb18657b Add a missing closing parenthesis in a few places. From Henning Petersen
in PR kern/42527.
2010-01-10 07:06:12 +00:00
skrll
fa7832d0b1 Fixup comment. 2010-01-10 06:37:32 +00:00
dholland
39f1d3fefb Fix installation permissions of /var/db/locate.database as per PR misc/41544. 2010-01-10 06:13:25 +00:00
mrg
bc060c4f10 put the cpu_number() into some messages. 2010-01-10 03:36:30 +00:00
haad
f1a671f674 Fix problem in ZFS ZIL layer where unclean shutdown of filesystem can change
replayed file permissions to 777. Patch from FreeBSD. Original commit message:

Be careful which vattr fields are set during setattr replay.
Without this fix strange things can appear after unclean shutdown like
files with mode set to 07777.
2010-01-10 01:35:39 +00:00
joerg
06c042e9bc Plug a memory leak. From Igor Zinovik. 2010-01-10 01:10:16 +00:00
cegger
8ab319847f TOPLIMIT for i386 PAE is 64GB. 2010-01-09 22:54:00 +00:00
cegger
06f2c03231 add x2apic support.
patch presented on current-users@, port-i386@ and port-amd64@ on 2009-12-22

No comments.
2010-01-09 20:56:17 +00:00
cegger
07e7c0c3fa add LAPIC_MSR_ENABLE_x2 MSR. from murray@river-styx via port-amd64@
'...as documented in the Intel 64 and IA32 Architectures Software
   Developers Manual 3A, chapter 10.5.1.'
2010-01-09 20:50:11 +00:00
rmind
a4c32a06f6 softint_overlay: disable kernel preemption before curlwp->l_cpu use. 2010-01-09 19:02:17 +00:00
snj
77e2006c9f It's "hw.acpi.supported_states", not "hw.acpi.support_states". From
rudolf on netbsd-docs@.
2010-01-09 17:28:06 +00:00
pooka
d52e469d3e pmf_init() 2010-01-09 16:32:57 +00:00
pooka
04d095d3c0 Include kern_pmf.c in rumpdev. 2010-01-09 16:29:32 +00:00
pooka
59962cc85e Stick a top-level subdir-makefile here for easy build-testing. 2010-01-09 16:19:17 +00:00
jruoho
ad7b6ed9be Add "ACPI fans" to the list of ignored HIDs, as discussed on port-i386@. 2010-01-09 15:43:12 +00:00
skrll
09298c1411 Small tidyup. 2010-01-09 15:36:43 +00:00
jruoho
6e01648990 Fix the casts in the event handler. 2010-01-09 15:34:59 +00:00
tsutsui
59882a6e03 To print bus_addr_t value, cast it to u_long rather than size_t. 2010-01-09 14:15:48 +00:00
martin
2fa35e4dbb adapt to recent pmf changes 2010-01-09 13:34:33 +00:00
simonb
653141906d Don't always use ".set mips3" - that explicitly uses 64-bit instructions
and we may be on a 32-bit CPU.  Instead use .set mips3/mips32/mips64
depending on current build arch.

Should fix boot problems on a Alchemy CPU reported by KIYOHARA Takashi
on port-mips.

A couple of niggles/concerns:
 * XXX Clean up with a macro?  Same code fragment is in mipsX_subr.S too.
 * XXX Key off build abi instead of processor type?
2010-01-09 11:49:16 +00:00
wiz
44d89517c9 "an" before a vowel, not "a". 2010-01-09 11:18:32 +00:00
mbalmer
b877ced633 fix build 2010-01-09 10:46:31 +00:00
mbalmer
89644c3065 Various language fixes.
From FreeBSD.
2010-01-09 10:43:11 +00:00
mbalmer
a33b3d6b72 Fix date. 2010-01-09 09:44:41 +00:00
mbalmer
61ddf57ed4 A bridge works like a switch, not like a hub.
From FreeBSD.
2010-01-09 09:44:29 +00:00