Commit Graph

143463 Commits

Author SHA1 Message Date
gdamore
d8b2de51a1 Add a bus_space that makes use of wired TLB entries, as required for PCI,
PCMCIA, and perhaps other devices on Alchemy parts.

Closes PR port-evbmips/32298
Reviewed as part of PCI changes by matt@, izumi@, and probably also simonb@.

This implementation has been tested seperately with my PCI code.  This commit
does not add the necessary changes to configuration files to include this in
current configurations yet, as I intend to add that when I add the
multi-platform configuration support for evbmips/alchemy (which will be
required for PCI anyway.)
2006-02-06 03:07:44 +00:00
christos
404831da9c PR/17441: John F. Woods: integer sysctl does not accept numbers > 0x7fffffff
Use unsigned int in the range comparison, and use strerror() instead of
home brewed error strings.
2006-02-05 22:42:55 +00:00
wiz
a61192818a Fix SEE ALSO section, use .An; new sentence, new line. 2006-02-05 18:45:39 +00:00
xtraeme
2d45c66ceb Add a pbms(4) manpage. Remove it from the source code and update TODO. 2006-02-05 18:38:34 +00:00
christos
10f46d2f47 mention pbms 2006-02-05 18:30:52 +00:00
jmmv
c799a9c4c0 Style fixes:
- Use EXIT_SUCCESS/EXIT_FAILURE where appropriate.
- Cut long lines.
- Properly indent continuation of lines.
- Sort includes.
- Replace u_int with unsigned int.
- Remove parenthesis around return values.
- Add blank line at the beginning of functions without local parameters.
- Cast *printf calls to void.
2006-02-05 18:11:46 +00:00
christos
fb038910ea glue for powerbook mouse. 2006-02-05 18:10:57 +00:00
christos
8d7d99b57c powerbook 15" mouse driver from Johan Wallen. 2006-02-05 18:06:50 +00:00
jmmv
2df378f966 Fix two pastos in the code to set 'samplerate'. 2006-02-05 17:45:06 +00:00
jdc
b7f0401ba9 Handle both background character and background attribute. 2006-02-05 17:39:52 +00:00
jmmv
8b589aee17 Add support to automatically repeat mouse button events in wsmouse(4) and
change wsconsctl(4) so that this is configurable.

This is specially useful for mice that provide page up/down buttons instead
of a real wheel and that do not send events repeatedly from the hardware.
(E.g.: Logitech Marble Mouse.)

No objections in tech-kern@.
2006-02-05 17:38:33 +00:00
jdc
f4948e6f66 Curses_insert has been split into curses_insertch and curses_insertln for
a while now.  Adjust names to suit.
2006-02-05 17:07:13 +00:00
jmmv
f1b65bb01b Revert previous; Multiboot makes no sense in Xen. Pointed out by bouyer@. 2006-02-05 17:06:38 +00:00
jdc
b3fed27d5d Use the background attributes for the background when inserting characters. 2006-02-05 17:04:46 +00:00
rpaulo
be72809857 Add preliminary/not tested support for IPv6. 2006-02-05 16:44:55 +00:00
christos
09ea4dc5be mention new am-utils 2006-02-05 16:30:33 +00:00
christos
845c1702ec bump libamu 2006-02-05 16:29:27 +00:00
christos
a04e414992 update to 6.1.3; bump library version 2006-02-05 16:29:00 +00:00
christos
a58881f52e resolve conflicts 2006-02-05 16:28:55 +00:00
christos
25010febb3 Import am-utils; changes in ChangeLog.
Summary:
  - bound string operations
  - better detection of filesystem names
  - pawd call now gets the resolved directory in the rpc

All our local changes have been submitted and incorporated.
2006-02-05 16:12:04 +00:00
jmmv
9f3be9d257 Enable Multiboot support by default since this kernel is the one to most
likely benefit from this feature.  Per anonymous suggestion in my blog.
2006-02-05 15:39:20 +00:00
christos
d8d9c20820 pass WARNS=4 2006-02-05 14:11:18 +00:00
christos
f3d0b6c690 PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it
is not open from the child process. While I am here:
- KNF, pass lint.
- Fix a bug where the outer loop index was re-used in the inner loop.
- Check the return code of wait.
2006-02-05 14:03:46 +00:00
dsl
0283f98333 Match changes to vmstat.c (splitting of dkreadstats).
Read tape stats if there are no disks found - is this possible?
2006-02-05 09:58:39 +00:00
dsl
228802f437 Split dkreadstats() into dkreadstats(), tkreadstats() and cpureadstats().
Similarly for dkswap().
Allows code to only call one of these.
Rename struct _disk to _vminfo to be nearer its contents.
Change 'systat vm' so that it always shows the 'current' cpu times, even
after ':run' or ':boot' commands. The code in vmstat.c doesn't support :run.
2006-02-05 09:54:50 +00:00
dsl
a6843277e3 Rename 'cur' to 'name' to avoid aliasing a global - this code has some
horrid globals...
2006-02-05 08:51:03 +00:00
ross
b8bbfca272 Don't do DIAGASSERT against NULL if _KERNEL This puts us back to
kernel behavior before src/common where 0 was a valid dest addr.

