Commit Graph

162194 Commits

Author SHA1 Message Date
he
525420f3c8 Remove a now-unused local variable. 2007-09-30 10:35:16 +00:00
kiyohara
621909efb7 Add bcsp. 2007-09-30 04:25:26 +00:00
kiyohara
670e4c5b6e Add bcsp(4). 2007-09-30 04:22:51 +00:00
kiyohara
c9c6f7ff7e Support type bcsp. 2007-09-30 04:11:02 +00:00
kiyohara
09fa5a563a Add bcsp(4). However, it is debuging state. 2007-09-30 04:07:41 +00:00
pooka
930ce5ac9b support error notifications 2007-09-29 22:07:32 +00:00
martin
7179dab5b0 Fix column alignment in partition size display 2007-09-29 21:54:13 +00:00
martin
cc47bef689 Enable booting from news Solaris ufs partitions. 2007-09-29 21:43:52 +00:00
martin
aa444a36a0 When compiled with COMPAT_SOLARIS_UFS, always calculate fs_qbmask and
fs_qfmask on the fly. This allows libsa to read newer Solaris ufs
filesystems (which have a slightly incompatible superblock).
Suggested by Antti Kantee when discussing PR kern/37000.
2007-09-29 21:36:56 +00:00
pooka
c82fd73eb8 kill trailing whitespace 2007-09-29 20:17:36 +00:00
scw
851609250e s/NPBFILTER/NBPFILTER/
Compile-tested only.
2007-09-29 18:44:51 +00:00
scw
7385793c3a s/NPBFILTER/NBPFILTER/ in #endif comment. No functional change. 2007-09-29 18:33:51 +00:00
scw
eeb9826d3b s/NPBFILTER/NBPFILTER/ in some #endif comments. No functional change. 2007-09-29 18:32:50 +00:00
scw
35b1297a77 - Fix bpf radiotap: s/NPBFILTER/NBPFILTER/
- In rt2661_set_chan(), handle the case where there is no previous channel.
  (Can happen if we go directly to monitor mode before UP'ing the i/f)
2007-09-29 18:30:22 +00:00
pavel
6fb3a9fdf6 regen the list of changes from NetBSD-4.0.xml rev 1.25 . Also, do not
add extra whitespace at the end of some lines.
2007-09-29 16:53:13 +00:00
hubertf
f03f64f273 regen 2007-09-29 15:40:58 +00:00
hubertf
7b080fd18e Fix the update-domains target:
update domains.sed to parse new HTML structure, and greatly simplify
it at the same time.
2007-09-29 15:40:31 +00:00
hubertf
d5f06899da First step at fixing the update-domains target:
Give the URL that's being redirected to, as ftp(1) can't parse&follow
the redirect automatically.
2007-09-29 14:24:08 +00:00
dsl
2e20a70dbf Change the way p->p_limit (and hence p->p_rlimit) is locked.
Should fix PR/36939 and make the rlimit code MP safe.
Posted for comment to tech-kern (non received!)

The p_limit field (for a process) is only be changed once (on the first
  write), and a reference to the old structure is kept (for code paths
  that have cached the pointer).
Only p->p_limit is now locked by p->p_mutex, and since the referenced memory
  will not go away, is only needed if the pointer is to be changed.
The contents of 'struct plimit' are all locked by pl_mutex, except that the
  code doesn't bother to acquire it for reads (which are basically atomic).
Add FORK_SHARELIMIT that causes fork1() to share the limits between parent
  and child, use it for the IRIX_PR_SULIMIT.
Fix borked test for both IRIX_PR_SUMASK and IRIX_PR_SDIR being set.
2007-09-29 12:22:30 +00:00
xtraeme
2a98ad5a88 Add two missing entries that someone forgot to add. 2007-09-29 11:17:08 +00:00
xtraeme
3b93bb68c4 Move entries from ticket #876 to CHANGES.prev now that it was pulled
up into the netbsd-4 branch.
2007-09-29 11:15:28 +00:00
bouyer
adc1896a31 Properly set b_resid in an error case.
Clamp b_resid to b_bcount in case the info field is larger. Fix a KASSERT
in physio() when a media error occurs on my SDLT320 drive (maybe this drive
is bogus for not setting the highter bits to 0 in the INFO field in this
case).
2007-09-29 11:04:51 +00:00
dsl
2b7c33c183 Use netbsd32_uint64 instead of fsblkcnt_t and fsfilcnt_t in order to get
the correct alignment (4 bytes for i386) for the whole structure.
2007-09-29 10:47:45 +00:00
kiyohara
3e56b57e2a We must not call bus_space_unmap() here. 2007-09-29 10:20:31 +00:00
tnozaki
fc34dcfbb7 s/__attribute__((__packed__))/__packed/g; 2007-09-29 08:10:17 +00:00
tnozaki
059d600590 1. add workaround for ctype.h is* funcs problem.
isspace((int)0xA0) should return false under LC_CTYPE=en_US.UTF-8,
   see: http://www.freebsd.org/cgi/query-pr.cgi?pr=116363&cat=gnu
2. change __runtable_to_netbsd_ctype() as reentrant.

patch ok'ed by tshiozak-san, thanks!
2007-09-29 07:55:45 +00:00
dyoung
97d392d2c5 Always build & link net/link_proto.c, since net/if.c needs it. 2007-09-28 22:52:13 +00:00
uwe
17bb5b2554 tlst[inptype(...)] is bad C code because inptype() can realloc tlst
and there's no intermediate sequence point!  We actually hit this on
sh3 with -O2 where gcc4 caches tlst in a register prior to recursive
call to inptype() and if you are unlucky the recursive call needs to
realloc tlst.

Introduce a temp variable to force a sequence point.
2007-09-28 21:53:50 +00:00
joerg
9e4ace25c5 Add kern.no_sa_support to easily detect whether a kernel supports
Scheduler Activation or not. This is a negative name as ld.so.conf
conditionals threat undefined sysctls like 0.
2007-09-28 21:25:21 +00:00
pooka
c4ad0e4da1 Release vnode being created in error branch instead of leaving it
locked.  Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.

fixes PR kern/37034
2007-09-28 19:48:42 +00:00
tsutsui
b2791a870b Remove ugly port ifdefs around install media of MS-DOS floppy and Tape.
I don't think users will complain that their machine doesn't have it,
and it's worthless to maintain which ports support these devices or not.
2007-09-28 19:45:56 +00:00
tsutsui
3a408b6a40 Update sgimips kernel names. 2007-09-28 19:40:24 +00:00
tsutsui
f9c4ad0965 Several update for ews4800mips.
XXX: set sizes should be updated by list-setsizes.sh
2007-09-28 19:14:33 +00:00
tsutsui
668270d69e Remove "text only" from description of XA framebuffer on NWS-5000
since we have Xserver for it.
2007-09-28 18:27:42 +00:00
tsutsui
f780efe971 - alpha now requires three floppies
- newsmips now requires two floppies
2007-09-28 18:26:47 +00:00
tsutsui
cf02cebf04 First cut at NetBSD/ews4800mips install notes. Not well confirmed.
(I guess very few people will actually require it...)
2007-09-28 18:20:13 +00:00
ad
2b42802f4e Repair the RAS check. 2007-09-28 17:02:39 +00:00
msaitoh
fff21ff359 Fix three bugs.
1) Move a magic number writing code.
Fix a watchdog timeout and "block failed to stop" problem on BCM5701 B5 card.

