Commit Graph

186834 Commits

Author SHA1 Message Date
pgoyette
801c007d68 Don't infer a sensor driver's ability to handle limit checking itself. 2010-01-01 15:41:25 +00:00
wiz
4f6260c6a1 New sentence, new line. 2010-01-01 11:45:34 +00:00
mrg
1da37d69d1 remove wrong if 0ed code 2010-01-01 08:00:02 +00:00
dholland
da0f6356ae Adjust SYNOPSIS for cfscores to better match reality. Note in BUGS
that the score file isn't portable. Bump date (first time since 1993,
and first in 2010...)
2010-01-01 07:35:09 +00:00
dholland
381a1804f4 Split struct betinfo into its own header file so it can be shared
between canfield and cfscores, instead of copy-pasted.
2010-01-01 06:37:15 +00:00
dholland
97ebabce84 Use NULL instead of 0 for pointer tests. Remove an unnecessary cast. 2010-01-01 06:31:18 +00:00
dholland
93abe19853 Send error messages to stderr. Use errx/warnx, not printf. 2010-01-01 06:20:45 +00:00
dholland
07673b8c8a Correct usage message. 2010-01-01 06:16:36 +00:00
matt
e34524fa00 Don't allow a symbol + offset in a merge section to translated to a
.section + offset reference if offset is negative.
2010-01-01 06:12:55 +00:00
dholland
a4ce70f1ad typo in comment 2010-01-01 03:22:13 +00:00
christos
84779d00a4 If the open fails, don't call fstat, because this changes the errno to EINVAL
from eg. ENOENT.
2010-01-01 03:18:27 +00:00
uebayasi
5d65495c8f Sprinkle assertions after calling pmap_get_l2_bucket(). 2010-01-01 02:32:28 +00:00
dholland
f74d700f40 Fix math notation, from PR 41547. While here, fix some potential tab
damage in the same fortune.
2010-01-01 00:16:54 +00:00
jnemeth
590b8b7018 Welcome to 2010.
Don't forget to update copyright notices when you add new code.
2009-12-31 23:59:02 +00:00
mlelstv
d833c9628b mention tzcode update 2009-12-31 22:54:40 +00:00
mlelstv
86162a51cc Import tzcode2009k.
- now understands 64bit time_t and 64bit data in timezone files.
- localtime(), gmtime(), asctime() and ctime() may now fail with
  a NULL result if time_t cannot be represented by struct tm.
2009-12-31 22:49:15 +00:00
wiz
e68a42515b Bump date for gid_range. 2009-12-31 20:14:19 +00:00
christos
44768c61d0 put nuidhash_max in a file that is shared between server and client code. 2009-12-31 20:01:33 +00:00
mlelstv
6ee63fe8b0 Add new keyword gid_range to usermgmt.conf which specifies a default
GID range for groupadd(8).
2009-12-31 19:59:31 +00:00
christos
3506b644ed handle the nuidhash_max lossage differently 2009-12-31 19:38:16 +00:00
christos
41b6684af0 appease gcc. 2009-12-31 19:31:31 +00:00
christos
30da2a8fa7 nuidhash_max is needed by sys_nfssvc 2009-12-31 19:30:45 +00:00
uebayasi
950df2c49d Use pmap_is_current() where appropriate. No functional changes. 2009-12-31 18:34:56 +00:00
christos
4168f34493 expose the encode and decode string functions for the benefit of history
and readline.
2009-12-31 18:32:37 +00:00
christos
8cfe483422 Fix compilation issue with time_t 2009-12-31 16:04:32 +00:00
uebayasi
fd4a9e70d7 pmap_page_remove(): remove an unused local variable; no functional changes. 2009-12-31 16:00:53 +00:00
christos
dc8498bec8 - Document and enable wide character support.
- Fix read function compatibility.
2009-12-31 15:58:26 +00:00
tsutsui
58544b9012 Don't use DEV_BSIZE for LABELSECTOR.
We have never supported 256byte/sector media, and
current definition won't work on >512byte/sector media.
2009-12-31 15:42:46 +00:00
freza
8d5aeaedb5 Remove unused variable, makes VIRTEX_* kernels compile again. 2009-12-31 13:10:46 +00:00
jruoho
44a36c99e4 As the _PSW control method was deprecated in ACPI 3.0, augment the wake
event call with the newer _DSW control method.

