Commit Graph

155941 Commits

Author SHA1 Message Date
macallan 5c1aad3ad0 add a quirks entry for the DEC21140 found on UMAX E100 cards 2007-02-09 21:39:38 +00:00
macallan 688135d6b1 - don't call load-ata on PB3400 and similar machines - it occasionally
freaks out when a cardbus device is present.
  enable with options PB3400_CARDBUS_HACK
- add a hack to make the DEC 21140 found on UMAX E100 cards work, for some
  reason OF doesn't see it
  enable with options UMAX_E100_HACK
2007-02-09 21:37:49 +00:00
tron da3cb8f550 Increase the number of raid(4) device node sets to four and the number
of wd(4) device node sets to eight. This fixes another problem
reported in PR port-amd64/35532
2007-02-09 21:17:11 +00:00
macallan 5314457521 gah, stupid typos 2007-02-09 21:15:54 +00:00
macallan a64454b914 pass OF node and if known instance handle as device properties. Needed later
for a generic OpenFirmware framebuffer driver
2007-02-09 21:13:30 +00:00
macallan 94ed04fa15 don't hardcode inverted backlight levels needed on some macppc models 2007-02-09 21:12:00 +00:00
macallan 4909469d5d add a sysctl to turn off tapping to button event translation, same as in
ams
2007-02-09 21:07:37 +00:00
macallan 7044741d2d do a bus reset before looking for devices 2007-02-09 21:06:48 +00:00
hannken f67846b19f Add support for Solaris ufsdump volumes with more than 512*1024 inodes.
Here the bitmaps are written as

	CLRI or BITS with c_count <= 512
	ADDR* for the remaining blocks

Remove the bitmap handling from getfile(), remove xtrmap() and xtrmapskip().
Add new function getbitmap() modeled after getfile() that does bitmap
allocation, bitmap expansion and sets maxino.

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
2007-02-09 09:36:02 +00:00
pooka b2668f252f honor B_ASYNC 2007-02-09 08:53:51 +00:00
pooka 95700e9a12 assign value for strategy output parameter b_resid instead of decreasing it 2007-02-09 08:15:41 +00:00
hubertf 82105ff74f Make the output of 'list -n' aligned by always printing 8 hex digits.
Suggested by Nicolas Joly <njoly@pasteur.fr> in private mail.
2007-02-08 23:27:07 +00:00
pooka 692448474d If the file server doesn't support write, don't use genfs_null_putpages
for putpages, as it assumes a vnode doesn't have any pages.  For
mounts using the page cache this is simply not true.  Rather,
prevent opening a regular file in write-mode.  That way a vnode
can never have dirty pages which would need to be flushed (i.e.
written).
2007-02-08 22:55:06 +00:00
dillo d096538b4a Fix typo. 2007-02-08 22:27:20 +00:00
drochner 628f1591c1 include <signal.h> where signal(3) is used 2007-02-08 21:36:58 +00:00
dbj c888080e0e add some missing .debug files for acpidump, smldb, srtconfig
also fix my previous botch on lfs_cleanerd.debug moving
from /usr/libexec to /libexec
2007-02-08 20:42:51 +00:00
jdc 220cbf1395 First steps for working wscons on sun-4 class machines - recognise the
console keyboard and mouse on them.

We are not there yet because currently both wsdisplay and zstty assume
that they are the console.  On sun-4, zstty wins because it attaches
last and overwrites the console device that wscons had set previously.
2007-02-08 20:36:55 +00:00
jdc 3cb2b40395 Clarify the console checking comment. 2007-02-08 20:30:50 +00:00
ad ab38c1f30e Add a quick hack to allow addressing over 2G sectors. XXX This driver
needs to be rewritten to use the scsipi layer. Additionally:

- Missing copyright years: 2000, 2001, 2002, 2003
- Missing attribution: Andrew Doran and Jason R. Thorpe
2007-02-08 18:47:21 +00:00
elad 5a6bb5eba2 remove empty line 2007-02-08 16:06:58 +00:00
tnozaki a7bd6df304 backout rev1.3's change, this broke cp932 -> eucjp-ms conversion. 2007-02-08 15:48:18 +00:00
perry 851b2b6abe Add a missing "can". Update date. 2007-02-08 13:32:53 +00:00
njoly 8fbf55addb Regen (aliases cleanup). 2007-02-08 12:32:17 +00:00
njoly fb1562ae0f Remove some aliases, for syscalls that use their netbsd32 equivalent.
This makes the ktrace output more consistent.