2) Fix incorrect register write.
Fix a watchdog timeout "block failed to stop" problem on BCM5700 B2 card.

3) Wait more long time for PCISTATE register to return to its original
pre-reset state.
Fix "pcistate failed to revert" problem on BCM5703 A2 card.
2007-09-28 15:37:45 +00:00
njoly
69b70bfe60 Add ACPI address32 resource type support (DWord Address Space
Descriptor), for fixed size io and mem.

Fix hpet@acpi attachement on Dell Poweredge 860.
Tested by Wouter Schoot, thanks.

While here:
- Update some indentation
- Correct function check
- Add missing break
- Update wrong debug message

Reviewed by cube.
2007-09-28 15:16:16 +00:00
ad
9988fd44ee Shuffle registers a bit to make bus_space_write_region_N work again. 2007-09-28 14:33:10 +00:00
drochner
0e0b59826f apply a patch from openssl CVS to fix a remaining off-by-one error
in an older security fix, see
http://www.securityfocus.com/archive/1/480855/30/0/threaded
2007-09-28 13:09:26 +00:00
lukem
9b5022a3a6 add raise_default_signal 2007-09-28 09:12:49 +00:00
lukem
339d6e2876 regen for raise_default_signal 2007-09-28 09:12:19 +00:00
lukem
5f778f6e61 Add raise_default_signal(). 2007-09-28 09:11:11 +00:00
lukem
2aa3c760cc support nbtool_config.h. 2007-09-28 09:07:16 +00:00
pooka
db8a762626 comments & other minor maintenance 2007-09-27 23:25:10 +00:00
pooka
28636f63b4 Split routines handling nodes from puffs_subr to puffs_node.
No functional change.
2007-09-27 23:21:07 +00:00
pooka
6eff998647 silence lint. also noticed by xtraeme 2007-09-27 23:11:41 +00:00
pooka
1bbaeda6c3 nuke trailing , from enum. spotted by xtraeme 2007-09-27 23:10:42 +00:00
pooka
25d66b7667 Revert previous, it makes no sense whatsoever. 2007-09-27 23:03:25 +00:00