Commit Graph

169986 Commits

Author SHA1 Message Date
dyoung
3ebe24aa36 Apply netmasks to !(IFF_BROADCAST|IFF_POINTOPOINT) interfaces as
well as to IFF_BROADCAST interfaces.  Fixes the bug reported by
Markus W Kilbinger,

	ifconfig stf0 inet6 2002:xxxx:76ec:0001::1 prefixlen 16 alias

results in the wrong configuration,

	stf0: flags=1<UP> mtu 1280
		inet6 2002:xxxx:76ec:1::1 prefixlen 64
2008-05-16 20:57:42 +00:00
dyoung
4a04a80d10 The key 'vlantag' activates the 'vlanif' keyword, not the key
'vlan'.  Should fix this bug reported by Pierre Pronchery,

# ifconfig vlan0 vlan 1 vlanif hme0
ifconfig: SIOCAIFADDR: Address family not supported by protocol family
2008-05-16 20:53:35 +00:00
jnemeth
1075255134 added Corega LAPCCTXT FastEthernet 2008-05-16 20:27:20 +00:00
peter
38ef85727a Update to libevent 1.4.4-stable.
Reviewed by provos@
2008-05-16 20:24:57 +00:00
jnemeth
c00c7bde7b regen for Corega LAPCCTXD FastEthernet 2008-05-16 20:21:59 +00:00
jnemeth
277e8636af add Corega LAPCCTXD FastEthernet 2008-05-16 20:21:12 +00:00
martin
795aeb872e Hubert kindly assigned copyright to TNF, so apply the new standard 2 clause
license.
2008-05-16 19:09:10 +00:00
aymeric
4d6922cd09 import nvi 1.81.6 verbatim, untouched from the git tree 2008-05-16 18:03:01 +00:00
atatat
23a609536c The ofmt variable is actually a bit mask (not the character that was
in the format string) so that we can "or" it with the bits in the
formats variable.  This fixes the missing " -> " in front of the real
path (when you use %SR).

Also, the ?: needs another space.
2008-05-16 17:58:33 +00:00
bouyer
e0180214c9 call x86_cpu_idle_init(), avoid null function pointer call (cpu_idle()) when
scheduling starts.
cleanup printfs of vcpu
2008-05-16 17:20:01 +00:00
bouyer
e00df0805b Initialize cpuid_level for Xen too. 2008-05-16 17:18:25 +00:00
chuck
77b3637f18 Disable hostname lookup for ypserv(8) libwrap access control,
as they can cause performance problems while ypserv is blocked
waiting for the DNS to respond.  initially discussed here:

	http://mail-index.netbsd.org/tech-userlevel/2006/11/01/0014.html

This diff is from Doug Needham who found an easy way to get
the desired behavior without having to change libwrap.
2008-05-16 16:41:42 +00:00
tsutsui
04f1cf0315 Fix intr name for irq5. Now both IPL_BIO and IPL_NET are aliases of IPL_VM.
XXX is it better to pass intrname strings to extintr_establish()?
2008-05-16 16:24:17 +00:00
macallan
0c74b4e4a7 struct device * -> device_t 2008-05-16 15:57:21 +00:00
macallan
e3c6619b77 struct device * -> device_t 2008-05-16 15:38:20 +00:00
he
88939bb817 Bump ramdisk size from 500k to 600k to compensate for recent bloat,
probably caused by ifconfig now needing proplib.
2008-05-16 15:16:15 +00:00
hannken
940992e2c0 Remove a bad assertion from last commit.
Non bufcache buffers may have BC_BUSY unset.
2008-05-16 14:08:56 +00:00
tsutsui
73085a8640 Update gcc4-sh3-bz2 entry. 2008-05-16 13:16:25 +00:00
tsutsui
51e440b3e3 Use -fno-loop-optimize rather than -O0 for gcc4-sh3-bz2 hack. 2008-05-16 13:13:00 +00:00
hannken
5d2bff060a Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write.  Call fscow_run() with valid data where possible.

The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.

- Add a flag B_MODIFY to bread(), breada() and breadn().  If set the caller
  intends to modify the buffer returned.

- Always run copy-on-write on buffers returned from ffs_balloc().

- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
  may clear the buffer and runs copy-on-write.  Process possible errors
  from getblk() or fscow_run().  Part of PR kern/38664.

