Commit Graph

197650 Commits

Author SHA1 Message Date
enami
4a8f94fd25 Start new line before issuing IDENTIFY command since messages from
other driver may interfere during waiting for command completion.
2011-02-10 05:07:46 +00:00
christos
88453bd9e5 remove comments about needing to encode : since the on disk format does
not allow them. Also fix reversed encoding in lookup. From Taylor R Campbell.
2011-02-10 03:30:29 +00:00
matt
483a1c95a2 Fix problem with bss-plt objects which a reloc index, not offset.
(secure-plt uses an offset (index*sizeof(rela), bss-plt uses an index)
secure-plt will now take the offset and divide by 12 for an index.
2011-02-10 02:28:20 +00:00
christos
02c89a86f2 PR/44523: Taylor R Campbell: mount_hfs badly handles file names with slashes
in them, encode them as colons. XXX: Should encode : as :: too?
2011-02-10 01:49:51 +00:00
jym
227303851f Reflect reality for i386 distrib kernels. 2011-02-10 00:56:34 +00:00
jym
d67b6a35e5 Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
2011-02-10 00:43:19 +00:00
jym
71d70847f6 Use only one function to pin pages with Xen, and provide macros to
call it for different levels (L1 => L4).

Replace all calls to xpq_queue_pin_table(...) in MD code with these new
functions, with proper #ifdef'ing depending on $MACHINE.

Rationale:
- only one function to modify for logging
- pushes responsibility to caller for chosing the proper pin level, rather
than Xen internal functions; this makes the pin level explicit rather than
implicit.

Boot tested for dom0 i386/amd64, PAE included. No functional change intended.
2011-02-10 00:23:14 +00:00
christos
c93c31d5d2 simplify 2011-02-10 00:05:52 +00:00
matt
abedbfa819 Use $NetBSD$ instead of $Id$ 2011-02-09 22:01:44 +00:00
macallan
bce37c288a this is no longer needed, register definitions for chipsfb now live in
dev/ic/ct65550reg.h
2011-02-09 21:26:55 +00:00
macallan
5c83b0f64d use the bus independent stuff from ic/ct65550* and leave only the PCI specific
bits in pci/chipsfb.c
2011-02-09 21:21:32 +00:00
macallan
d36f3d5041 split out the bus-independent portions of chipsfb 2011-02-09 21:18:04 +00:00
matt
dfed083ad4 Since curlwp and curproc must always be non-NULL, remove the == NULL branches. 2011-02-09 18:24:44 +00:00
tsutsui
674f943685 Don't forget to build and install MI HIL man pages. 2011-02-09 15:31:30 +00:00
tsutsui
d57520da96 - pull MI HIL device man pages from OpenBSD
- remove obsolete hp300 ite, grf, and hil devices
2011-02-09 15:12:40 +00:00
bouyer
bde889cccb Fix build when GENFB is not there. 2011-02-09 15:02:00 +00:00
wiz
e033a66ef0 New sentence, new line. Sort SEE ALSO. Use Dq. Noun is "setup". Fix a Dd. 2011-02-09 14:37:55 +00:00
pooka
cf0dbcff8b more testies 2011-02-09 14:34:42 +00:00
pooka
dab4b449d7 Add test which checks rumpclient does not use fds 0-2 for its
internal purposes.
2011-02-09 14:32:45 +00:00
pooka
82aa883702 The following happens when sending mail with mutt via a rump
TCP/IP stack:

* mutt prepares to exec the smtp client: it forks and closes all
  file descriptors
* when the next networking syscall is done, rumpclient detects that
  the communication fd returned EBADF and does a reconnect,
  gets descriptor 0 for the socket and descriptor 1 for kqueue
* mutt opens the mail file and implicitly assumes it'll get 0-2,
  but in fact gets 2-4
* mutt execs the smtp agent which tries to read the mail from
  stdin (rumpclient communication socket) and fails

Even if mutt correctly did dup2() things would go south when trying
to communicate with the kernel server the next time, since rumpclient
would actually be talking with some mail body instead (well, it
could work, but in that case you'd need to write *really* weird
mails ;).

Hence, prevent rumpclient from using the special fd's 0-2 for its
purposes.

Should fix mutt problem reported by Alexander Nasonov.
2011-02-09 14:29:58 +00:00
tsutsui
33fa7ec7aa - update SYNOPSIS and SEE ALSO for wscons support
- remove descriptions about obsolete ioctl
2011-02-09 14:13:09 +00:00
tsutsui
5493296943 Add lists for ews4800mips and hp300 Xorg servers. 2011-02-09 13:41:00 +00:00
tsutsui
e96a78107f Add defintions for ews4800mips and hp300 Xorg servers. 2011-02-09 13:37:48 +00:00
jmcneill
960f1e30de if genfb is attached, hook into db_trap_callback to switch in and out of
polling mode as necessary
2011-02-09 13:24:23 +00:00
jmcneill
9204517c6d switch genfb to polling mode at shutdown 2011-02-09 13:19:53 +00:00
jmcneill
f24dfbb13c add vcons_{enable,disable}_polling and genfb_{enable,disable}_polling
functions, to switch between intr and polling modes when VCONS_DRAW_INTR
is defined
2011-02-09 13:19:18 +00:00
kefren
34493327dd use RT_ROUNDUP provided by net/route.h 2011-02-09 11:38:57 +00:00
pooka
a804f47907 Exterminate a bug I created in 2009. 2011-02-09 11:22:49 +00:00
rmind
bb9ae7c0c2 Restore historic SCCS IDs in the comments (were removed in previous commit).
Noted by wiz@.
2011-02-09 10:25:40 +00:00
pooka
79b560da8c Don't do highestFD check with USE_POLL. It provides no benefit
but causes a dependency between RLIMIT_NOFILE and rumphijack FDOFF.

christos ok
2011-02-09 09:46:59 +00:00
tsutsui
10c24972b3 NHIL is no more. 2011-02-09 09:32:49 +00:00
tsutsui
455d1e697c Remove leftover debug stuff. 2011-02-09 09:29:57 +00:00
haad
240ef7b2ab Fix libdm breakage on 64bit platforms. 2011-02-09 08:11:37 +00:00
dholland
c7df2d80f4 Fix broken build (hi Christos!) 2011-02-09 06:26:48 +00:00
schnoebe
431ec7cce7 List all the aliases supported for GPT partition types. 2011-02-09 05:11:15 +00:00
jmcneill
319b724dd2 Add VESA VBE/DDC EDID support for determining the monitor's preferred
video mode. "vesa on" will now select the preferred mode @ 8bpp if it can
be determined and is supported by the display adapter, otherwise it will
use 640x480 @ 8bpp.
2011-02-09 04:37:54 +00:00
jmcneill
0d6f289098 PRIx64 instead of llx for uint64_t format 2011-02-09 02:30:09 +00:00
agc
ff0d414d6f Make sure we include <inttypes.h> if we have it. From Rumko. 2011-02-09 00:59:23 +00:00
jmcneill
15ee4c2816 %zu for size_t, not %zd 2011-02-08 23:28:24 +00:00
jmcneill
3f11f2aa84 VCONS_DRAW_INTR changes:
- use softint instead of workqueue for drawing
- track scr_dirty with atomic_ops
2011-02-08 23:06:25 +00:00
christos
e95e36baec - WARNS ?= 4
- fix memory leaks
- fix error printing
- pass lint
- KNF
- constify
- ansify
2011-02-08 22:16:58 +00:00
plunky
9119e9c88f the default socket rcvbuf for L2CAP is only 4Kbytes which is only
2 and a bit ethernet packets. Check and increase SO_RCVBUF on startup
so that we have buffers for 10 complete packets, should solve a
reported problem with overruns at higher connection speeds (our L2CAP
does not have any flow control).

(the default can still be adjusted upwards using sysctl)
2011-02-08 21:59:50 +00:00
plunky
bc0aea6bfb check number of filters received against max possible 2011-02-08 21:43:45 +00:00
ahoka
4a22e1afa7 Add missing prototype for x86_genfb_mtrr_init to fix build.
Hi Jared!
2011-02-08 20:55:51 +00:00
rmind
9b6bd2d968 Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
2011-02-08 20:20:06 +00:00
haad
a1daaacf38 Fix build after libdm import sorry for breaking build. 2011-02-08 19:57:10 +00:00
pooka
8ffa45b220 Fix pasto, use GETSYSCALLS() where possible 2011-02-08 19:12:54 +00:00
plunky
6fea4fd6c5 newer pcc front end provides some definitions according to arch,
so provide the TARGMACH definition to the compiler here.

(makes no difference to the currently imported sources, but
will be easier for people wanting to try newer sources)
2011-02-08 18:26:25 +00:00
plunky
7349c9ffe7 use built-in macro ___STRING() rather than rolling our own 2011-02-08 18:14:00 +00:00
pooka
8331b66064 Make sure we can do host kevent since the -current (and recent nb5)
libc resolver uses it.  Error out in case of rump fd kevent (TODO).
Fixes one more problem pointed out by Alexander Nasonov.

Also, implement dup().
(TODO: implement it along the fcntl path too)
2011-02-08 14:45:35 +00:00