miod [Sun, 24 Aug 2008 20:10:55 +0000 (20:10 +0000)]
Define a proper wsdisplay type for legss(4).
mglocker [Sun, 24 Aug 2008 19:46:45 +0000 (19:46 +0000)]
Get VIDIOC_G_FMT working (makes ekiga happy).
miod [Sun, 24 Aug 2008 18:53:36 +0000 (18:53 +0000)]
Correct eisa i/o ports layout structure, this has probably been broken
when switching from gcc 2.95, if not forever.
deraadt [Sun, 24 Aug 2008 16:30:18 +0000 (16:30 +0000)]
proper indent
jmc [Sun, 24 Aug 2008 15:22:08 +0000 (15:22 +0000)]
remove the ls=ls -gCF alias: we already have an alias for ls (-CF),
and now that the behaviour of -g has changed to be more in line
with posix, we get group ID by default anyway;
kick started by PR 5784 from Jacek Masiulaniec;
discussed with otto and sobrado;
ok deraadt millert
miod [Sun, 24 Aug 2008 14:52:08 +0000 (14:52 +0000)]
vsbus machines also have modem control bits on line #2, no need to fake them.
miod [Sun, 24 Aug 2008 14:51:22 +0000 (14:51 +0000)]
Writing to the DTR register on KA60 resets the TCR register behind our back.
Preserve it explicitely in dzmctl() and restore it after the DTR update.
(This problem was a real PITA to track down)
miod [Sun, 24 Aug 2008 14:49:58 +0000 (14:49 +0000)]
typo
miod [Sun, 24 Aug 2008 14:49:35 +0000 (14:49 +0000)]
Correct dmesg, do not mention dz is the console device if running with
glass console.
krw [Sun, 24 Aug 2008 12:56:17 +0000 (12:56 +0000)]
Fix readdpmelabel() so it doesn't corrupt a disklabel about to be
written (i.e. partoff != NULL), and doesn't corrupt a disklabel
with more than eight (8) dpme partitions.
Problems reported by Josh Elsasser via PR#5904. Testing by Josh,
otto@, drahn@, maja@, kettenis@. Most of the diff from otto@.
ok drahn@
mglocker [Sun, 24 Aug 2008 11:43:00 +0000 (11:43 +0000)]
Use consistent variable names; curr -> cur, err -> error.
mglocker [Sun, 24 Aug 2008 11:05:02 +0000 (11:05 +0000)]
Add support for processing unit (e.g. brightness) controls. New V4L2
ioctls therefore are VIDIOC_QUERYCTRL, VIDIOC_G_CTRL, and VIDIOC_S_CTRL.
dlg [Sun, 24 Aug 2008 09:08:49 +0000 (09:08 +0000)]
dont display disk geometry (cyls/heads/sectors) since it mostly lies these
days. if you really want it still you can fetch it via disklabel(8).
ok krw@ deraadt@
brad [Sun, 24 Aug 2008 08:23:15 +0000 (08:23 +0000)]
Add Atheros OUI and Atheros F1 id.
From FreeBSD
brad [Sun, 24 Aug 2008 08:20:35 +0000 (08:20 +0000)]
regen
brad [Sun, 24 Aug 2008 08:20:21 +0000 (08:20 +0000)]
BCM5714 also supports fiber interfaces.
jsg [Sun, 24 Aug 2008 03:13:12 +0000 (03:13 +0000)]
surplus semicolon on if statement
miod [Sat, 23 Aug 2008 22:57:11 +0000 (22:57 +0000)]
Slight speed improvement by using byte accesses on word boundaries for all
frame buffer memory operations, instead of word access on word boundaries.
miod [Sat, 23 Aug 2008 12:40:22 +0000 (12:40 +0000)]
Pick the correct host adapter id from nvram.
chl [Sat, 23 Aug 2008 10:08:02 +0000 (10:08 +0000)]
add missing header needed by asprintf().
ok otto@ deraadt@
djm [Sat, 23 Aug 2008 07:51:35 +0000 (07:51 +0000)]
make mbstowcs(NULL, string, 0) correctly return the length of the
wchar_t string needed to represent "string", which in our case
is just strlen(string); feedback & "looks right" deraadt@
djm [Sat, 23 Aug 2008 07:49:38 +0000 (07:49 +0000)]
unbreak MALLOC_OPTIONS=G that I broke in my last commit;
slightly kludgey solution for until otto fixes it properly; ok otto@
jmc [Sat, 23 Aug 2008 07:24:06 +0000 (07:24 +0000)]
- document -h
- (re)organise the page a little
- zap second "usage:" string from usage()
jmc [Sat, 23 Aug 2008 07:08:06 +0000 (07:08 +0000)]
ufs -> UFS;
jmc [Sat, 23 Aug 2008 07:05:40 +0000 (07:05 +0000)]
it's no longer necessary to build crunch by hand, so adjust the
release instructions accordingly;
djm [Sat, 23 Aug 2008 06:15:16 +0000 (06:15 +0000)]
fix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled into
the freshly mmaped pages disrupting their pure zeroness;
ok otto@ deraadt@
djm [Sat, 23 Aug 2008 05:34:36 +0000 (05:34 +0000)]
unbreak wcschr(string, L'\0') which was incorrectly returning NULL
rather than a pointer to the terminating nul; ok deraadt@
otto [Fri, 22 Aug 2008 21:25:10 +0000 (21:25 +0000)]
make sure we always map and unmap multiples of MALLOC_PAGESIZE;
case spotted by beck, one by me; ok deraadt@ beck@
miod [Fri, 22 Aug 2008 21:05:04 +0000 (21:05 +0000)]
Let lkms(4) support VSXXX-AB tablets in addition to the mice it already
supports, based on appendix C and D of the VCB02 (qdss) technical manual.
Also parse the selftest results and report device errors.
Not tested on actual tablet due to the lack of any; mouse operation is not
disturbed.
deraadt [Fri, 22 Aug 2008 19:58:21 +0000 (19:58 +0000)]
a ; in a bad place; dragonfly; ok mglocker
otto [Fri, 22 Aug 2008 17:14:56 +0000 (17:14 +0000)]
Smarter implementation of calloc(3), which uses the fact that mmap(2)
returns zero filled pages; remember to replace this function as well if you
provide your own malloc implementation; ok djm@ deraadt@
deraadt [Fri, 22 Aug 2008 17:09:06 +0000 (17:09 +0000)]
Instead of spewing error messages about link status, support link status
like all drivers should
ok miod
deraadt [Fri, 22 Aug 2008 16:09:32 +0000 (16:09 +0000)]
sync
deraadt [Fri, 22 Aug 2008 16:08:12 +0000 (16:08 +0000)]
make it section 8
deraadt [Fri, 22 Aug 2008 16:01:00 +0000 (16:01 +0000)]
more crunch stuff goes away
deraadt [Fri, 22 Aug 2008 15:52:33 +0000 (15:52 +0000)]
No need to enter crunch
deraadt [Fri, 22 Aug 2008 15:49:35 +0000 (15:49 +0000)]
mksuncd lives in the base now, and one does not need to go do fiddly
things in distrib before building snaps or cds of any kind, any more.
deraadt [Fri, 22 Aug 2008 15:48:32 +0000 (15:48 +0000)]
move mksuncd to here (but still only sparc64 build)
deraadt [Fri, 22 Aug 2008 15:38:37 +0000 (15:38 +0000)]
merge crunchide into crunchgen as the -h flag. this is not yet done the
nicest way since there is lot of code that has to churn, but it works.
deraadt [Fri, 22 Aug 2008 15:18:54 +0000 (15:18 +0000)]
Merge crunchgen & crunchhide (using name checking), and move to usr.sbin
next step is to not install it as two programs, but be even more clever
deraadt [Fri, 22 Aug 2008 14:39:21 +0000 (14:39 +0000)]
set _POSIX_JOB_CONTROL and _POSIX_SAVED_IDS to the correct values; ok millert
deraadt [Fri, 22 Aug 2008 13:05:09 +0000 (13:05 +0000)]
sync
kettenis [Fri, 22 Aug 2008 13:02:53 +0000 (13:02 +0000)]
Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.
If ports people really need libbfd or libopcodes, they should just
package a suitable version.
ok weingart@, deraadt@
deraadt [Fri, 22 Aug 2008 12:56:51 +0000 (12:56 +0000)]
sync
brad [Fri, 22 Aug 2008 12:02:33 +0000 (12:02 +0000)]
mention machine/cpu.h for the CPU identifiers.
brad [Fri, 22 Aug 2008 11:51:47 +0000 (11:51 +0000)]
mention machine/cpu.h for the CPU identifiers.
kurt [Fri, 22 Aug 2008 10:41:37 +0000 (10:41 +0000)]
Set PIE address range to avoid or minimize mmap pressure due to limited
address space. The space between PAGE_SIZE and the non-pie fixed link
address creates no mmap pressure so use that space for PIE. However on
hppa the non-pie fixed link address is PAGE_SIZE so just use a small range
for PIE to minimize mmap pressure.
okay miod@
sobrado [Fri, 22 Aug 2008 08:52:35 +0000 (08:52 +0000)]
default file transfer type is binary, not ascii;
commands which toggle settings can take an explicit on or off argument
to force the setting appropiately, show these arguments in usage;
synchronize synopsis and usage of commands; spacing; KNF;
other minor documentation tweaks.
written with help by jmc@
ok jmc@ (documentation), martynas@ (type usage and default file transfer type)
jmc [Fri, 22 Aug 2008 06:41:36 +0000 (06:41 +0000)]
- -R before -r in SYNOPSIS/usage()
- avoid marking up `|'
deraadt [Fri, 22 Aug 2008 03:19:02 +0000 (03:19 +0000)]
simplification, and repair findblkmajor for name## lookups; ok krw
deraadt [Fri, 22 Aug 2008 03:12:37 +0000 (03:12 +0000)]
ANSI and other cleanups; ok krw
marco [Fri, 22 Aug 2008 02:00:12 +0000 (02:00 +0000)]
Add a hack to manually kick off rebuilds. This will need some love in the
near future.
ok deraadt
deraadt [Fri, 22 Aug 2008 01:09:11 +0000 (01:09 +0000)]
synbc
deraadt [Fri, 22 Aug 2008 01:09:07 +0000 (01:09 +0000)]
more puc happiness
jmc [Fri, 22 Aug 2008 01:06:31 +0000 (01:06 +0000)]
kill trailing whitespace;
deraadt [Fri, 22 Aug 2008 00:59:34 +0000 (00:59 +0000)]
After spotting a + record, continue scanning and pick up later groups
in the file. Problem spotted by drahn.
ok millert
millert [Fri, 22 Aug 2008 00:56:13 +0000 (00:56 +0000)]
Replace the old algorithm that included the process id as part of the
temporary file name with one that only uses random data. OK deraadt@
bluhm [Fri, 22 Aug 2008 00:48:33 +0000 (00:48 +0000)]
Test the IPv6 address printing of pf_print_host() in net/pf.c.
help and ok mpf
bluhm [Fri, 22 Aug 2008 00:35:08 +0000 (00:35 +0000)]
Make pf_print_host() print IPv6 addresses correctly.
ok mpf
bluhm [Thu, 21 Aug 2008 23:05:30 +0000 (23:05 +0000)]
Assign the ip and ip6 pointers in ipsp_process_packet() only if a
header of the matching address family is available. Especially do
not read ip->ip_off from an IPv6 packet header.
ok markus
simon [Thu, 21 Aug 2008 21:57:45 +0000 (21:57 +0000)]
Add an optional separator to stringize() and use it from do_list() to
match the GNU pkg-config --list-all output.
ok ckuethe@
oga [Thu, 21 Aug 2008 21:43:56 +0000 (21:43 +0000)]
Rip out the remnants of the vblank signal stuff. Nothing uses it, and
it's stupid anyway. Most of this was ifdefed out.
espie [Thu, 21 Aug 2008 21:02:28 +0000 (21:02 +0000)]
Document new gnu extensions, okay jmc@, otto@
espie [Thu, 21 Aug 2008 21:01:47 +0000 (21:01 +0000)]
in gnu-m4 mode, allow definition of the empty macro (yes, autoconf 2.62
actually uses this, bleh)
okay otto@
espie [Thu, 21 Aug 2008 21:01:04 +0000 (21:01 +0000)]
extend format support to cater to recent GNU autoconf
okay otto@, some useful ideas from miod@
espie [Thu, 21 Aug 2008 21:00:14 +0000 (21:00 +0000)]
gnu extension: 0rN:az for baseN numbers.
okay otto@
espie [Thu, 21 Aug 2008 20:59:14 +0000 (20:59 +0000)]
use unsigned char for buffers, allow differentiating between EOF and y".
okay otto@
oga [Thu, 21 Aug 2008 18:23:17 +0000 (18:23 +0000)]
Instead of having a number of malloced arrays for vblank handling, just
put them in a structure and malloc free an array of those, it is nicer
that way and They're all needed at the same time, anyway.
Idea taken from a suggestion on the dri-devel mailing list.
jmc [Thu, 21 Aug 2008 18:16:13 +0000 (18:16 +0000)]
+ECHOK; from Markus Bergkvist
ok deraadt
millert [Thu, 21 Aug 2008 16:54:44 +0000 (16:54 +0000)]
Remove useless code, the kernel will set errno appropriately if an
element in the path does not exist. OK deraadt@ pvalchev@
ragge [Thu, 21 Aug 2008 16:39:54 +0000 (16:39 +0000)]
Add missing dependency for external.h, from Don Hiatt.
ragge [Thu, 21 Aug 2008 16:34:10 +0000 (16:34 +0000)]
From master repo: Accept // inside #if directives.
jmc [Thu, 21 Aug 2008 05:07:04 +0000 (05:07 +0000)]
tweak previous;
jmc [Thu, 21 Aug 2008 05:04:02 +0000 (05:04 +0000)]
- add missing word in re.4
- update re(4) description in cardbus.4
djm [Thu, 21 Aug 2008 04:09:57 +0000 (04:09 +0000)]
allow ForceCommand internal-sftp with arguments. based on patch from
michael.barabanov AT gmail.com; ok markus@
pedro [Thu, 21 Aug 2008 01:17:39 +0000 (01:17 +0000)]
Fix 'if ();' construction introduced in last commit, okay deraadt@
jsg [Wed, 20 Aug 2008 22:55:33 +0000 (22:55 +0000)]
update for 8168/8102E support.
deraadt [Wed, 20 Aug 2008 22:47:12 +0000 (22:47 +0000)]
sync
dlg [Wed, 20 Aug 2008 22:19:49 +0000 (22:19 +0000)]
fix the comment about enabling socket map support
noticed by ajacoutot
pvalchev [Wed, 20 Aug 2008 20:35:52 +0000 (20:35 +0000)]
hppa autoboot instructions for new and old PDC; help & ok miodski@
miod [Wed, 20 Aug 2008 18:59:59 +0000 (18:59 +0000)]
Minimal driver for the VAXstation 35x0/38x0 LEGSS option, currently limited
to 8 bit mode operation, and no color or accelerated features until I can
find documentation about it.
Speed is decent by VAX standards, except for scrolling, which is so
abysmally slow one could see ZZ Top's beards growing while waiting for the
screen to scroll...
miod [Wed, 20 Aug 2008 18:55:24 +0000 (18:55 +0000)]
Do not mask bit 0x80 in dzcngetc() - we run serial consoles in 8N1.
miod [Wed, 20 Aug 2008 18:52:07 +0000 (18:52 +0000)]
Don't copy interesting parts of struct scsi_xfer to a read only internal
ScsiCmd structure. Since we keep a pointer to the scsi_xfer nevertheless,
we can get the information from it directly.
miod [Wed, 20 Aug 2008 18:50:17 +0000 (18:50 +0000)]
Attach led0 on ka60, and display system load on the front panel.
miod [Wed, 20 Aug 2008 18:49:12 +0000 (18:49 +0000)]
If RI_FORCEMONO is set in ri_flags, build ri_devcmap as if it was a 1bpp
frame buffer.
otto [Wed, 20 Aug 2008 18:29:37 +0000 (18:29 +0000)]
mention t3 fails
otto [Wed, 20 Aug 2008 18:28:46 +0000 (18:28 +0000)]
The code to detect multiple applied diffs to empty files I introduced 4
years ago is not correct if the diff has an empty context for other
reasons, so revert that change. Problem found by Joerg Sonnenberger;
ok tedu@ millert@
deraadt [Wed, 20 Aug 2008 18:21:13 +0000 (18:21 +0000)]
re-enable iso building
jsing [Wed, 20 Aug 2008 18:04:44 +0000 (18:04 +0000)]
Add USER_PCICONF so that pcidump can work.
Prompted by jasper@
ok miod@
miod [Wed, 20 Aug 2008 16:31:41 +0000 (16:31 +0000)]
Oops, previous console changes would initialize serial console on lines 0
(e.g. on microVAXes) at 4800 bps as if they were keyboard lines.
ratchov [Wed, 20 Aug 2008 14:22:50 +0000 (14:22 +0000)]
abuf_flush() must be called only from the ``xxx_in()'' routines (ie
triggered by POLLIN condition).
mix_pushzero() is not called from the ``xxx_in()'' chain, but calls
abuf_flush() resulting in bad initialization of the mixer, which
will lead to a deadlock at some point.
ok jakemsr
dlg [Wed, 20 Aug 2008 12:38:41 +0000 (12:38 +0000)]
enable support for socket maps.
ok millert@
thib [Wed, 20 Aug 2008 12:09:23 +0000 (12:09 +0000)]
remove a few unused files that where probably added by mistake;
spotted in a commit too FreeBSD;
ok todd@, oga@, krw@
thib [Wed, 20 Aug 2008 12:08:04 +0000 (12:08 +0000)]
Return EINVAL instead of '1' for invalid kq filters.
From NetBSD;
OK art@, blambert@
mpf [Wed, 20 Aug 2008 09:29:51 +0000 (09:29 +0000)]
Regression tests for gzip(1):
- Test if we detect truncated or corrupted files.
- Test basic functionality
OK millert@, markus@
mpf [Wed, 20 Aug 2008 09:22:02 +0000 (09:22 +0000)]
Use and report errors that inflate(3) can return, instead of
aborting silently, and pretending everything went alright.
This lets gzip(1) (especially gzip -t) detect truncated archives
and curruptions that violate the structure of the zlib format.
Unquiet compress(1) in zless/zmore, so the user has a chance
to see errors on corrupted archives.
OK millert@, markus@
miod [Wed, 20 Aug 2008 04:37:15 +0000 (04:37 +0000)]
Allow devices attaching at root (such as softraid) to be disabled in UKC.
ok marco@ deraadt@
deraadt [Tue, 19 Aug 2008 11:52:15 +0000 (11:52 +0000)]
sync
markus [Tue, 19 Aug 2008 10:37:12 +0000 (10:37 +0000)]
use the actual keysize from the SA to figure out which AES variant
(aes-192, aes-256) is used; ok hshoexer@
pedro [Tue, 19 Aug 2008 09:49:50 +0000 (09:49 +0000)]
When failing to acquire the vnode lock in readdir_with_callback(), don't
try to release it before returning, okay fgsch@ and tedu@.