openbsd
16 years agoregen
brad [Tue, 26 Aug 2008 05:41:46 +0000 (05:41 +0000)]
regen

16 years agoAdd the PCI id for the Broadcom BCM5785 Ethernet controller.
brad [Tue, 26 Aug 2008 05:41:07 +0000 (05:41 +0000)]
Add the PCI id for the Broadcom BCM5785 Ethernet controller.

16 years agoregen
jsing [Tue, 26 Aug 2008 05:17:07 +0000 (05:17 +0000)]
regen

prompted by todd@

16 years agocorrect +name handling; schwarze@usta.de
deraadt [Mon, 25 Aug 2008 22:30:19 +0000 (22:30 +0000)]
correct +name handling; schwarze@usta.de

16 years agotwo spelling fixes from Anathae Townsend;
jmc [Mon, 25 Aug 2008 20:43:49 +0000 (20:43 +0000)]
two spelling fixes from Anathae Townsend;

16 years ago- usb stuff
jasper [Mon, 25 Aug 2008 18:22:41 +0000 (18:22 +0000)]
- usb stuff

16 years agoMake all combinations of G, P, J and zero-fill work with as little
otto [Mon, 25 Aug 2008 17:56:17 +0000 (17:56 +0000)]
Make all combinations of G, P, J and zero-fill work with as little
effort as possible in most cases; ok djm@

16 years agoWe can install from a CD-ROM now...
jsing [Mon, 25 Aug 2008 17:21:56 +0000 (17:21 +0000)]
We can install from a CD-ROM now...

16 years agouse ?= for adjusting RELXDIR for all sets
deraadt [Mon, 25 Aug 2008 17:18:55 +0000 (17:18 +0000)]
use ?= for adjusting RELXDIR for all sets

16 years agoNow that the rest of the infrastructure is in place, actually create a
jsing [Mon, 25 Aug 2008 17:13:25 +0000 (17:13 +0000)]
Now that the rest of the infrastructure is in place, actually create a
working installXX.iso for OpenBSD/sgi!

ok deraadt@

16 years ago- add a bunch of enabled usb devices that have been tested.
jasper [Mon, 25 Aug 2008 16:15:53 +0000 (16:15 +0000)]
- add a bunch of enabled usb devices that have been tested.

together with the previous commits by jsing@, OpenBSD/sgi does USB now.

ok jsing@ miod@

16 years agoMake sgivol(8) use the device sector size for reads and writes. This allows
jsing [Mon, 25 Aug 2008 14:53:34 +0000 (14:53 +0000)]
Make sgivol(8) use the device sector size for reads and writes. This allows
us to use sgivol on devices which have a sector size != DEV_BSIZE, such as
a CD drive.

ok miod@ krw@

16 years agoAdd bus_space_read_raw_region_* and bus_space_write_raw_region_* bus space
jsing [Mon, 25 Aug 2008 14:05:51 +0000 (14:05 +0000)]
Add bus_space_read_raw_region_* and bus_space_write_raw_region_* bus space
accessors to OpenBSD/sgi.

ok miod@

16 years agoregen
jsing [Mon, 25 Aug 2008 14:01:55 +0000 (14:01 +0000)]
regen

16 years agoAdd USB devices.
jsing [Mon, 25 Aug 2008 14:00:33 +0000 (14:00 +0000)]
Add USB devices.

ok miod@ jasper@

16 years agoAdd device majors for USB character devices in OpenBSD/sgi.
jsing [Mon, 25 Aug 2008 13:51:12 +0000 (13:51 +0000)]
Add device majors for USB character devices in OpenBSD/sgi.

ok miod@ jasper@

16 years agoUnbreak.
jsing [Mon, 25 Aug 2008 13:35:34 +0000 (13:35 +0000)]
Unbreak.

ok miod@

16 years agominor tweak for removal of "[-d devel]" (change done in r1.19 and r1.21).
sobrado [Mon, 25 Aug 2008 11:56:12 +0000 (11:56 +0000)]
minor tweak for removal of "[-d devel]" (change done in r1.19 and r1.21).

