Commit Graph

135852 Commits

Author SHA1 Message Date
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
drochner 3759e5b9d8 Don't ENXIO on open("/dev/random") if there is not enough
entropy collected. It's undocumented, noone else does it and
it leads to "named" errors during boot for me.
Generally, consumers of "/dev/random" should be prepared to wait.
(The other uses of "rnd_have_entropy" look bogus to me too,
but this needs more consideration.)
2005-04-15 20:21:23 +00:00
drochner 6dda78f17a make the scsibus target/lun and the atapibus drive locators optional
(they already had default values; we could kill the [...=N] syntax
completely or at least have config(8) assume that a locator with
a default is optional)
2005-04-15 19:20:24 +00:00
itohy d665949330 Add ukyopon(4). 2005-04-15 17:27:20 +00:00
itohy 0ee992857f ukyopon(4): Kyocera AIR-EDGE PHONE driver
Close NetBSD PR #25954 in a different way.
2005-04-15 17:18:18 +00:00
christos 9f184f48a4 Add no-return attribute to all longjmp flavors. Approved by kleink. 2005-04-15 16:58:13 +00:00
itohy 15a9291a5d Fix function name in debug messages.
White space police.
2005-04-15 15:08:34 +00:00
itohy 8bd72ab6a4 If CM descriptor is found, use the data interface in it;
if CM descriptor is NOT found but UNION descriotor is found,
use the data interface in it.
Do not require CM or ACM descriptors as long as
the data interface is found.

Should fix NetBSD PR #29754 by rivo nurges.
2005-04-15 14:43:05 +00:00
itohy 70d7fffcc5 Split common modem part of umodem.c to umodem_common.c and umodemvar.h,
to be shared with other umodem-like drivers.
2005-04-15 14:14:09 +00:00
kent 5b9e2cc123 Note that kent-audio2 is not compilable yet. 2005-04-15 13:39:00 +00:00
wiz 1390e25dcf Some more English improvements after feedback from manu@; more formatting. 2005-04-15 13:23:58 +00:00
wiz 6e35cd769e Improve English in comments. 2005-04-15 11:10:32 +00:00
wiz 0f822df19c Improve english, improve formatting, sort options. 2005-04-15 10:58:11 +00:00
lukem aff82fa50e document MKINET6 and USE_INET6 2005-04-15 03:04:53 +00:00
peter ffe0037a82 The pf directory is always created in /usr/share/examples, so remove the pf
keyword from the list.  Fixes part of PR 29968 from Jukka Salmi.
2005-04-14 21:45:10 +00:00
wiz 049635f546 Sync usage with man page. 2005-04-14 21:30:11 +00:00
wiz 21a2722f35 Quote a word that would otherwise be interpreted as macro;
increase width argument to .Bl so that all options fit.
2005-04-14 21:29:29 +00:00
wiz b4508f65fb Bump date for new -q; use Dq; capitalize NetBSD
in the usual way; new sentence, new line; some nits.
2005-04-14 21:26:11 +00:00
perseant 68db799864 Document "-f" (force check) flag. Implement and document "-q" (quiet). 2005-04-14 21:15:59 +00:00
matt 1b5520b3d6 For GCC3 and beyond, use the __builtin_va_* types and functions to
deal with variable argument lists.
2005-04-14 20:06:15 +00:00
nathanw e8e89790f0 The bind-session ioctl is CIOCGSESSION, not CRIOCGSESSION. 2005-04-14 18:52:23 +00:00
yamt f76348ddee if_xennet: m_paddr is not always valid. 2005-04-14 13:15:48 +00:00
yamt 9e56f2c967 if_xennet: handle MEXTREMOVE correctly. fix pool cache corruption. 2005-04-14 12:37:43 +00:00