Commit Graph

186814 Commits

Author SHA1 Message Date
dholland
692ddffe3a Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595.
Merged by yours truly as the set of configs has changed quite a bit since
the PR was filed in 2003, and I may have missed some stuff. These changes
should probably be merged into other arches' configs; I'm not going to do
that now though.
2010-01-03 03:50:38 +00:00
mjacob
bdfad64a07 Add some more definitions appropriate for T10 standards
and use those cleaned up definitions.

Use 2100 style firmware loading if the load address and
load size is less than 64k. Some apparently buggy ROMs
out there choke otherwise.

Clean up some WWNN derivations from WWPN.
2010-01-03 02:47:09 +00:00
mlelstv
0ca557be77 Pools are created way before the pool subsystem mutexes are
initialized.

Ignore also pool_allocator_lock while the system is in cold state.

When the system has left cold state, uvm_init() should have
also initialized the pool subsystem and the mutexes are
ready to use.
2010-01-03 01:07:19 +00:00
dsl
23ee525d3d Change most of the variables that hold disk sector number to be (at least)
uint32_t. Might make sysinst work on disks between 1TB and 2TB.
Not actually tested because I don't have a big disk.
Hopefully I haven't broken the small disk case!
Set WARNS= 4 so that comparisons of signed and unsigned block numbers
are trapped.
2010-01-02 21:16:46 +00:00
dsl
7dd4a9773c Fix another couple of signed v unsigned comparisons of disk block numbers. 2010-01-02 20:54:46 +00:00
christos
321813557d nothing uses ne2000_power anymore. 2010-01-02 19:27:41 +00:00
pgoyette
4e1c0f753c Flags for existence of limit values need to be propagated to the
event data.  Otherwise, they're not processed.

XXX This needs to be rethought.  While fixing it this way makes things
XXX "work", we really shouldn't need to replicate these flags.  The
XXX limits and their flags should be kept as part of the sensor data,
XXX and not part of the event-monitor data.  I'll work on this in the
XXX near future.
2010-01-02 19:02:39 +00:00
dsl
8f503a6d66 Fix some of the sign-compare fubar. 2010-01-02 18:06:57 +00:00
dsl
6b52b2b9be Sanitise whitespace to minimise the differences between these files. 2010-01-02 17:15:07 +00:00
dsl
99db72360c Remove some sign compare warnings. 2010-01-02 16:08:20 +00:00
mlelstv
d5c1a554d8 Move initialization of pool_allocator_lock before its first use.
This failed on archs where a mutex isn't initialized to a zero
value.

Defer allocation of pool log to the logging action, if allocation
fails, it will be retried the next time something is logged.

Clear pool log on allocation so that ddb doesn't crash when showing
so far unused log entries.
2010-01-02 15:20:39 +00:00
tsutsui
9d6449710b Update default TOD value to 2010/01/01 12:00:00. 2010-01-02 10:57:35 +00:00
tsutsui
47ef4e54e9 Include "nbtool_config.h" for src/tools/zic/ and
remove bogus -DNOID to disable __RCSID().

XXX: should we also remove #ifndef lint from scheck.c and zic.c?
2010-01-02 10:42:49 +00:00
he
aca24a5f7f Remove a shadowed and unused local declaration so that this builds again. 2010-01-02 07:53:29 +00:00
tsutsui
ec5b1733ef No need to install /usr/share/zoneinfo into miniroot
because libc functions in libhack doesn't require it and
zoneinfo files seem to get larger since tzcode2009k import.
(due to 64bit time_t support?)

Briefly tested sysinst on sparc miniroot.
2010-01-02 06:46:09 +00:00
tsutsui
48a350b252 Remove LIBS -lz which is already in distrib/miniroot/list. 2010-01-02 06:39:00 +00:00
tsutsui
2087c24e30 Remove -ledit and -lmagic from LIBS.
No program requires -ledit in crunched SMALLPROG case, and
miniroot doesn't have /usr/bin/file which requires -lmagic.
(sparc had it but it was removed in distrib/sparc/miniroot/list rev 1.29)
2010-01-02 06:37:28 +00:00
tsutsui
7a44913b3f Fix botches in mechanical changes to make this compile:
dbri.c:165: warning: 'dbri_sus' declared 'static' but never defined
dbri.c: In function 'dbri_resume':
dbri.c:2188: error: 'sc' undeclared
dbri.c:2189: error: break statement not within loop or switch
2010-01-02 04:12:07 +00:00
christos
0fbbcee76f make rhis compile. 2010-01-02 02:37:08 +00:00
christos
641f5484f1 convert to pmf 2010-01-02 01:42:49 +00:00
dholland
5fc5137232 add rcsid 2010-01-01 22:12:19 +00:00
wiz
2afd9d4a18 Bump date for cd -P support. 2010-01-01 21:46:31 +00:00
wiz
31ac57e452 Fix previous: Dd argument and lost Em markup. 2010-01-01 21:44:07 +00:00
mbalmer
acf41ffe98 fold long lines. 2010-01-01 21:26:18 +00:00
dholland
c281fbb701 POSIX says realpath(NULL, foo) is supposed to yield EINVAL rather than
being allowed to crash. Go figure. Closes PR lib/42559 from Stathis Kamperis.
2010-01-01 19:59:21 +00:00
dholland
a5ced5a04b fix another typo 2010-01-01 19:51:19 +00:00
dholland
cd0a6973f8 Make the cd builtin accept and ignore -P, which is a kshism that has been
allowed to leak into POSIX and selects the behavior cd already implements.
Closes PR bin/42557 and also relevant to PR pkg/42168.

I suppose this should probably be pulled up to both -4 and -5...
2010-01-01 19:34:59 +00:00
dholland
87e87a1f8c fix typo 2010-01-01 18:09:16 +00:00
pgoyette
390d022573 Don't set sensor state to SWARNOVER here. Doing so based only on the
device's active cooling levels prevents the user from overriding these
limits with his own values.

XXX We should probably also change setting SCRITOVER state to SCRITICAL,
XXX but right now that just confuses things.  We currently don't have a
XXX way for a sensor to be both SCRITICAL and SCRITOVER.
2010-01-01 15:55:30 +00:00
pgoyette
7317e028e7 Explicitly inform envsys that the driver is capable of doing its own
limit checking at initialization time.  Later on, if user specifics any
unsupported limits, the driver will relinquish this task.
2010-01-01 15:43:49 +00:00
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