Commit Graph

196127 Commits

Author SHA1 Message Date
dholland
ad5f4cbc2e Maybe fix a problem that appeared on loonix. 2010-12-25 20:46:18 +00:00
christos
5743e2a045 fix debugging:
- don't print junk for the interface name
- parse and print known rtm messages we get
2010-12-25 20:45:49 +00:00
christos
d5760f00f3 merge the length getting code from rt_msg1 and rt_msg2 and make it fail
when the compatibility ifinfo is missing instead of returning junk.
2010-12-25 20:37:44 +00:00
dholland
f8d6aa2c68 Many C libraries don't set errno when malloc fails, so always use
strerror(ENOMEM).
2010-12-25 20:35:25 +00:00
dholland
305d151446 Improve confusing error message when getcwd() fails. 2010-12-25 20:34:08 +00:00
joerg
570bc97f41 Include nbtool_config.h for the toolchain build as platforms like Linux
don't define __RCSID.
2010-12-25 19:24:28 +00:00
joerg
762325586d If MKREPRO, transform ${NETBSDSRCDIR} to /usr/src and ${DESTDIR} to /
for the purpose of the C preprocessor.  This avoids leaking the source
path into the final binaries.
2010-12-25 18:56:44 +00:00
christos
9f5adb9583 fix type-punned warnings on gcc-3.3.3 2010-12-25 18:23:39 +00:00
dholland
e05b408d55 Uses stat; needs sys/stat.h. No idea what's pulling it in implicitly on
NetBSD so I didn't notice. Woops. Noted by Kurt Schreiner on current-users.
2010-12-25 17:19:04 +00:00
jmcneill
b8d8357d86 add /dev/video, /dev/video0 2010-12-25 16:49:08 +00:00
tsutsui
5e318e5c0b Fix one more typo that affects x68k with 040/060.
I hope this is the last one...
2010-12-25 16:37:22 +00:00
tsutsui
43093475a8 Put somehow missed code part in rev 1.36:
> Allocate lwp0upa (PA of lwp0 uarea) right after kernel rather than
> between other page tables to use different mappings for ste/pte pages
> as well as amiga and atari.  Should resolve XXX comments in next68k and x68k.
2010-12-25 16:14:44 +00:00
tsutsui
5c6a12d86b Fix another fatal typo. sigh. 2010-12-25 16:11:11 +00:00
tsutsui
add2bb1590 Fix harmless pasto and tweak some comments. 2010-12-25 15:29:34 +00:00
wiz
afc1680ec2 Add missing semicolon. 2010-12-25 15:27:08 +00:00
christos
f2fd5dbad4 Fix non-threads compatibility code which was causing trouble even in the
threaded version.
2010-12-25 15:26:32 +00:00
tsutsui
112ef494fa Make sure MAXADDR is unsigned otherwise it could be mangled in shift ops
and causes silent hang on bootstrap.  Analyzed on HP9000/362 I get today,
but I'm not sure how 040 lkptpa code has worked on my HP382...
2010-12-25 15:05:22 +00:00
tsutsui
ab1f939a01 Fix fatal typo and pasted lines slipped in the last December
that prevent 68030 machines boot on these ports.
(only hp300 and mvme68k have supported 030 models)

