Commit Graph

169993 Commits

Author SHA1 Message Date
ginsbach
bcd54758b8 Add support for additional locale categories: LC_MESSAGES, LC_MONETARY,
LC_NUMERIC.

The code used to load LC_TIME was refactored in to a more general routine.
This common routine is now used to load LC_TIME along with the newly added
categories.

Changes discussed with/reviewed by christos.
2008-05-17 03:49:54 +00:00
macallan
a4e1a9b84e magic number reduction - no functional change 2008-05-17 02:00:08 +00:00
macallan
266d000a3d struct device * -> device_t 2008-05-17 01:30:48 +00:00
macallan
edc658718f cosmetics:
- finally add my copyright, almost 3 year after the fact
- remove a comment that never applied to the NetBSD port of this driver,
  only the OpenBSD version
2008-05-17 01:00:19 +00:00
macallan
acb1cf42d5 struct device * -> device_t 2008-05-17 00:45:38 +00:00
macallan
f0f02f069c don't map more video memory than we really need 2008-05-17 00:22:31 +00:00
dyoung
d825f046e4 Remove some #ifdef __FreeBSD__ code. 2008-05-16 22:11:51 +00:00
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