ok ratchov@

16 years agoIf partoffp is non-NULL then readdoslabel() is just looking for the
krw [Mon, 25 Aug 2008 11:27:00 +0000 (11:27 +0000)]
If partoffp is non-NULL then readdoslabel() is just looking for the
correct address to write the passed label. Don't spoof partitions
while looking for the address, as this could result in an invalid
label being written out.

"That looks right" deraadt@ "Looks good to me" miod@

16 years agoCorrectly invalidate attribute cache entries in case the vnode mode
pedro [Mon, 25 Aug 2008 09:26:17 +0000 (09:26 +0000)]
Correctly invalidate attribute cache entries in case the vnode mode
changes, okay beck@, tedu@ and thib@.

16 years agohow about i commit what was actually approved? wrong tree, bad todd ;-(
todd [Mon, 25 Aug 2008 03:16:22 +0000 (03:16 +0000)]
how about i commit what was actually approved? wrong tree, bad todd ;-(

16 years agoo implement proper volume control table based on chipset docs
todd [Sun, 24 Aug 2008 23:44:44 +0000 (23:44 +0000)]
o implement proper volume control table based on chipset docs
o attempt to make record work (but silence for now)
from drahn@, ok maja@, drahn@

16 years agoprepends, not overrides default search path. with/ok kurt@
martynas [Sun, 24 Aug 2008 20:43:53 +0000 (20:43 +0000)]
prepends, not overrides default search path.  with/ok kurt@

16 years agoTadpole Viper onboard ethernet has no eeprom either, but the PROM entry
deraadt [Sun, 24 Aug 2008 20:24:43 +0000 (20:24 +0000)]
Tadpole Viper onboard ethernet has no eeprom either, but the PROM entry
has subsystem ids set to the same as the regular ids, so the heuristic does
not work.  So look for the TAD,Viper machine name.  When we get our hand on
a Bullfrog (with a PCI slot) we will need to revisit this.
ok kettenis

16 years agoralink firmware on the ramdisk
deraadt [Sun, 24 Aug 2008 20:13:35 +0000 (20:13 +0000)]
ralink firmware on the ramdisk

16 years agomany more devices for the RAMDISK
deraadt [Sun, 24 Aug 2008 20:13:21 +0000 (20:13 +0000)]
many more devices for the RAMDISK

16 years agoDefine a proper wsdisplay type for legss(4).
miod [Sun, 24 Aug 2008 20:10:55 +0000 (20:10 +0000)]
Define a proper wsdisplay type for legss(4).

16 years agoGet VIDIOC_G_FMT working (makes ekiga happy).
mglocker [Sun, 24 Aug 2008 19:46:45 +0000 (19:46 +0000)]
Get VIDIOC_G_FMT working (makes ekiga happy).

16 years agoCorrect eisa i/o ports layout structure, this has probably been broken
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.

16 years agoproper indent
deraadt [Sun, 24 Aug 2008 16:30:18 +0000 (16:30 +0000)]
proper indent

16 years agoremove the ls=ls -gCF alias: we already have an alias for ls (-CF),
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

16 years agovsbus machines also have modem control bits on line #2, no need to fake them.
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.

16 years agoWriting to the DTR register on KA60 resets the TCR register behind our back.
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)

16 years agotypo
miod [Sun, 24 Aug 2008 14:49:58 +0000 (14:49 +0000)]
typo

16 years agoCorrect dmesg, do not mention dz is the console device if running with
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.

16 years agoFix readdpmelabel() so it doesn't corrupt a disklabel about to be
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@

16 years agoUse consistent variable names; curr -> cur, err -> error.
mglocker [Sun, 24 Aug 2008 11:43:00 +0000 (11:43 +0000)]
Use consistent variable names;  curr -> cur, err -> error.

16 years agoAdd support for processing unit (e.g. brightness) controls. New V4L2
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.

16 years agodont display disk geometry (cyls/heads/sectors) since it mostly lies these
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@

16 years agoAdd Atheros OUI and Atheros F1 id.
brad [Sun, 24 Aug 2008 08:23:15 +0000 (08:23 +0000)]
Add Atheros OUI and Atheros F1 id.

From FreeBSD

16 years agoregen
brad [Sun, 24 Aug 2008 08:20:35 +0000 (08:20 +0000)]
regen

16 years agoBCM5714 also supports fiber interfaces.
brad [Sun, 24 Aug 2008 08:20:21 +0000 (08:20 +0000)]
BCM5714 also supports fiber interfaces.

16 years agosurplus semicolon on if statement
jsg [Sun, 24 Aug 2008 03:13:12 +0000 (03:13 +0000)]
surplus semicolon on if statement

16 years agoSlight speed improvement by using byte accesses on word boundaries for all
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.

16 years agoPick the correct host adapter id from nvram.
miod [Sat, 23 Aug 2008 12:40:22 +0000 (12:40 +0000)]
Pick the correct host adapter id from nvram.

16 years agoadd missing header needed by asprintf().
chl [Sat, 23 Aug 2008 10:08:02 +0000 (10:08 +0000)]
add missing header needed by asprintf().

ok otto@ deraadt@

16 years agomake mbstowcs(NULL, string, 0) correctly return the length of the
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@

16 years agounbreak MALLOC_OPTIONS=G that I broke in my last commit;
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@

16 years ago- document -h
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()

16 years agoufs -> UFS;
jmc [Sat, 23 Aug 2008 07:08:06 +0000 (07:08 +0000)]
ufs -> UFS;

16 years agoit's no longer necessary to build crunch by hand, so adjust the
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;

16 years agofix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled into
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@

16 years agounbreak wcschr(string, L'\0') which was incorrectly returning NULL
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@

16 years agomake sure we always map and unmap multiples of MALLOC_PAGESIZE;
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@

16 years agoLet lkms(4) support VSXXX-AB tablets in addition to the mice it already
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.

16 years agoa ; in a bad place; dragonfly; ok mglocker
deraadt [Fri, 22 Aug 2008 19:58:21 +0000 (19:58 +0000)]
a ; in a bad place; dragonfly; ok mglocker

16 years agoSmarter implementation of calloc(3), which uses the fact that mmap(2)
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@

16 years agoInstead of spewing error messages about link status, support link status
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

16 years agosync
deraadt [Fri, 22 Aug 2008 16:09:32 +0000 (16:09 +0000)]
sync

16 years agomake it section 8
deraadt [Fri, 22 Aug 2008 16:08:12 +0000 (16:08 +0000)]
make it section 8

16 years agomore crunch stuff goes away
deraadt [Fri, 22 Aug 2008 16:01:00 +0000 (16:01 +0000)]
more crunch stuff goes away

16 years agoNo need to enter crunch
deraadt [Fri, 22 Aug 2008 15:52:33 +0000 (15:52 +0000)]
No need to enter crunch

16 years agomksuncd lives in the base now, and one does not need to go do fiddly
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.

16 years agomove mksuncd to here (but still only sparc64 build)
deraadt [Fri, 22 Aug 2008 15:48:32 +0000 (15:48 +0000)]
move mksuncd to here (but still only sparc64 build)

16 years agomerge crunchide into crunchgen as the -h flag. this is not yet done the
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.

16 years agoMerge crunchgen & crunchhide (using name checking), and move to usr.sbin
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

16 years agoset _POSIX_JOB_CONTROL and _POSIX_SAVED_IDS to the correct values; ok millert
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

16 years agosync
deraadt [Fri, 22 Aug 2008 13:05:09 +0000 (13:05 +0000)]
sync

16 years agoDon't install libbfd and libopcodes and the associated headers.
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@

16 years agosync
deraadt [Fri, 22 Aug 2008 12:56:51 +0000 (12:56 +0000)]
sync

16 years agomention machine/cpu.h for the CPU identifiers.
brad [Fri, 22 Aug 2008 12:02:33 +0000 (12:02 +0000)]
mention machine/cpu.h for the CPU identifiers.

16 years agomention 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.

16 years agoSet PIE address range to avoid or minimize mmap pressure due to limited
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@

16 years agodefault file transfer type is binary, not ascii;
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)