Welcome to 4.99.63

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
2008-05-16 09:21:59 +00:00
hannken
961a5d4bcb Fscow_run() may recurse into itself.
Take care by adding a per-lwp recursion counter.
2008-05-16 09:01:56 +00:00
macallan
e369394198 sprinkle static 2008-05-16 03:49:54 +00:00
macallan
0a9283467c struct device * -> device_t 2008-05-16 03:11:09 +00:00
macallan
b6c6870c6d struct device * -> device_t 2008-05-16 02:41:50 +00:00
rjs
9a9e754190 Enable console on genfb(4). 2008-05-15 23:38:49 +00:00
rjs
89df53fa8e Enable DDB and INET6, remove use of md(4). 2008-05-15 23:36:47 +00:00
chris
f703bee5ef Fix two sizeof(__arraycount()) to not use sizeof when looking up the size
of the array.

This fixes a crash when run on amd phenom under amd64.

Issue reported and inital patch by Paul Goyette.
2008-05-15 23:31:56 +00:00
dyoung
848e7ffe8c In prop_data_create_data(blob, len), if len == 0, allocate no memory
for blob, and leave pd_mutable set to NULL.  In this way, avoid
tripping over the assertion in prop_data_data_nocopy().
2008-05-15 21:23:33 +00:00
sjg
f2c43a72d5 VAR_CMD context is used by conditionals and other purposes, so
actually set VAR_FROM_CMD when appropriate and only skip setting in
VAR_GLOBAL when that flag is set.
2008-05-15 21:05:54 +00:00
macallan
f147f68f57 listen to PMF volume control events
With this volume vontrol via keyboard works on my iBook G4.
2008-05-15 20:11:00 +00:00
macallan
7d61890be8 struct device -> device_t 2008-05-15 19:47:09 +00:00
macallan
f2769c0b12 Let ADB button devices send PMF events instead of pretending to be keyboards. 2008-05-15 19:19:50 +00:00
sjg
db7f6ac403 Disable this for now, VAR_CMD is abused for other purposes... 2008-05-15 18:25:12 +00:00
reinoud
69e96f0544 Introduce new UDF debug class and split rmw strategy debugging prints. 2008-05-15 14:22:40 +00:00
reinoud
1ff90d64ad Add accidently removed lines when i pruned the code for release. Important
update.
2008-05-15 10:57:40 +00:00
jmcneill
4dc263e1b4 ACPICA version 20080514 is out. 2008-05-15 09:51:26 +00:00
reinoud
22fe291e8b Fix missing -s argument. 2008-05-15 07:03:17 +00:00
dyoung
f72063f0c8 Note NSF support. 2008-05-15 04:16:00 +00:00
dyoung
ab6934acf9 Note both my contribution and NSF funding. 2008-05-15 04:03:53 +00:00
christos
dba9c5c1c8 Do the 'bc 25,0,' -> 'bdnz+' conversion automatically 2008-05-15 02:41:26 +00:00
dyoung
2ffdc0a9b6 Cosmetic: s/0/NULL/ 2008-05-15 02:07:57 +00:00
dyoung
9e7ef562d2 Simplify RT_DPRINTF() calls. 2008-05-15 01:33:28 +00:00
dyoung
9fa4982002 Get rid of gre_sosend()'s lwp argument. 2008-05-15 01:30:48 +00:00
nisimura
a63b802fd7 - cut half main.c and have brdsetup.c for cpu/board specifics.
- introduce match() routine to stylise the way to pickup a PCI
  device driver.
- fix tlp.c error in the previous commit.
2008-05-14 23:14:11 +00:00
reinoud
5d5fb047a1 Make rump compile UDF correctly. Note that it won't work though since rump
needs to be compiled with thread support.
2008-05-14 20:13:05 +00:00
dholland
880d196c7a fix typo in error message 2008-05-14 19:32:18 +00:00
dyoung
c288de686c Match printf argument type (uintmax_t) to format string (PRIuMAX). 2008-05-14 19:24:48 +00:00
dholland
0c2366cfe9 Print kernel version string along with the size output, to avoid having
to dig it out manually if installing by version number... and also to
make it somewhat easier to notice up front if one accidentally boots
the wrong test kernel. not like I've ever done that. ;-)

PR kern/38563.
2008-05-14 18:15:41 +00:00
reinoud
4e1e69dd64 Added UDF write support. 2008-05-14 16:52:35 +00:00
reinoud
e979c658c9 Import writing part of the UDF file system making optical media like CD's
and DVD's behave like floppy discs. Writing is supported upto and including
version 2.01; version 2.50 and 2.60 will follow.

Also extending the UDF implementation to support symbolic links and
hardlinks.

Added are the mmcformat(8) tool to format rewritable CD/DVD discs and
newfs_udf(8).

Limitations:
        all operations can be performed on the file system though the
        sheduling is currently optimised for archiving workloads.

        mv(1)/rename(2) is currently only implemented for non-directories.
2008-05-14 16:49:47 +00:00