Commit Graph

177039 Commits

Author SHA1 Message Date
dsl
60ec4ca26f Revert previous - cause grief with .ifdef (foo)
Instead return False for exists(), defined(), make() etc when the
argument has length zero.
2009-01-18 17:30:19 +00:00
he
8279128fee Correct the syntax: .ifndef(RC4_SRCS) -> .if !defined(RC4_SRCS).
Could also have used .ifndef RC4_SRCS.
2009-01-18 16:52:18 +00:00
christos
4d5e83b18e fix debugging build (Wojciech Galazka) 2009-01-18 16:46:12 +00:00
bjh21
e9aeb0583d Adapt the arm32 fusu implementation for use on PROG26 configurations
and use it on acorn26.
2009-01-18 16:42:09 +00:00
christos
5dd7ffdfb6 add compat50 ioctls. 2009-01-18 16:37:19 +00:00
he
0e4798f78e Bump the ramdisk size so that the contents fits again. 2009-01-18 16:29:30 +00:00
bjh21
e5754b08fd Move arch/arm/arm32/fusu.S to arch/arm/arm/fusu.S in preparation for making
it usable on acorn26 as well.
2009-01-18 15:43:20 +00:00
bjh21
30286df7bb Add what I hope is a useful feature whereby, in DIAGNOSTIC builds, trap
handlers leave a useful sentinel value in R14_svc instead of their own
return address.  This should mean that if something causes a trap in SVC
mode without saving R14 first, it'll cause a nice obvious panic rather than
a hang or worse.  Of course, if it's using R14 as a temporary, there may
still be some confusion.
2009-01-18 15:14:34 +00:00
christos
39c9db5df2 turn on PASTE64 to handle large cut-n-paste buffers like the old xterm did. 2009-01-18 14:44:55 +00:00
hans
d4647b05dd Use sed, awk and hexdump from tools to make this work on Solaris. Ok by apb. 2009-01-18 13:55:31 +00:00
hans
7ff8bbb1b3 Not every grep knows -q. Ok by apb. 2009-01-18 13:53:03 +00:00
tnn
f341bbffe8 use %zu to print size_t 2009-01-18 13:30:33 +00:00
he
c2e5f48d9e After the recent time_t and associated changes, COMPAT_ULTRIX now
depends on COMPAT_50.  Make it so.
2009-01-18 13:25:39 +00:00
tnn
8daad4ac39 Fix swedish USB keymap. The apostrophe key was mapped to comma.
(How did this go unnoticed for so many years?)
2009-01-18 12:58:49 +00:00
he
f15a4a6620 Bump the size of ramdisk and diskimages, so that what needs to
be put there still fits.
2009-01-18 12:51:25 +00:00
dsl
bae3fcc0c3 Only terminate a conditional function argument on ')' if we expect the
argument to be exclosed in (...).
'.if exists()' is parsed as '.ifdef exists()' and the ')' must not be
left over at the end.
I have no idea why any of my recent changes have affected this.
But pkgsrc/mk/compiler/gcc.mk (line 488) does .if exists(${FCPATH})
even though FCPATH is only set when the file exists.
2009-01-18 12:50:15 +00:00
he
305b313149 Farm out module tests to module.mi, to accomodate evbppc which
currently does not build modules or module tests.
2009-01-18 12:49:07 +00:00
lukem
c17aaf60c9 WARNS=4 2009-01-18 12:17:49 +00:00
lukem
a06595c27b fix -Wsign-compare issues 2009-01-18 12:14:16 +00:00
lukem
53ff085f8b WARNS=4 2009-01-18 12:13:32 +00:00
lukem
c5eb4ab601 fix -Wsign-compare issues 2009-01-18 11:56:51 +00:00
cegger
d5fc4888bc Bracket IRQ masking around nfe_intr() in nfe_init() rather inside nfe_intr().
Proposed by dyoung@ in PR 40345. Should fix PR 40345.
2009-01-18 11:21:06 +00:00
drochner
fb535ac77e Make mktime(3) work with 64-bit time_t.
The problem is that the tm_year field of "struct tm" is just an "int"
(per POSIX), and thus time_t values >  2^31*60*60*24*365 cannot
be converted. This made mktime(3) fail even if no such large time values
were passed in by user code because the algorithm does a binary search
over the time_t range which fails if a probe value cannot be converted.
To fix this, limit the time_t range to be scanned to 55 bits (which
is a bit on the safe side, but still good until y570855533).
This is more a stopgap fix, the overflow should be checked for
at other places as well (eg localtime(3)), and there are some more
limitations in timezone parsing code.
2009-01-18 10:57:15 +00:00
mrg
5be383f77e Do not erroneously leave a truncated 16-bit sector
count on "large" (>=32MB) file systems when fetching the geometry from
the medium.  This confuses some software (which is to say Windows)
when a device newfs(8)ed under NetBSD is transported to another
system.  (Note: The rest of the code uses 'bsec', and DTRT for smaller
file systems.)