This should fix the macppc (and other OEA ppc) silent-death-on-DIAGNOSTIC
issue, and possibly other DIAGNOSTIC failures.

XXX it might be worth thinking about an API where 0 is allowed in
documented cases and not allowed otherwise.
2006-02-05 06:47:48 +00:00
xtraeme
fd8cfc5edb Add missing $NetBSD$ tags and __KERNEL_RCSID(). 2006-02-05 06:03:26 +00:00
mrg
9ceed4147f these configs have not been used for years. (in reality, the machine
splode is now more like the POWEROFSEVEN config.)
2006-02-05 05:47:17 +00:00
xtraeme
0511c26dfa openpam_dynamic(): add missing '/' between OPENPAM_MODULES_DIR and
the pam's name module, otherwise it will try to load the module as:

"/usr/lib/security<pam_module>"

Before christos' update we were using PAM_SOPREFIX = "/usr/lib/security/"
with the last '/', now we aren't. So be SAFE and add it to avoid
future problems.
2006-02-05 05:39:49 +00:00
cube
6ff13154dd Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
christos
533ea3e770 new openpam 2006-02-05 02:41:11 +00:00
christos
e531452f6f define where the dynamic modules go. 2006-02-05 02:38:25 +00:00
christos
aad78462b6 resolve conflicts 2006-02-05 02:37:45 +00:00
christos
70d3347b2d Import figwort: for changes read the HISTORY file. 2006-02-05 02:32:33 +00:00
uwe
0fc70b4831 Add bswap16.c and bswap32.c to SRCS. We need fallback versions for
kernels compiled without optimization (and thus without inlining of
bswap16 and bswap32)
2006-02-04 23:33:37 +00:00
dyoung
e46f0f4008 In rtw_{rx,tx}ring_fixup, do not set the tx/rx ring index to
something out of bounds if we read an invalid pointer form the
hardware.  Prevents a panic when an rtw@cardbus is ejected.
2006-02-04 23:22:27 +00:00
reinoud
979954f179 VND and harddiscs have their own defect free space management. 2006-02-04 23:21:43 +00:00
uwe
d78e2d9ed2 Define htonl &co as alternative names to bswap only if little endian.
I'm not sure if idempotent versions need to be defined for big endian,
as the man page says in that case they are defined idempotent macros.

PR port-arm/32734
2006-02-04 23:14:48 +00:00
uwe
aa9f62b35d Use different wording as "null macro" is too ambiguous. 2006-02-04 22:47:28 +00:00
christos
32fd3812bb openssh and cvs 2006-02-04 22:40:12 +00:00
christos
741c0868b9 mention new openssh 2006-02-04 22:39:22 +00:00
christos
6d02ae65f5 Adjust sets for new libssh. 2006-02-04 22:36:11 +00:00
christos
12f096059f Update shared library version and adjust for new and removed files. 2006-02-04 22:34:16 +00:00
christos
55c58b142d bring in new file needed from the portable openssh. 2006-02-04 22:32:54 +00:00
christos
fab0e5bf66 resolve conflicts 2006-02-04 22:32:13 +00:00
uwe
e7b43156c5 Truncate the argument to 16 bit with extu.w 2006-02-04 22:24:26 +00:00
christos
c7a1af8c71 From ftp.openbsd.org. 2006-02-04 22:22:31 +00:00
xtraeme
452f660f6f Add missing ';' missed in previous. 2006-02-04 22:08:01 +00:00
uwe
c61d2c641d libc wants __bswapNN, kernel wants bswapNN. That was not accounted
for during the merge of kernel and libc versions.  Fix to match
e.g. i386 code.
2006-02-04 21:53:31 +00:00