Sorry for so long breakage.
2010-12-25 14:42:59 +00:00
christos
8ac898131d Don't crash on old kernels that don't have the new per cpu counters. 2010-12-25 14:18:37 +00:00
jmcneill
8dbd7a44d7 add USB interface assoc descriptor (IAD) info 2010-12-25 14:06:14 +00:00
wiz
9c2f1d3be9 mdocml-1.10.8 out. 2010-12-25 12:12:49 +00:00
macallan
b5ede66651 remove some ancient, unused debug code 2010-12-25 11:51:21 +00:00
blymn
bcc3426f98 Little bit more debug information. 2010-12-25 10:08:20 +00:00
blymn
58f5b3b32b Ignore request to change the values of colour pair 0
Explicitly set foreground and/or background colours when -1 is passed
to assume_default_colors()
2010-12-25 10:05:08 +00:00
blymn
0ddf818977 Allow attributes to be applied to the default line drawing characters
by just passing attributes as arguments to the wborder call.
2010-12-25 09:59:52 +00:00
dholland
3f9d98c828 Begin cleanup of the make parser: separate out the logic for reading files
from the parsing goo. This will now use mmap for reading if it works and
fall back to read only for pipes and such. Step 1 of a cleanup program
proposed without objection on tech-toolchain.
2010-12-25 04:57:07 +00:00
macallan
6daafbee01 there is no R128_LITTLE_ENDIAN_EN flag, just lack of R128_HOST_BIG_ENDIAN_EN
Someone(tm) needs to test this on little endian hw
2010-12-25 03:29:08 +00:00
pgoyette
b1084f5b5e Correctly added the conditional part, but now need to remove the original
unconditional part.
2010-12-25 01:25:37 +00:00
pgoyette
dcfc8e943b Don't include the siginfo tests unless we actually have siginfo ability! 2010-12-25 01:22:02 +00:00
pgoyette
f28bd1fe2e Don't descend into siginfo - it's not there any more 2010-12-25 01:20:11 +00:00
jakllsch
8e2d08248c Use printf format macros for long longs. 2010-12-25 01:19:33 +00:00
jakllsch
fbe9cca8ce Correct recently exposed printf format problem. 2010-12-25 01:08:44 +00:00
pgoyette
0352bad5fd The siginfo tests have migrated to atf in src/tests/lib/libc/gen/ 2010-12-25 01:08:36 +00:00
pgoyette
de2970929a Move the siginfo tests from regress to atf. While here, add a new test
for PR/43655.

XXX The sigchild_dump test currently fails when execute under atf-run.
XXX It does not fail when executed directly from the shell, so there's
XXX something in atf that prevents the child process from dumping.
2010-12-25 01:04:26 +00:00
enami
d5a41b7133 We still need to update ouvmexp to output the differene from
previous iteration.
2010-12-24 23:39:19 +00:00
christos
60b2c79645 remove typo. 2010-12-24 23:28:14 +00:00
christos
cf91bdd313 update for new yacc. 2010-12-24 23:27:14 +00:00
christos
62010e9c69 panic takes a printf format too. 2010-12-24 23:12:28 +00:00
jmcneill
df0c38f693 VIDIOC_QUERYCAP changes:
- use driver name instead of device instance name in 'driver' field
 - add 'get_businfo' callback to fill in 'bus_info' field instead of
   hard-coding "USB"
 - use the kernel version for the 'version' field instead of 1
 - adapt pseye and uvideo drivers to changes in struct video_hw_if
2010-12-24 20:54:28 +00:00
jmcneill
3709bb6a65 fill audio_info.config with the string "usb:<cookie>" instead of "uaudio",
where <cookie> comes from the usbd device handle:

  $ audioctl -d /dev/sound1 config
  config=usb:00000009

this can be used by software to find the audio device(s) associated with a
USB video capture device
2010-12-24 20:49:55 +00:00
jakllsch
2ce4dfd602 Sprinkle daddr_t. 2010-12-24 20:40:42 +00:00
jakllsch
88846082f0 Sprinkle daddr_t.
Adjust DISK_DEBUG printf formats to match.
2010-12-24 20:36:51 +00:00
jmcneill
776cfb0f19 regen 2010-12-24 19:22:37 +00:00
jmcneill
ecbb28a500 add Hauppauge WinTV USB2 FM 2010-12-24 19:22:17 +00:00
mlelstv
54461fde8d dm(4): Make LVM use non 512-byte sector devices. 2010-12-24 18:58:17 +00:00
phx
3f738cfb54 Establishing an UMTS connection with ubsa(4) works fine with my Pismo,
so add it to our config.
2010-12-24 17:05:34 +00:00
haad
8f7b707f59 libzfs_fru_clear was not ported to NetBSD disable it foor now. 2010-12-24 16:13:58 +00:00
skrll
9fbd9438eb #include "opt_lockdebug.h" 2010-12-24 16:03:54 +00:00
skrll
05364009f0 LOCKDEBUG is not referenced in this file anymore. 2010-12-24 16:00:13 +00:00
christos
6ef213c85c restore lost overlow check fix. 2010-12-24 15:47:39 +00:00