Commit Graph

136024 Commits

Author SHA1 Message Date
wiz 7224809d57 Document index argument, and mention that long_options
needs to be terminated with a structure containing zeroes.
Slightly modified version of patch from PR 30002 by Kailash Sethuraman.
Bump date.
2005-04-18 10:56:33 +00:00
mrg 1ec9145306 be explicit in the description for POSIX saved set-id that this is for
POSIX-style, not sane-style.  (ie, add "POSIX " to the description.)
2005-04-18 10:46:39 +00:00
dsl a7151c0abc Add a '-a' option to set the time using adjtime(2) instead of settimeofday(2).
Fix usage so that the options which apply to dat/time setting are on the
correct line.
2005-04-18 06:53:35 +00:00
wiz 6b4d05a703 Drop trailing whitespace. 2005-04-17 23:23:21 +00:00
lukem 8232ca0162 Tweaks for the move of postinstall from /etc to /usr/sbin 2005-04-17 23:12:40 +00:00
bouyer c6a8468bd3 Remove unused code.
Add support for dynamic attach/detach. Should fix port-xen/29856 by Juan RP.
2005-04-17 22:59:37 +00:00
bouyer 381c7beadd Add a kernel thread to the control interface, to handle deferred callacks
(which may sleep). Fix port-xen/29851 by YAMAMOTO Takashi.
Use config_pending_incr()/config_pending_decr() in if_xennet instead of
busy-looping (which doesn't work any more).
Remove the kernel thread from xbd, which isn't needed any more.
2005-04-17 21:11:30 +00:00
christos 05c61e7894 PR/21147: Christian Biere: ctype function misuse. 2005-04-17 17:42:48 +00:00
christos b2a3a81e1c PR/21152: Christian Biere: ctype function misuse. 2005-04-17 17:37:11 +00:00
christos 4be93fc1ce PR/21155: Christian Biere: ctype function misuse. 2005-04-17 17:34:43 +00:00
christos 0de6393bd4 PR/21165: Christian Biere: ctype function misuse 2005-04-17 17:27:11 +00:00
christos 476fac655a PR/21167: Christian Biere: ctype function misuse. 2005-04-17 17:22:36 +00:00
christos 145e9070ea PR/21170: Christian Biere: ctype function misuse. 2005-04-17 17:19:33 +00:00
christos 7fc7748a3e PR/21172: Christian Biere: ctype function misuse. 2005-04-17 17:18:16 +00:00
christos 30a161cf4d PR/21177: Christian Biere: ctype function issues. 2005-04-17 17:16:37 +00:00
hannken 6cb4c22637 Support user controllable flags for the snapshot driver:
- Add FSSIOFSET and FSSIOFGET ioctl() to set/get the flags.
- Add FSS_UNCONFIG_ON_CLOSE flag to unconfigure the snapshot device
  on the last close.

Reviewed by: Jason R. Thorpe <thorpej@netbsd.org>
2005-04-17 16:28:26 +00:00
lukem 5cae62926d do_postinstall() is now unnecessary; remove it.
If extracting -s etc.tgz to a temporary directory, don't run the
embedded etc/postinstall since it doesn't exist anymore.

Remember the original SRC_DIR passed in (e.g, "-s etc.tgz") and
display that in the suggested "fix" message, rather than a temporary
path to the extracted etc.tgz which won't be correct for the next run.
2005-04-17 15:38:34 +00:00
lukem 9358e88bbf Update for move to /usr/sbin.
Add a HISTORY.
2005-04-17 15:27:23 +00:00
lukem d2a9aaa7cf use usr.sbin/postinstall/postinstall instead of etc/postinstall 2005-04-17 15:18:34 +00:00
lukem 5c5750a595 Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).
2005-04-17 15:15:48 +00:00
bouyer c7520961bf Allow to pass a more descriptive name to event_set_handler() (e.g. IRQ number
for physical IRQ, or device name for xen device drivers). This makes
systat and vmstat output more usable, especially as the channel numbers
change each time a guest reboots.
2005-04-17 14:50:11 +00:00
toshii 2db3ae3497 Correct status value check for OHCI isoc transfer;
the spec says that "not accessed" is 111x, not 1111.
2005-04-17 14:46:49 +00:00
bouyer b8171ad79a Remove
xenkbc at hypervisor
vga at hypervisor
they have been obsoleted by PCI and ISA support, and don't compile any more.
2005-04-17 14:44:14 +00:00
hannken e97aafbc0b When a snapshot gets unconfigured always clear `FSS_BS_ALLOC'. 2005-04-17 11:39:52 +00:00
wiz aad2c7a127 Remove superfluous .Pp, add some commas, improve grammar in a sentence,
and bump date for the many changes in the update to 1.0c.
2005-04-17 08:51:19 +00:00
wiz 46e16d08b7 Drop trailing whitespace. 2005-04-17 08:48:17 +00:00
provos bdc32cfad7 update to libevent-1.0c. This includes support for event priorities,
multi-threaded applications and some bug fixes.  regression test
improved to test for new features.  bump major.
2005-04-17 07:20:00 +00:00
rumble 17a32ff3f7 regen 2005-04-17 04:07:11 +00:00
rumble 8e4666bb70 Add the $NetBSD$ tag and some whitespace. When we previously
started the device list on the first line the awk script would
skip the first entry.
2005-04-17 04:06:38 +00:00
wiz e35111eeee Some more minor changes, ok manu@. 2005-04-17 01:03:46 +00:00
bouyer 4de6ba366b Remove functions that just call another one.
Inline a function used at only one place.
2005-04-16 23:33:17 +00:00
bouyer c17413ff3e Get rid of the event to pseudo-irq mapping. We are limited to 32 pseudo-irq,
including soft interrupt, and this is way too low in some use (lots of domains,
or domains with lots of xennet, or even hardware with lots of devices at
different interrupts).
Based on idea from YAMAMOTO Takashi, keep one list of handler per-event and
one per-IPL (so the same handler is now in 2 lists). In the common case were
an event is received at low IPL, we can call the handlers quickly (there
is usually only one handler per event, unless the event is mapped to a
physical interrupt and this interrupt is shared by different devices).
Deffered events and software interrupts are handled by a bitmask (as before)
with one bit per IPL. When one IPL has an event pending all handlers for
this IPL will be called.
With this change, it is now possible to have all the 1024 events active.

While here, handle debug event in a special way: the handler is always called,
regardless of the current IPL. Make the handler print usefull informations
about events and IPL states.
Also remove code not used on Xen in files inherited from the x86 port.
2005-04-16 22:49:37 +00:00
perseant 5923fa20f1 Make userland compile again. 2005-04-16 19:52:09 +00:00
perseant ad0169af41 Remove left-over reference to "lfs_blist", for _LKM case. 2005-04-16 18:10:12 +00:00
perseant 5ed792ecb0 Use splay trees, rather than a hash table, to manage the accounting of
blocks allocated through VOP_BALLOC() for pages to be written to disk.
This accounting no longer takes a noticeable fraction of the system CPU.
2005-04-16 17:35:58 +00:00
perseant 94decdd25d Use lfs_malloc() to manage the blkiov arrays that the cleaner functions use,
since the cleaner is likely to operate in a low-memory condition.
2005-04-16 17:28:37 +00:00
tsutsui b818779753 Add newfs_msdos(8) for install ramdiskbin.
ARCBIOS can load binaries only from msdosfs on disks (or iso9660 on cdroms).
2005-04-16 14:44:49 +00:00
tsutsui 0eb69997b3 Add a tweak to default value settings for a number of drive heads
and a number of sectors per track.

According to sys/fs/msdosfs/msdosfs_vfsops.c:msdosfs_mountfs(),
the kernel doesn't accept BPB with spt (sector per track) > 63
or hds (drive heads) > 255, so if values taken from disklabel
don't match these restrictions, use popular BIOS default values
(255/63) instead.
2005-04-16 14:40:36 +00:00
wiz 7de2bf2d68 Mention ukyopon. 2005-04-16 14:38:14 +00:00
wiz a8a4a1cfe2 Improve grammar fix from previous. 2005-04-16 14:36:54 +00:00
wiz 5f4ac44fcd Grammar fix, and driver appeared in 3.0, not 1.6.3. 2005-04-16 14:35:55 +00:00
bouyer 186671a540 Move epprom settings checks to the right place, so that sync/wide nego is
started based on the eeprom values and adapter capabilities.
Avoid the driver to negotiate wide transfers with a wide drive connected
to a non-wide capable controller.
Problem reported and fix tested by Dan LaBell on netbsd-help.
2005-04-16 13:46:20 +00:00
yamt 1d12c53188 add files which i forgot to add with arch/x86/x86/bus_dma.c rev.1.21. 2005-04-16 08:53:09 +00:00
yamt 1c9ce81d36 s/foreing/foreign/g
ok'ed by Manuel Bouyer.
2005-04-16 08:49:29 +00:00
yamt fb4a1ff192 tweak x86 bus_dma code so that it can be used by xen port.
- distinguish paddr_t and bus_addr_t.
  for xen, use bus_addr_t in the sense of machine address.
- move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h.
- remove special handling of xen_shm.  we can always grab
  machine address from pte.
2005-04-16 07:53:35 +00:00
yamt f141fad5f8 make multi inclusion protection macros consistent. 2005-04-16 07:45:59 +00:00
lukem 41595413ba elaborate on sysctl rename 2005-04-16 04:19:24 +00:00
rillig 7f8368c35e Replaced the macro name "notyet" with a 0. There's always the possibility
that a strictly conforming C program uses that name itself, so it had to
be removed. Also put the long comment above the #if 0, because it describes
the #if, not the isblank() macro. Added two blank lines to make the grouping
clear. Approved by kleink.
2005-04-15 23:46:07 +00:00
kleink d6a0715a49 Due to their "inverse" treatment of the fraction's MSb, update NAN
conversion to construct a quiet NaN on hppa, mips, sh3, and sh5 as well.
Also, remove the portion constructing a ROP on vax; this is not required
by the standard, and in its consequences it is not an appropriate
substitute for a qNaN.
2005-04-15 22:46:21 +00:00
kleink b2cb7fcd8a Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.

IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
2005-04-15 22:39:10 +00:00