Commit Graph

134986 Commits

Author SHA1 Message Date
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
bouyer 111fb1ed01 increment couters at the right place, so that deffered interrupts are
accounted too.
2005-03-11 15:48:40 +00:00
bouyer a4dee0e2b9 The extent allocation was off by one, causing us to use unallocated
kernel VA, and overflow the _xen_shm_vaddr2ma[] array.
2005-03-11 15:47:27 +00:00
bouyer 5ce7842238 Add missing STI() from i386/i386/vector.S 1.15.
This seems to fix the network hang issues I noticed with NetBSD guests
on heavy network I/O.
2005-03-11 15:45:54 +00:00
bsh 513d8a771b move a few definitions to smdk2800var.h to share them between smdk2800_machdep.c and smdk2800_start.S 2005-03-11 14:28:52 +00:00
tron e561507a1f Add support for changing the MTU to stf(4). 2005-03-11 13:28:25 +00:00
wiz 1a27add367 Use more macros (Sq/Dq). 2005-03-11 13:16:10 +00:00
wiz 2c2533b641 Bump date for new -4, -6. 2005-03-11 13:14:34 +00:00
bouyer fb78ac6542 Properly track connected/disconnected state, and set IFF_RUNNING only when
in connected state. Avoid a panic when the interface is configured
before being in connected state (e.g. when configured automatically by xend
when a domain is created).
2005-03-11 11:34:32 +00:00
matt 124866f5f5 Don't compare scalars against NULL, use 0. 2005-03-11 07:08:33 +00:00
matt 18e3cd8d07 Increase SYMTAB_SPACE 2005-03-11 07:07:50 +00:00
matt 3beedd2b53 Don't compare scalars against NULL, use 0 2005-03-11 07:06:54 +00:00
matt e5e8c8e489 Adapt to new dm_maxsegsz semantics. 2005-03-11 07:01:55 +00:00
matt 6196dae15e Fix typo. 2005-03-11 06:58:11 +00:00
matt b72e03a76a rside is really a wdc. So make it a wdc.
XXX rside should be renamed to wdc_rsbus
2005-03-11 06:51:48 +00:00
matt 371a3b7135 Constify a structure. 2005-03-11 06:50:33 +00:00
atatat 5b8a6c916d Revert the change that made kern.file2 and net.*.*.pcblist into nodes
instead of structs.  It had other deleterious side-effects that are
rather nasty.  Another solution must be found.
2005-03-11 06:16:15 +00:00
ginsbach 15b1578248 Note addition of -4 and -6 to rcp(1), rlogin(1), and rsh(1) and support
for IPv6 address strings as the `rhost' with rcp(1).
2005-03-11 04:18:47 +00:00
ginsbach 733e4b48e2 Add -4 and -6 to usage. 2005-03-11 03:20:23 +00:00
ginsbach d9a614deae Support -4 and -6. Approved by christos. 2005-03-11 03:19:31 +00:00
ginsbach 0d1bfba8c7 Add mechanism for escaping IPv6 address strings, since they already
contain colons.  Idea from Solaris rcp(1).
2005-03-11 02:55:23 +00:00
ginsbach 605994654d Support -4 and -6. Approved by christos. 2005-03-11 02:45:24 +00:00
christos 37e322ddf6 revert part of previous commit (the block size type and the pad renumbering).
tron says it breaks compat mode.
2005-03-10 23:39:27 +00:00
bouyer 145cc1138c Clean up ISA attachement, and do not try to attach it at hypervisor if
it has already been attached at pcib.
2005-03-10 22:10:11 +00:00
bouyer f7dcd8b304 Report which IRQ is used. 2005-03-10 21:44:31 +00:00
kleink 79b311d547 Crank the copyright year. 2005-03-10 19:53:22 +00:00
bouyer bdb48992d1 Bump blkif_pdev_t from 16 to 32 bits, to fix the dev_t problem on NetBSD.
Remove the padding bits from blkif_extent_t, so that the message size doesn't
change. You'll need xentools20-2.0.3nb1 if you upgrade your kernel
(the old tools didn't zero out the padding bits, and a new kernel will
interpret them as part of the device number).
2005-03-10 19:47:08 +00:00
christos af62817ea3 Always update the position variables before the map function is called.
From Rob Rodgers, thanks!
2005-03-10 19:34:46 +00:00
matt b6fca37cf6 Adapt to new dm_maxsegsz semantics. 2005-03-10 18:16:01 +00:00