ok by manu.
2007-02-08 12:29:39 +00:00
dillo 8f94021d97 Mark up function arguments with .Fa, not .Fn; also, fix typo in
function argument.
2007-02-08 08:04:00 +00:00
elad 4a0f293388 revert previouses 2007-02-08 05:54:25 +00:00
junyoung 9641e3f094 ANSIfy. 2007-02-08 05:44:18 +00:00
pooka f7a084b3b0 Nm the manual puffs instead of libpuffs 2007-02-08 05:24:36 +00:00
pooka 82b88def96 chuq shone arcane wisdom on me: b_bcount comes in, b_resid goes out 2007-02-08 05:09:25 +00:00
junyoung 19690e9aea Nuke __P. 2007-02-08 05:07:23 +00:00
pooka b7a2d4ecbb Don't block and wait for file server response in case strategy is
run in pagedaemon context: it gives the file server way more control
over the fate of the entire kernel than what we're comfortable with.
2007-02-08 04:52:23 +00:00
elad d261ef686a Plug leak "that can never happen". 2007-02-08 04:22:27 +00:00
tls 4977bdb149 Remove 'l'. Those who do not learn from history are doomed to repeat it. 2007-02-08 03:57:53 +00:00
riz 35ed82b748 Add disk-info properties to ld(4), based on Jason Thorpe's similar
code in wd(4).

OK ad, cube
2007-02-08 03:19:42 +00:00
elad d1a83ca2d5 Add a comment indicating why this program is installed 0550, as suggested
by christos@. The comment reads:

	# This program is set 0550 because, as security(8) states, it has
	# the potential to deplete kernel memory, under certain conditions.
2007-02-08 02:59:51 +00:00
elad db9dbd11ac Install paxctl(8) as 0550. 2007-02-08 02:25:44 +00:00
elad 83ec1c0544 Better intro to exploit mitigation features, also add a TOC for it. 2007-02-08 00:38:27 +00:00
elad 24d02b5648 style nit 2007-02-08 00:26:50 +00:00
tls d8ec0012f2 fix bug 2007-02-07 22:17:46 +00:00
tls de788b88f5 Many users needlessly maintain the alias 'l' (or 'll') for 'ls -l'. We
should ease the burden on our users and supply a default system which is
modern and has a full complement of the features they expect (or even some
they don't -- more features don't hurt any one after all).

Suggested by perry@ in <87wt2uxhbx.fsf@snark.piermont.com> and submitted
for discussion to some NetBSD developers, who suggested that rather than
my own idiosyncratic 'll', 'l' was a much better name.

It may prove possible to merge this code with 'ls' in the future.
2007-02-07 21:56:07 +00:00
tls d6cabf29ac Initial import of colorls to add 'l' functionality to system. 2007-02-07 21:43:44 +00:00
oster 5422c82afe Add "local" versions of getnetgrent() et al. and now call those for the NIS
versions.  Fix conditional compilation issues with YP and NSS_FILES.
2007-02-07 19:12:44 +00:00
rmind ea2709ce49 PR/28458: shmat(2) shmaddr argument is not honored as intended.
Patch applied, thanks for Minoura Makoto.

Please note, that one should fail if cannot attach to shmaddr,
but not attach it to other place.

OK by uwe@
2007-02-07 18:45:36 +00:00
cbiere d5ed210dc4 Use '-o' instead of '-or' for find, the latter is a non-portable extension.
Reported by Raymond Meyer.
2007-02-07 17:49:23 +00:00
drochner 10527a675c regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-07 16:52:31 +00:00
njoly 835e659d6b Regen (poll argument fix). 2007-02-07 15:35:00 +00:00
njoly 398ec1833a Use netbsd32_pollfdp_t instead of wrong `struct pollfd *'.
ok by manu.
2007-02-07 15:32:52 +00:00
hubertf 79b63fa656 #include inttypes.h, for strtoimax(3).
Suggested by Slava Semushin <slava.semushin@gmail.com> in private email.
2007-02-07 15:21:21 +00:00
rmind 6357560bab Add rmind@ 2007-02-07 15:17:01 +00:00
hubertf 6df5e55489 Remove unused ctype.h header.
Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
2007-02-07 14:20:58 +00:00