openbsd
14 years agofix header during update
espie [Fri, 30 Jul 2010 10:06:44 +0000 (10:06 +0000)]
fix header during update

14 years agoRemove unused header file.
miod [Fri, 30 Jul 2010 07:57:09 +0000 (07:57 +0000)]
Remove unused header file.

14 years agoReplace abort(), fatal(), and errx() with return -1, since date_parse
ray [Thu, 29 Jul 2010 18:52:45 +0000 (18:52 +0000)]
Replace abort(), fatal(), and errx() with return -1, since date_parse
returns -1 on error.

OK nicm

14 years agoDon't set sc_ec until after the EC registers are mapped, but before we
kettenis [Thu, 29 Jul 2010 18:32:26 +0000 (18:32 +0000)]
Don't set sc_ec until after the EC registers are mapped, but before we
execute the _REG method to make the EC available to the AML.

ok marco@

14 years agochange URLs to point to the more recent porter's handbook;
steven [Thu, 29 Jul 2010 17:38:13 +0000 (17:38 +0000)]
change URLs to point to the more recent porter's handbook;
mention the use of packages first.

ok sthen@

14 years agoPrint a column with the routing label if "netstat -vr" or "route
bluhm [Thu, 29 Jul 2010 16:35:40 +0000 (16:35 +0000)]
Print a column with the routing label if "netstat -vr" or "route
-v show" are called with the -v switch.
ok markus@

14 years agosome error cases returned 01 when they should have been returning -1
jsg [Thu, 29 Jul 2010 14:41:21 +0000 (14:41 +0000)]
some error cases returned 01 when they should have been returning -1
spotted by Mike Belopuhov.

14 years agosort pool.h into the list of includes alphabetically
blambert [Thu, 29 Jul 2010 14:40:47 +0000 (14:40 +0000)]
sort pool.h into the list of includes alphabetically

pointed out by kettenis@, ok miod@

14 years ago#include <sys/pool.h> directly, instead of relying on mbuf.h to inlcude it
blambert [Thu, 29 Jul 2010 14:06:26 +0000 (14:06 +0000)]
#include <sys/pool.h> directly, instead of relying on mbuf.h to inlcude it

ok miod@ tedu@

14 years agoreplace two misleading ie. with e.g.; from Jan Stary
jmc [Thu, 29 Jul 2010 13:55:48 +0000 (13:55 +0000)]
replace two misleading ie. with e.g.; from Jan Stary

14 years agoDon't forget to register the i8254-based timecounter if we use the i8254
kettenis [Thu, 29 Jul 2010 13:36:30 +0000 (13:36 +0000)]
Don't forget to register the i8254-based timecounter if we use the i8254
for clock interrupts.  Unbreaks amd64 in PIC mode.

14 years agoAdd some more devices. -moj
maja [Thu, 29 Jul 2010 12:37:16 +0000 (12:37 +0000)]
Add some more devices. -moj

14 years agosync
maja [Thu, 29 Jul 2010 12:34:09 +0000 (12:34 +0000)]
sync

14 years agoAdd some more displaylink devices. -moj
maja [Thu, 29 Jul 2010 12:32:04 +0000 (12:32 +0000)]
Add some more displaylink devices. -moj

14 years agoflag if an error during attach caused us to detach our resources, and
jakemsr [Thu, 29 Jul 2010 01:39:03 +0000 (01:39 +0000)]
flag if an error during attach caused us to detach our resources, and
if so, don't do anything on suspend/resume.  should fix crash reported
by mlarkin.

14 years agoRemove stray newline, fix $OpenBSD$; ok deraadt
stsp [Thu, 29 Jul 2010 00:50:10 +0000 (00:50 +0000)]
Remove stray newline, fix $OpenBSD$; ok deraadt

14 years agoZero out the firmware waking vector on successful resume from ACPI sleep.
mlarkin [Thu, 29 Jul 2010 00:29:49 +0000 (00:29 +0000)]
Zero out the firmware waking vector on successful resume from ACPI sleep.

