Commit Graph

135014 Commits

Author SHA1 Message Date
wiz 5ccbef2012 NetBSD -> .Nx, some whitespace nits. 2005-03-13 09:37:06 +00:00
skrll 41889bdcaa Remove an item - uhidev(4) now exists.
OK'd by Lennart.
2005-03-13 08:21:50 +00:00
kim 077ff6605b One third of screen looks much better than half, for default maxhost. 2005-03-13 04:08:16 +00:00
christos a646be989c Handle the regular case too, not only the error case. 2005-03-13 01:48:54 +00:00
riz 49bc7920f9 Add myself to the list of developers. 2005-03-13 01:43:52 +00:00
christos f048688c46 PR/29683: M. B. Buchanan: mcd driver has printf formatting compile issue
and sets the wrong field to the number of ports.
2005-03-12 22:54:48 +00:00
christos d232675d86 PR/29679: Gunnar.Ritter: fstat() blksize on the write side of the pipe returns
0. Fix it by returning the peer's block size.
XXX: This is the minimal fix. Probably the buffer size should be initialized
somewhere else, but probably this would need some more code changes.
2005-03-12 18:43:42 +00:00
christos bb8740ddcf - Don't call pam functions after pam_end().
- Only call wait for our own pid.
- Improve error checking.
- Reorder some code to minimize diffs with FreeBSD.
2005-03-12 18:23:30 +00:00
dsl 4f6d146592 KNF 2005-03-12 16:39:41 +00:00
dsl 37840e8766 Fix time calculation when:
p->p_rtime.tv_usec + tv.tv_usec < spc->spc_runtime.tv_usec
2005-03-12 16:33:45 +00:00
dsl 94015fc9d6 Fix convertion of seconds to nanoseconds.
Add the usec to the secs before subtracting the usec offset - otherwise
I suspect the value can do horribly wrong!
Change all T_SVR4_GETHRESTIME to return sec + nanoseconds (I've not sure
this is correct, but I doubt the 32bit emulation in a 64bit kernel should
act differently to a 32bit kernel!)
Untested - I don't even have a sparc compile setup at the moment.
2005-03-12 16:29:59 +00:00
salo 5c8095bf97 Adjust to The Not-Quite-That-New World Order:
bsd.pkg.defaults.mk -> defaults/mk.conf
 Packages.txt -> doc/pkgsrc.txt
2005-03-12 16:17:33 +00:00
salo 60410131db bsd.pkg.defaults.mk was moved to defaults/mk.conf a while ago.
spotted by go@
2005-03-12 16:13:38 +00:00
dsl 604ef02ccf You need to multply seconds by 10^9 to get nanoseconds! (not 10^6).
Remove some possible aliasing issues.
I actually suspect this code is returned a word-swapped 64bit value though!
2005-03-12 16:02:02 +00:00
tron 0c7e4628ee Process GL manual pages with tbl(1). This fixes PR xsrc/29662 by
Tim Rightnour.
2005-03-12 16:01:50 +00:00
reed be2370c0aa Sorted two entries that were out of order.
And used spaces (instead of tab) for one entry to be consistent with rest
of file.
2005-03-12 15:13:54 +00:00
reed e991dffff3 Add that NetBSD 2.0 was released on December 09, 2004 2005-03-12 15:07:56 +00:00
dsl 1c1e4144e2 Use an archive library for libkern if we don't support LKMs.
Enough to get INSTALL_TINY small enough again.
Someone else can fix it next time...
2005-03-12 14:39:12 +00:00
lukem 337f8776b0 Also set SHLIBDIR to /lib if ${USE_SHLIBDIR} != "no".
This allows <bsd.lib.mk> to correctly set the RPATH of libraries that
use USE_SHLIBDIR=yes to /lib, so that dependent libraries can be found
from /lib when /usr/lib isn't mounted yet.
This was the intention of the _LIBLDOPTS support in <bsd.lib.mk>.

Fixes problem reported by Dan Carosone with when /sbin/cgdconfig is
dynamically linked against libcrypto.so but not libcrypt.so (it was
relying upon libcrypto.so to pull in libcrypt.so).
2005-03-12 13:21:12 +00:00
darcy 3b06c2c797 Add to XXX comment for future reference. 2005-03-12 10:35:29 +00:00
jdolecek 03258a805a separate tun(4) and joy(4) entries, those two are totally independant
PR: kern/29673 by FUKAUMI Naoki
2005-03-12 10:26:45 +00:00
yamt 5ef6b21b78 re(4) driver:
- TSO support.
- fix some error handling.
- remove mysterious RTK_NTXSEGS and use more appropriate values
  for bus_dmamap_create.
- if we need more than all of our tx descriptors in order to transmit a packet,
  just drop it rather than retrying infinitely.