16 years ago- -R before -r in SYNOPSIS/usage()
jmc [Fri, 22 Aug 2008 06:41:36 +0000 (06:41 +0000)]
- -R before -r in SYNOPSIS/usage()
- avoid marking up `|'

16 years agosimplification, and repair findblkmajor for name## lookups; ok krw
deraadt [Fri, 22 Aug 2008 03:19:02 +0000 (03:19 +0000)]
simplification, and repair findblkmajor for name## lookups; ok krw

16 years agoANSI and other cleanups; ok krw
deraadt [Fri, 22 Aug 2008 03:12:37 +0000 (03:12 +0000)]
ANSI and other cleanups; ok krw

16 years agoAdd a hack to manually kick off rebuilds. This will need some love in the
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

16 years agosynbc
deraadt [Fri, 22 Aug 2008 01:09:11 +0000 (01:09 +0000)]
synbc

16 years agomore puc happiness
deraadt [Fri, 22 Aug 2008 01:09:07 +0000 (01:09 +0000)]
more puc happiness

16 years agokill trailing whitespace;
jmc [Fri, 22 Aug 2008 01:06:31 +0000 (01:06 +0000)]
kill trailing whitespace;

16 years agoAfter spotting a + record, continue scanning and pick up later groups
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

16 years agoReplace the old algorithm that included the process id as part of the
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@

16 years agoTest the IPv6 address printing of pf_print_host() in net/pf.c.
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

16 years agoMake pf_print_host() print IPv6 addresses correctly.
bluhm [Fri, 22 Aug 2008 00:35:08 +0000 (00:35 +0000)]
Make pf_print_host() print IPv6 addresses correctly.
ok mpf

16 years agoAssign the ip and ip6 pointers in ipsp_process_packet() only if a
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

16 years agoAdd an optional separator to stringize() and use it from do_list() to
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@

16 years agoRip out the remnants of the vblank signal stuff. Nothing uses it, and
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.

16 years agoDocument new gnu extensions, okay jmc@, otto@
espie [Thu, 21 Aug 2008 21:02:28 +0000 (21:02 +0000)]
Document new gnu extensions, okay jmc@, otto@

16 years agoin gnu-m4 mode, allow definition of the empty macro (yes, autoconf 2.62
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@

16 years agoextend format support to cater to recent GNU autoconf
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@

16 years agognu extension: 0rN:az for baseN numbers.
espie [Thu, 21 Aug 2008 21:00:14 +0000 (21:00 +0000)]
gnu extension: 0rN:az   for  baseN numbers.

okay otto@

16 years agouse unsigned char for buffers, allow differentiating between EOF and y".
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@

16 years agoInstead of having a number of malloced arrays for vblank handling, just
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.

16 years ago+ECHOK; from Markus Bergkvist
jmc [Thu, 21 Aug 2008 18:16:13 +0000 (18:16 +0000)]
+ECHOK; from Markus Bergkvist
ok deraadt

16 years agoRemove useless code, the kernel will set errno appropriately if an
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@

16 years agoAdd missing dependency for external.h, from Don Hiatt.
ragge [Thu, 21 Aug 2008 16:39:54 +0000 (16:39 +0000)]
Add missing dependency for external.h, from Don Hiatt.

16 years agoFrom master repo: Accept // inside #if directives.
ragge [Thu, 21 Aug 2008 16:34:10 +0000 (16:34 +0000)]
From master repo:  Accept // inside #if directives.

16 years agotweak previous;
jmc [Thu, 21 Aug 2008 05:07:04 +0000 (05:07 +0000)]
tweak previous;

16 years ago- add missing word in re.4
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