ok deraadt@

14 years agoTruncate output file when compressing. OK deraadt@
millert [Wed, 28 Jul 2010 23:52:01 +0000 (23:52 +0000)]
Truncate output file when compressing.  OK deraadt@

14 years agoDVD_INVALIDATE_AGID is a 'no payload' operation, so don't set
krw [Wed, 28 Jul 2010 23:47:43 +0000 (23:47 +0000)]
DVD_INVALIDATE_AGID is a 'no payload' operation, so don't set
xs->datalen and reset xs->data to NULL. This prevents a spurious
attempt to setup (dma map, etc) and possibly attempt data tranfser.

In line with what Linux and FreeBSD do as far as I can tell.

Reduces the delay before my DVD starts playing its movie.

Idea to also set xs->data to NULL from matthew@.

"No objection" matthew@

14 years agodup() the stdin fd so it isn't closed twice (once for stdin, once for tty).
nicm [Wed, 28 Jul 2010 22:15:15 +0000 (22:15 +0000)]
dup() the stdin fd so it isn't closed twice (once for stdin, once for tty).

14 years agoAdd a dummy kqueue filter similar to seltrue and use it for anything
nicm [Wed, 28 Jul 2010 21:44:41 +0000 (21:44 +0000)]
Add a dummy kqueue filter similar to seltrue and use it for anything
using seltrue for poll. Based on code from NetBSD.

Also remove a stray duplicate lpt entry from loongson, from deraadt.

ok tedu deraadt

14 years agoSuspending drivers need to do as little as possible in here, so when the
deraadt [Wed, 28 Jul 2010 21:24:52 +0000 (21:24 +0000)]
Suspending drivers need to do as little as possible in here, so when the
transition is to INIT, try to not generate management frames if we can
avoid it.
ok damien

14 years agoMake legacy xxpower() functions call xxstop() on suspend, and simplify their
deraadt [Wed, 28 Jul 2010 21:21:38 +0000 (21:21 +0000)]
Make legacy xxpower() functions call xxstop() on suspend, and simplify their
resume paths.  For new-style suspend/resume, add a ca_activate function where
it is missing, and use a workq to resume because these drivers like to sleep.
ok damien

14 years agoSupport -U and -C to specify the context length for "cvs diff".
nicm [Wed, 28 Jul 2010 21:19:30 +0000 (21:19 +0000)]
Support -U and -C to specify the context length for "cvs diff".

This doesn't alter cvs rdiff, where -U and -C are not support by GNU
cvs.

ok sthen zinovik

14 years agothe default pciide chip needs no additional register restores; tested by jcs on one...
deraadt [Wed, 28 Jul 2010 18:31:51 +0000 (18:31 +0000)]
the default pciide chip needs no additional register restores; tested by jcs on one model

14 years agoFix fallout from the utf-8 commit (segfaults in disklabel on install media).
stsp [Wed, 28 Jul 2010 16:16:55 +0000 (16:16 +0000)]
Fix fallout from the utf-8 commit (segfaults in disklabel on install media).
Sorry about that.
ok sthen deraadt

14 years agomore #ifdef needed for the case of not pegging on a non-MP kernel
deraadt [Wed, 28 Jul 2010 16:15:25 +0000 (16:15 +0000)]
more #ifdef needed for the case of not pegging on a non-MP kernel

14 years agoremove stub code for rw locks we will never need; ok kettenis marco
deraadt [Wed, 28 Jul 2010 16:00:29 +0000 (16:00 +0000)]
remove stub code for rw locks we will never need; ok kettenis marco

14 years agoIt's pretty pointless to peg ourselves to the primary CPU if that's the
kettenis [Wed, 28 Jul 2010 15:59:38 +0000 (15:59 +0000)]
It's pretty pointless to peg ourselves to the primary CPU if that's the
only one we have.