2005-03-12 08:01:51 +00:00
yamt 9482bc7356 don't try to use TSO to transmit a single segment.
- there's no benefit.
- rtl8169 seems to be stuck with it.
2005-03-12 07:53:08 +00:00
christos 068081ef36 Fix another _DIAGASSERT issue (Joerg Sonnenberger) 2005-03-12 04:20:30 +00:00
kent 7b29b8d545 Fix a problem that the resultant stream contains many garbage data at
stereo->mono conversion.
PR#29664
2005-03-12 03:55:45 +00:00
kent 52c4317717 make this compile with AURATECONV_DEBUG 2005-03-12 03:42:03 +00:00
tron 9533cbbc67 Try last fix once more. 2005-03-12 00:52:51 +00:00
tron d2a568b356 Fix a bad typo in populate_dir() which broke a lot of checks. 2005-03-12 00:50:23 +00:00
nathanw fcb8b1675d Add a final newline. 2005-03-11 23:41:02 +00:00
christos dd554c952a PR/29658: Joerg Sonnenberger: incorrect DST_UNIT_BITS and DST_INVALID in
character set maps:

A number of Code Pages specify a 8bit character mapping, but use
16bit runes, ma king them inaccessible for the actual conversion.
Similiary do some Code Pages specify an invalid rune e.g. of 0x00,
which is actually used in the mapping table and makes that rune
mapping invalid.
2005-03-11 23:38:02 +00:00
christos 61e7a23268 UTF8EncodingInfo is an empty struct; remove noop code and DIAGASSERT.
From Joerg Sonnenberger
2005-03-11 23:32:03 +00:00
rillig b9387c8736 Never access argv[i+1] before you know that argv[i] != NULL. Approved
by wiz.
2005-03-11 22:52:04 +00:00
mycroft 487f02d9cd Three changes:
1) After setting an input or output channel to pause, watch for DCH (DMA
   halted) to be set before resetting the registers.  The manual says this is
   required.  This *may* fix random auich lockups.
2) Add auich_{trigger,intr,halt}_pipe(), which can operate on any of the
   input and output channels.  This reduces code duplication quite a bit.
   While I'm at it, fill in the mic interrupt handling.
3) The mic in interrupt is MINT, not MIINT.  (The latter is modem input.)
2005-03-11 22:29:16 +00:00
bouyer 3e8f0992c8 Integrate Xen to the i386 build process:
- Add xen devices to MAKEDEV
- Add Xen kernels to list of kernel to build
- Add INSTALL_XENU to the install kernels
- introduce the xbd disk devices to sysinst.

This will add 3 kernels to the i386 release:
XEN0 for use as a Xen domain0 kernel
XENU for use on a non-privileged domain
INSTALL_XENU to install NetBSD on a non-privileged domain virtual disk.
2005-03-11 20:55:10 +00:00
bouyer d8ac66d8b5 Move Xen kernel config files to arch/i386, so that they can be added to
the i386 release process. Make them include archi/i386/conf/GENERIC.local,
like other i386 GENERIC and INSTALL files.
2005-03-11 20:48:24 +00:00
bouyer b3de8f0978 Define xen devices in i386/conf/majors.i386. This makes sure there won't
be conflics with regular i386 kernels.
2005-03-11 20:44:37 +00:00
bouyer 153285b0bd Properly define NISA and NPCI; cleanup use of NISA and NPCI. 2005-03-11 20:39:39 +00:00
rumble 02b46a4b12 Fix a tiny typo. 2005-03-11 19:40:47 +00:00
mycroft e63d9a6eae Restructure interrupt handling a little:
* Only futz with the done list in the soft interrupt handler.  In the hard
  interrupt handler, do nothing except mask WDH and queue the soft interrupt.
  This simplifies a bunch of code, removes two O(n^2) queue manipulations,
  and gets rid of some really sketchy stuff around the queue head access.
* Use the auto-masking code at the end of the interrupt handler for both WDH
  and RHSC interrupts.  Again, this reduces the code a little, and avoids
  multiple writebacks to the chip registers.
2005-03-11 19:25:22 +00:00
matt 7dfa1d8cf7 Set ip_len to 0 in the wm driver when TSO is being used. 2005-03-11 17:07:51 +00:00
matt bffeda4273 Add cpu* at mainbus0 2005-03-11 16:44:31 +00:00
matt 9423d4f429 Make this compile in the absence of any scsibuses. 2005-03-11 16:37:24 +00:00
matt 1a573d5c6a Make this build again (add atabus). 2005-03-11 16:26:47 +00:00
matt 153ebc7689 Just like wdc.c, if the bus_space implementation doesn't support stream
method, make them equivalent to the non-stream methods.
2005-03-11 16:17:57 +00:00
matt 63c819e89c Add missing stream methods (for wdc_pcmcia.c) 2005-03-11 16:16:06 +00:00
ginsbach 27ff389ba6 Update standards section; add X/Open XNS and X/Open - IEEE POSIX.
RFC 2553 made obsolete by RFC 3493.  Approved by wiz.
2005-03-11 16:13:13 +00:00
ginsbach 98d24e6cc9 Remove unnecessary cast. 2005-03-11 16:04:09 +00:00
bouyer 45f2a74300 Print the irq used. 2005-03-11 15:51:25 +00:00
bouyer 9375b9c69f Wrap some ISA stuff in DOM0OPS, so that DOMU kernels build again. 2005-03-11 15:50:25 +00:00
peter 6e30b59e96 Some minor cleanup:
* Improve some comments and (error) messages.
* Use EXIT_FAILURE and EXIT_SUCCESS.
* Add function `maybe_syslog' (only log when -l is enabled).

Reviewed by christos.
2005-03-11 15:49:52 +00:00