ok pgoyette@, jmcneill@
2009-12-31 10:12:51 +00:00
jruoho
0cd8dc4d78 Remove unused locking variables.
ok pgoyette@, jmcneill@
2009-12-31 10:07:13 +00:00
jruoho
7baf4db1ca Add Intel HW Random Number Generator to the list of ignored HIDs.
ok pgoyette@, jmcneill@
2009-12-31 10:02:51 +00:00
macallan
608f7f5569 add WSDISPLAY_TYPE_XVR1000 2009-12-31 05:08:05 +00:00
uebayasi
979a25a17e Correct assertions for PMAP_CACHE_VIPT code; if page coloring is disabled
(arm_cache_prefer_mask == 0), pvh_attrs has never PVF_COLORED, so don't assert
it.  No functional changes.
2009-12-31 02:36:14 +00:00
elad
a0c694197e Tiny cosmetics... 2009-12-31 02:20:36 +00:00
jym
df07ada91c Use banner() instead of amd64's custom use of printf's for copyright
notice and total/available memory.
2009-12-31 01:11:28 +00:00
christos
0b9ae3fdf0 Fix wide build, test it, but don't turn it on yet. 2009-12-30 23:54:52 +00:00
rmind
ac4dea4ab5 - nextlwp: do not set l_cpu, it should be returned correct (add assert).
- resched_cpu: avoid double set of ci.
2009-12-30 23:54:30 +00:00
rmind
65265dedb7 sched_catchlwp: fix the case when other CPU might see curlwp->l_cpu != curcpu()
while LWP is finishing context switch.  Should fix PR/42539, tested by martin@.
2009-12-30 23:49:59 +00:00
jakllsch
ded5c676f3 The Dell DRAC5 gives us a zero-length report immediately following
a normal report.  Thus, ignore zero-length reports.  Move some related
report size insanity checking into the UHIDEV_DEBUG case.

Should fix PR/39911.
2009-12-30 23:42:22 +00:00
rmind
ffb9a7ee3c sigactsunshare(): set reference count in a case of new sigacts allocation.
Bug (e.g. memory leak) can happen when using clone(2) call.
2009-12-30 23:31:56 +00:00
elad
2faaca9342 Collapse identical switch cases. 2009-12-30 23:23:58 +00:00
christos
34e53048e6 Wide character support (UTF-8) from Johny Mattsson; currently disabled. 2009-12-30 22:37:40 +00:00
elad
097059fb23 Don't bother caching egid. It'll be removed soon. 2009-12-30 22:12:12 +00:00
jdc
8d1bdbfc44 Check for "ssp-console" and "ssp-control" properties.
If we find them, set the baud rate to 115200.
This allows the RSC to be the console on an E250:

  sab1 at ebus0 addr 200000-20007f ipl 35: rev 3.2
  sabtty2 at sab1 port 0: console i/o
  sabtty3 at sab1 port 1

XXX; We should really check the baud rate properties and use those to set
our rates.
2009-12-30 21:03:48 +00:00
abs
6861006e58 Add note on SHLIB_{MAJOR,MINOR,TEENY} 2009-12-30 20:45:46 +00:00
jakllsch
d1721822b6 Apply patch from Matthias Pfaller in PR/42546.
The USB HUT v1.11 document states that:
    "Typical system software will search for application
     collections tagged with either a Mouse or a Pointer usage."

This patch adjusts ums(4) to match not only on
the Mouse usage, but also on the Pointer usage.
2009-12-30 20:38:47 +00:00
nakayama
06bf4e5faa It seems that accessing to a PCI configration space where devices
are unavailable causes data_access_error trap.  We need to check a
validity of OF node embeded in pcitag to avoid the trap.

Fixes PR port-sparc64/42545.
2009-12-30 20:20:56 +00:00
elad
579013ded4 Replace uidinfo.h with kauth.h, should fix problems observed by tron@. 2009-12-30 19:47:15 +00:00
elad
d4b368687f Turn PA_INITIALIZED to a reference count for the pool allocator, and once
it drops to zero destroy the mutex we initialize. This fixes the problem
mentioned in

	http://mail-index.netbsd.org/tech-kern/2009/12/28/msg006727.html

Also remove pa_flags now that it's no longer needed.

Idea from matt@, okay matt@.
2009-12-30 18:57:16 +00:00