ok krw@, deraadt@

14 years agosuspend save/restore for SIS3112; tested by mlarkin
deraadt [Wed, 28 Jul 2010 15:50:19 +0000 (15:50 +0000)]
suspend save/restore for SIS3112; tested by mlarkin

14 years agoChange back to the pre rev 1.11 behaviour of not treating unexpected
jsg [Wed, 28 Jul 2010 15:45:04 +0000 (15:45 +0000)]
Change back to the pre rev 1.11 behaviour of not treating unexpected
id payloads as errors.  Lets interop with strongSwan which sends
both IDi and IDr work again.

14 years agomore explicit message
espie [Wed, 28 Jul 2010 15:06:14 +0000 (15:06 +0000)]
more explicit message

14 years agolet fatal work, fix typo
espie [Wed, 28 Jul 2010 15:05:33 +0000 (15:05 +0000)]
let fatal work, fix typo

14 years agoMake all gasio failures look and behave the same.
marco [Wed, 28 Jul 2010 14:39:43 +0000 (14:39 +0000)]
Make all gasio failures look and behave the same.

14 years agopass state to Ustar objects, use it to display those pesky error and
espie [Wed, 28 Jul 2010 12:19:54 +0000 (12:19 +0000)]
pass state to Ustar objects, use it to display those pesky error and
fatal messages.

zap $opt_x from pkg_mklocated, do things like other commands do.

14 years agoRevert parts of previous change leading to assertion failure for
martinh [Wed, 28 Jul 2010 10:06:19 +0000 (10:06 +0000)]
Revert parts of previous change leading to assertion failure for
certain modify operations. Also fix logic error when replacing an attribute
with the empty set.

14 years agoMake BUFs autoextend by default. This was already done in OpenCVS
ray [Wed, 28 Jul 2010 09:07:11 +0000 (09:07 +0000)]
Make BUFs autoextend by default.  This was already done in OpenCVS
a while ago.

OK zinovik nicm

14 years agoSync hcreate(3) with NetBSD, adding some caveats.
ray [Wed, 28 Jul 2010 09:00:20 +0000 (09:00 +0000)]
Sync hcreate(3) with NetBSD, adding some caveats.

OK jmc

14 years agoDelay a little longer on suspend before giving up. Fixes machines that
mlarkin [Wed, 28 Jul 2010 07:32:16 +0000 (07:32 +0000)]
Delay a little longer on suspend before giving up. Fixes machines that
sometimes don't suspend because the sleep transition takes too long
(symptoms like failing to sleep but the backlight stays on).

ok deraadt@

14 years agopfsync_bulk_fail was mucking around with pfsync_softc and sending packets
dlg [Wed, 28 Jul 2010 06:52:05 +0000 (06:52 +0000)]
pfsync_bulk_fail was mucking around with pfsync_softc and sending packets
without holding splsoftnet. this adds the necessary protection.

reported by patrick coleman

14 years agoNo need to bzero() malloc'd memory if we used M_ZERO.
krw [Wed, 28 Jul 2010 01:53:12 +0000 (01:53 +0000)]
No need to bzero() malloc'd memory if we used M_ZERO.

ok matthew@

14 years agoremove an ancient XXX
deraadt [Tue, 27 Jul 2010 23:36:35 +0000 (23:36 +0000)]
remove an ancient XXX

14 years agoremove XXX; EC can now be attached early when needed; ok jordan
deraadt [Tue, 27 Jul 2010 23:33:21 +0000 (23:33 +0000)]
remove XXX; EC can now be attached early when needed; ok jordan

14 years agomore brackets feels good
deraadt [Tue, 27 Jul 2010 22:58:48 +0000 (22:58 +0000)]
more brackets feels good

14 years agoXXX annotate a block in acpi_enter_sleep_state() that is pretty worrying
deraadt [Tue, 27 Jul 2010 22:57:48 +0000 (22:57 +0000)]
XXX annotate a block in acpi_enter_sleep_state() that is pretty worrying