contributed anonymously.
2009-01-18 10:50:56 +00:00
cegger
94a79c95d5 Use aprint_error_dev. Eliminates XNAME macro. 2009-01-18 10:40:40 +00:00
lukem
b118202501 fix -Wsign-compare issues 2009-01-18 10:39:17 +00:00
mrg
71e27a6efb The PCI revision numbers are unique to a PCI vendor/product
ID pair.  Misuse of the revision numbers was causing some of the chip
features to be disabled on some integrated Intel chips.  So, move the
determination of the features into the bus frontend, where the
vendor/product ID is known.  (Note: sc_rev should be removed.  The
microcode patch stuff is also busted and needs to be fixed.)  Also,
poll the actual flow control status in inphy, rather than making
assumptions.

contributed anonymously.
2009-01-18 10:37:03 +00:00
lukem
7e0b2295e7 fix -Wsign-compare issues 2009-01-18 10:35:26 +00:00
mrg
c30587badd Fix multiple problems:
* A sign extension error creating the bridge ID corrupted the
    priority (always making it the maximum).
    * Do not catch STP packets on an interface for which STP is not
    enabled -- it's a violation of the spec, and causes STP to fail on
    neighboring bridges.
    * An optimization to bstp_input() -- some information is already
    known when we call it.

contributed anonymously.
2009-01-18 10:28:55 +00:00
lukem
3cafe960ea fix -Wsign-compare issues 2009-01-18 10:10:47 +00:00
mrg
94ed4b4374 Don't attempt to unload a DRM device that's in use. (Note:
Unloading doesn't work right in any case -- it doesn't clean up the
sysctl tree, among other things.  This code needs Work, but at least
this prevents it crashing randomly due to autounload while X is
running.)  Also, fix the dependency list for radeondrm.

contributed anonymously.
2009-01-18 10:04:35 +00:00
lukem
29f2e1ce01 fix -Wsign-compare issues 2009-01-18 10:01:34 +00:00
mrg
dff35a2418 Enable flow control and poll the status appropriately.
contributed anonymously.
2009-01-18 10:00:51 +00:00
lukem
f5a433a737 fix -Wsign-compare issues 2009-01-18 09:57:26 +00:00
lukem
e7dd2c7514 fix -Wsign-compare issues 2009-01-18 09:46:59 +00:00
mrg
f41b56aff5 Actually enforce the maximum timeout (60s by default) rather
than backing off to 256*SRTT.  This is why it sometimes could take
hours for a NFS mount to come back when the server returned.

contributed anonymously.
2009-01-18 09:45:05 +00:00
taca
6619b4d1ca Fix a typo with /etc/rc.d/lvm. 2009-01-18 08:24:46 +00:00
lukem
c493aef500 fix -Wsign-compare issues 2009-01-18 07:11:45 +00:00
lukem
7e973711c3 fix -Wsign-compare issues. minor knf 2009-01-18 07:08:30 +00:00
lukem
af17a5d8f3 fix -Wsign-compare issues 2009-01-18 07:05:53 +00:00
isaki
d81422fa96 struct device * -> device_t 2009-01-18 05:23:34 +00:00
rmind
d1efa8f729 - Avoid calling sched_catchlwp() if CPUs have different processor-sets.
- sched_takecpu: check for psid earlier (be more strict).

PR/40419.
2009-01-18 05:07:51 +00:00
isaki
34b7dffc11 - malloc() + memset(0) -> malloc(M_ZERO).
- remove temporary variable.
2009-01-18 05:00:39 +00:00
isaki
0a5ccf5143 Delete 10 years old #if 0'd comments in intio.c, locore.s.
According to the old comment, the interrupt handler via intiotrap
should set his interrupt level again, but it's not right.  And
don't set it again by interrupt hander.
2009-01-18 04:48:53 +00:00
tsutsui
45c7e466ca wscons(4) support for cgthree and cgsix have been pulled up to netbsd-5.
XXX1: We have to check all pulled up changes and update CHANGES.prev.
XXX2: We should also check all visible changes that are worth to pullup?
2009-01-18 04:11:38 +00:00
tsutsui
af4a212938 - add more visible changes
- tweak some entries (sort, periods etc.)
2009-01-18 04:02:59 +00:00
lukem
cadac39416 fix -Wsign-compare issues 2009-01-18 03:43:45 +00:00
tsutsui
4459b5fdab I really hate silly hacks inside #ifndef _STANDALONE in libsa sources... 2009-01-18 02:59:02 +00:00
isaki
8ca78cfb4e Clean up header files. 2009-01-18 02:40:05 +00:00
christos
f5c11c0781 Fix struct passwd time fields. From Shin'ichiro TAYA 2009-01-18 01:44:09 +00:00