14 years agodo not match a 2nd EC if something horrible happens; ok marco
deraadt [Tue, 27 Jul 2010 22:57:22 +0000 (22:57 +0000)]
do not match a 2nd EC if something horrible happens; ok marco

14 years agoca_activate handler for suspend/resume. untested -- if someone tests
deraadt [Tue, 27 Jul 2010 22:39:59 +0000 (22:39 +0000)]
ca_activate handler for suspend/resume.  untested -- if someone tests
this let me know.

14 years agoSpaces vs tab
marco [Tue, 27 Jul 2010 22:32:51 +0000 (22:32 +0000)]
Spaces vs tab

14 years agoRemove a stray space. No binary change.
marco [Tue, 27 Jul 2010 22:29:09 +0000 (22:29 +0000)]
Remove a stray space.  No binary change.

14 years agohorrific indentation that nearly made me puke
deraadt [Tue, 27 Jul 2010 22:11:44 +0000 (22:11 +0000)]
horrific indentation that nearly made me puke

14 years agospacing; ok deraadt@
todd [Tue, 27 Jul 2010 21:56:11 +0000 (21:56 +0000)]
spacing; ok deraadt@

14 years agoRevert 1.34 certain systems need the parent ec pointer initialized earlier.
marco [Tue, 27 Jul 2010 21:55:54 +0000 (21:55 +0000)]
Revert 1.34 certain systems need the parent ec pointer initialized earlier.
This fixes acpi interrupts on the latitude e6500.

Tested on e6500 and x61.

debugged with, and ok jordan

14 years agospacing
deraadt [Tue, 27 Jul 2010 21:40:40 +0000 (21:40 +0000)]
spacing

14 years agoadd bce_activate(), suspends and resumes on my laptop
todd [Tue, 27 Jul 2010 21:35:51 +0000 (21:35 +0000)]
add bce_activate(), suspends and resumes on my laptop
ok deraadt@

14 years agoMake sure we stop DMA before we suspend. Remove unused argument to re_stop()
kettenis [Tue, 27 Jul 2010 20:53:39 +0000 (20:53 +0000)]
Make sure we stop DMA before we suspend.  Remove unused argument to re_stop()
to avoid the dilemma what meaningless value to pass.

ok deraadt@

14 years agoFix compilation on gcc2 platforms, where _Bool and _Complex aren't
guenther [Tue, 27 Jul 2010 20:07:56 +0000 (20:07 +0000)]
Fix compilation on gcc2 platforms, where _Bool and _Complex aren't
built into the compiler and instead have to be gotten from stdbool.h
and complex.h

Problem noted by miod@, fix by deraadt@

14 years agoMake sure we stop DMA before we suspend.
kettenis [Tue, 27 Jul 2010 19:38:18 +0000 (19:38 +0000)]
Make sure we stop DMA before we suspend.

ok deraadt@

14 years agosync
deraadt [Tue, 27 Jul 2010 19:28:03 +0000 (19:28 +0000)]
sync

14 years agoca_activate function for suspend/resume
deraadt [Tue, 27 Jul 2010 17:34:26 +0000 (17:34 +0000)]
ca_activate function for suspend/resume
tested by mlarkin

14 years agoReplace the single-byte placeholders for the multi-byte/wide-character
stsp [Tue, 27 Jul 2010 16:59:03 +0000 (16:59 +0000)]
Replace the single-byte placeholders for the multi-byte/wide-character
conversion interfaces of libc (mbrtowc(3) and friends) with new
implementations that internally call an API based on NetBSD's citrus.
This allows us to support locales with multi-byte character encodings.

Provide two implementations of the citrus-based API: one based on the old
single-byte placeholders for use with our existing single-byte character
locales (C, ISO8859-*, KOI8, CP1251, etc.), and one that provides support
for UTF-8 encoded characters (code based on FreeBSD's implementation).

Install the en_US.UTF-8 ctype locale support file, and allow the UTF-8
ctype locale to be enabled via setlocale(3) (export LC_CTYPE='en_US.UTF-8').

A lot of programs, especially from ports, will now start using UTF-8 if the
UTF-8 locale is enabled. Use at your own risk, and please report any breakage.
Note that ncurses-based programs cannot display UTF-8 right now, this is being
worked on.

To prevent install media growth, add vfprintf(3) and mbrtowc(3) to libstubs.
The mbrtowc stub was copied unchanged from its old single-byte placeholder.
vfprintf.c doesn't need to be copied, just put in .PATH (hint by fgsch@).

Testing by myself, naddy, sthen, nicm, espie, armani, Dmitrij D. Czarkoff.

ok matthieu espie millert sthen nicm deraadt

14 years agodelete a #if 0 chunk which was used for early development and will never
deraadt [Tue, 27 Jul 2010 16:53:10 +0000 (16:53 +0000)]
delete a #if 0 chunk which was used for early development and will never
be reused
ok jordan

14 years agoSet the sleeping indicator light on machines that support it, in case SMI
mlarkin [Tue, 27 Jul 2010 16:20:17 +0000 (16:20 +0000)]
Set the sleeping indicator light on machines that support it, in case SMI
doesn't do it for us. Shows the 'moon' LED on older Thinkpads when
sleeping.

Tested on T43p, W500, T510 by me and on X61s by deraadt@.

ok deraadt@

14 years agoproperly escape some "!"; reported by kristaps
jmc [Tue, 27 Jul 2010 09:27:35 +0000 (09:27 +0000)]
properly escape some "!"; reported by kristaps

14 years agoprint these better
espie [Tue, 27 Jul 2010 09:09:43 +0000 (09:09 +0000)]
print these better

14 years agoAdd ldapd to rc and rc.conf. Enable it at boot with ldapd_flags=.
martinh [Tue, 27 Jul 2010 08:37:33 +0000 (08:37 +0000)]
Add ldapd to rc and rc.conf. Enable it at boot with ldapd_flags=.

ok deraadt@ gilles@

14 years agoRepost ATI Radeon HD4500 on HP Pavilion dv7-3160us using the emulator,
mlarkin [Tue, 27 Jul 2010 07:42:34 +0000 (07:42 +0000)]
Repost ATI Radeon HD4500 on HP Pavilion dv7-3160us using the emulator,
in the same style we have done for all other ATI Radeon devices found so
far. Fixes video on said machine on resume.

14 years agofix some spacing issues; noted by kristaps
jmc [Tue, 27 Jul 2010 07:04:04 +0000 (07:04 +0000)]
fix some spacing issues; noted by kristaps

14 years agoannoying spaces getting in the way
deraadt [Tue, 27 Jul 2010 06:12:50 +0000 (06:12 +0000)]
annoying spaces getting in the way

14 years agoEarly initialization of acpiec if ECDT table exists
jordan [Tue, 27 Jul 2010 05:17:36 +0000 (05:17 +0000)]
Early initialization of acpiec if ECDT table exists
Fixes hang when booting thinkpads while docked
ok deraadt

14 years agoAdd scsi_cmd_rw_decode() for decoding any SCSI READ or WRITE command,
matthew [Tue, 27 Jul 2010 04:41:56 +0000 (04:41 +0000)]
Add scsi_cmd_rw_decode() for decoding any SCSI READ or WRITE command,
and update atascsi(4) to make use of it.  (Other HBAs will be updated
post-release.)  Should allow for use of SATA drives with >2^32 LBAs.

ok deraadt@, dlg@, krw@

14 years agoreplace acpitz_getreading goo with proper aml_evalinteger.
marco [Tue, 27 Jul 2010 04:28:36 +0000 (04:28 +0000)]
replace acpitz_getreading goo with proper aml_evalinteger.

From jordan.

14 years agothe queue entry and state variables in the xsh and ioh structs are part
dlg [Tue, 27 Jul 2010 04:17:10 +0000 (04:17 +0000)]
the queue entry and state variables in the xsh and ioh structs are part
of a separate struct which the ioh struct includes for no good reason
anymore. just put the vars directly in the ioh.

this removes this useless abstraction.

ok krw@ matthew@

14 years agoProperly handle the size field in pflog link header
canacar [Tue, 27 Jul 2010 04:13:34 +0000 (04:13 +0000)]
Properly handle the size field in pflog link header
when generating the filter. This will allow the pflog
header to be extended without adding a new link type.

No change to generated code for other link types.

ok henning@

14 years agoFix #ifdef DDB/#ifdef SMALL_KERNEL uses so all four combinations
krw [Tue, 27 Jul 2010 02:00:36 +0000 (02:00 +0000)]
Fix #ifdef DDB/#ifdef SMALL_KERNEL uses so all four combinations
(DDB/SMALL_KERNEL, DDB/!SMALL_KERNEL, !DDB/!SMALL_KERNEL,
!DDB/SMALL_KERNEL) can compile. A DDB bsd.rd is thus possible again.

Correction to my original diff from miod@

"If it compiles, commit" deraadt@

14 years agoAdd additional Notify handler for dock devices, according to ACPI spec
jordan [Tue, 27 Jul 2010 01:21:19 +0000 (01:21 +0000)]
Add additional Notify handler for dock devices, according to ACPI spec
ok marco

14 years agoAlign FFS filesystem start and end sectors so the start is on a
krw [Tue, 27 Jul 2010 00:49:42 +0000 (00:49 +0000)]
Align FFS filesystem start and end sectors so the start is on a
bsize boundary and the end fills up the last bsize chunk.

Don't change the start sector if it is the first sector of the
OpenBSD portion of the disk.

Don't attempt to align on SUN_CYLCHECK architectures. They are
attempting a different alignment.

This is an attempt to ensure that FFS i/o's are aligned for optimal
performance on newer disks that lie about their sector size.

14 years agoacpiasus for amd64 too, Henri Kemppainen
deraadt [Tue, 27 Jul 2010 00:40:19 +0000 (00:40 +0000)]
acpiasus for amd64 too, Henri Kemppainen

14 years agoNuke 'sectoffset'. A stub variable no longer used except to supply
krw [Tue, 27 Jul 2010 00:07:26 +0000 (00:07 +0000)]
Nuke 'sectoffset'. A stub variable no longer used except to supply
the value 0 to one function call. Use 0 there, eliminate the
variable and the pointless verbose verbiage that always displayed
the same value.

ok deraadt@ matthew@

14 years agoca_activate function brings eeepc 1000HE back after resume.
deraadt [Tue, 27 Jul 2010 00:03:03 +0000 (00:03 +0000)]
ca_activate function brings eeepc 1000HE back after resume.
tested by krw

14 years agobetter progress_message
espie [Mon, 26 Jul 2010 23:28:06 +0000 (23:28 +0000)]
better progress_message

14 years agotypo in message
espie [Mon, 26 Jul 2010 23:27:28 +0000 (23:27 +0000)]
typo in message

14 years agorecording/full-duplex support
jakemsr [Mon, 26 Jul 2010 23:17:19 +0000 (23:17 +0000)]
recording/full-duplex support
ok kettenis

14 years agoca_activate function brings eeepc701 network back after resume.
deraadt [Mon, 26 Jul 2010 22:21:59 +0000 (22:21 +0000)]
ca_activate function brings eeepc701 network back after resume.
tested by oga

14 years agoMicrosoft LifeCam needs the framesize quirk as well.
mk [Mon, 26 Jul 2010 22:17:13 +0000 (22:17 +0000)]
Microsoft LifeCam needs the framesize quirk as well.

ok mglocker

14 years agosync
mk [Mon, 26 Jul 2010 22:15:50 +0000 (22:15 +0000)]
sync

14 years agoAdd Microsoft LifeCam.
mk [Mon, 26 Jul 2010 22:15:19 +0000 (22:15 +0000)]
Add Microsoft LifeCam.

14 years agofix SYNOPSIS (yes, there are still some issues here);
jmc [Mon, 26 Jul 2010 21:31:34 +0000 (21:31 +0000)]
fix SYNOPSIS (yes, there are still some issues here);

14 years ago- fix a spacing issue in SYNOPSIS
jmc [Mon, 26 Jul 2010 21:14:39 +0000 (21:14 +0000)]
- fix a spacing issue in SYNOPSIS
- occurence -> occurrence

14 years agovarious small fixes; kristaps has committed this upstream already
jmc [Mon, 26 Jul 2010 20:49:12 +0000 (20:49 +0000)]
various small fixes; kristaps has committed this upstream already
ok schwarze

14 years agosimplify the mixer(4) code and interface. document the interface.
jakemsr [Mon, 26 Jul 2010 20:06:12 +0000 (20:06 +0000)]
simplify the mixer(4) code and interface.  document the interface.
ok kettenis

14 years agoTurn on -Wsystem-headers by default, so that glitches in our headers
guenther [Mon, 26 Jul 2010 19:58:58 +0000 (19:58 +0000)]
Turn on -Wsystem-headers by default, so that glitches in our headers
aren't silently ignored but rather get warned about and fixed.  Purely
stylistic warnings like -Wredundant-decls are your own problem however.

testing help from landry@, header fixes from kettenis@
ok deraadt@

14 years agoRemove unused structure members
jordan [Mon, 26 Jul 2010 19:54:06 +0000 (19:54 +0000)]
Remove unused structure members

14 years agosync
deraadt [Mon, 26 Jul 2010 19:50:20 +0000 (19:50 +0000)]
sync

14 years agoMake sure we stop DMA before suspend instead of doing it as the first thing
kettenis [Mon, 26 Jul 2010 19:21:24 +0000 (19:21 +0000)]
Make sure we stop DMA before suspend instead of doing it as the first thing
we do upon resume and failing to cope with the fact that the state has changed
under our feet.  Fixes watchdog timeout issues in at least one case.

ok deraadt@, tested by thib@

14 years agoSome machines include VID devices for hardware that doesn't exist. Avoid
kettenis [Mon, 26 Jul 2010 17:46:29 +0000 (17:46 +0000)]
Some machines include VID devices for hardware that doesn't exist.  Avoid
attaching those devices by checking whether the PCI bus on which they are
supposed to sit exists.  Fixes issues with brightness controls on my Dell
laptop.

ok marco@, pirofti@

14 years agoremove merge error which was commited
deraadt [Mon, 26 Jul 2010 17:25:44 +0000 (17:25 +0000)]
remove merge error which was commited

14 years ago- replace SP with sp calls. this was defined within cvs.1, but unsupported
jmc [Mon, 26 Jul 2010 16:43:59 +0000 (16:43 +0000)]
- replace SP with sp calls. this was defined within cvs.1, but unsupported
by mandoc; diff from kristaps

- while here, fix a bad width specifier

14 years agosync description of acpisony w/ man page;
jmc [Mon, 26 Jul 2010 16:34:53 +0000 (16:34 +0000)]
sync description of acpisony w/ man page;

14 years agolast item of SEE ALSO should not have a comma;
jmc [Mon, 26 Jul 2010 16:20:15 +0000 (16:20 +0000)]
last item of SEE ALSO should not have a comma;

14 years agoXr acpisony, and make the name better
deraadt [Mon, 26 Jul 2010 15:00:43 +0000 (15:00 +0000)]
Xr acpisony, and make the name better