openbsd
14 years agoDon't do anything on suspend/resume for now (there is a diff brewing,
deraadt [Thu, 22 Jul 2010 14:26:38 +0000 (14:26 +0000)]
Don't do anything on suspend/resume for now (there is a diff brewing,
but it has some problems still..)

14 years agoToggle the mouse through the disabled and enabled states when suspending
deraadt [Thu, 22 Jul 2010 14:25:41 +0000 (14:25 +0000)]
Toggle the mouse through the disabled and enabled states when suspending
and restoring.  Fixes most mice.

14 years agopretty large cleanup of SMALL_KERNEL
deraadt [Thu, 22 Jul 2010 14:19:47 +0000 (14:19 +0000)]
pretty large cleanup of SMALL_KERNEL

14 years agoRemove unused function prototypes
jordan [Thu, 22 Jul 2010 13:46:42 +0000 (13:46 +0000)]
Remove unused function prototypes
Add flags and type codes for AML resources

14 years ago- Fix wrong ioctl structure documentation for VIDIOC_QUERYBUF, VIDIOC_QBUF,
mglocker [Thu, 22 Jul 2010 13:32:24 +0000 (13:32 +0000)]
- Fix wrong ioctl structure documentation for VIDIOC_QUERYBUF, VIDIOC_QBUF,
and VIDIOC_DQBUF.
- Also document the VIDIOC_QUERYBUF part for the MMAP interface.

14 years agoFixes for AES CTR mode from mikeb:
thib [Thu, 22 Jul 2010 12:47:40 +0000 (12:47 +0000)]
Fixes for AES CTR mode from mikeb:

o Fix up counter increment for buffers larger then 64 bytes, by
  calling the increment routine before loading the IV into the
  encryption routine input register.

o In aesni_encdec() regenerate the IV for every new request.

Also use nice defines instead of magic constants for the size
of ses_iv.

14 years agoLet systat -N states resolve network addresses
giovanni [Thu, 22 Jul 2010 12:33:29 +0000 (12:33 +0000)]
Let systat -N states resolve network addresses
help and ok sthen@ lum@
ok canacar@

14 years agoReplace strncat() with strlcat().
mglocker [Thu, 22 Jul 2010 11:58:03 +0000 (11:58 +0000)]
Replace strncat() with strlcat().

14 years agoChange include ordering.
mglocker [Thu, 22 Jul 2010 11:55:26 +0000 (11:55 +0000)]
Change include ordering.

14 years agoInitial regression test program for video(4).
mglocker [Thu, 22 Jul 2010 11:53:24 +0000 (11:53 +0000)]
Initial regression test program for video(4).

14 years agoAdd a comment about MODPY_BUILDDEP and NO_BUILD in the python section.
ajacoutot [Thu, 22 Jul 2010 10:42:37 +0000 (10:42 +0000)]
Add a comment about MODPY_BUILDDEP and NO_BUILD in the python section.

14 years agoAs per OpenCVS, general usage in coversation and apparently newer
jsg [Thu, 22 Jul 2010 10:31:10 +0000 (10:31 +0000)]
As per OpenCVS, general usage in coversation and apparently newer
upstream versions of this code, add blame as an alias for annotate.

ok henning@ fgsch@ deraadt@ thib@ krw@

14 years agoPrevent a process from entering wpi_ioctl while another process is
kettenis [Thu, 22 Jul 2010 10:22:37 +0000 (10:22 +0000)]
Prevent a process from entering wpi_ioctl while another process is
tsleep'ing (for example waiting for the firmware to become alive)
in iwn_init.

ok damien@

14 years agovarious macro cleanup;
jmc [Thu, 22 Jul 2010 10:21:52 +0000 (10:21 +0000)]
various macro cleanup;

14 years agoWhen suspending, only call athn_stop() when IFF_RUNNING is set.
kettenis [Thu, 22 Jul 2010 10:19:37 +0000 (10:19 +0000)]
When suspending, only call athn_stop() when IFF_RUNNING is set.

ok damien@

14 years agoremove some groff \s escapes, which we do not support;
jmc [Thu, 22 Jul 2010 08:30:29 +0000 (08:30 +0000)]
remove some groff \s escapes, which we do not support;

14 years agomove exit returns blurb out of DIAGNOSTICS; from daniel dickman
jmc [Thu, 22 Jul 2010 08:09:29 +0000 (08:09 +0000)]
move exit returns blurb out of DIAGNOSTICS; from daniel dickman

14 years agoukc xr should be boot_config;
jmc [Thu, 22 Jul 2010 07:41:59 +0000 (07:41 +0000)]
ukc xr should be boot_config;

14 years agokeep our lists consistent for the exit values blurb; from daniel dickman
jmc [Thu, 22 Jul 2010 07:40:14 +0000 (07:40 +0000)]
keep our lists consistent for the exit values blurb; from daniel dickman

14 years agodocument exit returns; from daniel dickman
jmc [Thu, 22 Jul 2010 07:38:56 +0000 (07:38 +0000)]
document exit returns; from daniel dickman

14 years agoWe have this nice KMEMSTATS option to control when we use kmemstats,
matthew [Thu, 22 Jul 2010 06:30:13 +0000 (06:30 +0000)]
We have this nice KMEMSTATS option to control when we use kmemstats,
so no point in reserving space for kmemstats unless it's enabled.

ok thib@, deraadt@

14 years agoMark two more DMA accessible malloc(9)s.
matthew [Thu, 22 Jul 2010 05:32:10 +0000 (05:32 +0000)]
Mark two more DMA accessible malloc(9)s.

14 years agoIn st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,
matthew [Thu, 22 Jul 2010 05:26:34 +0000 (05:26 +0000)]
In st_space() and st_write_filemarks(), if scsi_xs_get() returns NULL,
set st->media_fileno and st->media_blkno before returning.  Not sure
if this is needed or even really correct, but it's an unintentional
behavior change due to removing scsi_scsi_cmd().

ok dlg@

14 years agoIn scsi_inquire_vpd(), actually just return EJUSTRETURN when dealing
matthew [Thu, 22 Jul 2010 05:21:58 +0000 (05:21 +0000)]
In scsi_inquire_vpd(), actually just return EJUSTRETURN when dealing
with UMASS devices.  Fixes scsi_scsi_cmd() removal regression.

ok dlg@

14 years agostyle(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,
matthew [Thu, 22 Jul 2010 05:21:02 +0000 (05:21 +0000)]
style(9) fix and release rwlock(9) if scsi_xs_get() returns NULL,
which should never happen anyway.  Fixes scsi_scsi_cmd() removal
regression.

ok dlg@

14 years agoIn safte_match(), return 0 on SCSI errors, not an errno value. Fixes
matthew [Thu, 22 Jul 2010 04:59:31 +0000 (04:59 +0000)]
In safte_match(), return 0 on SCSI errors, not an errno value.  Fixes
regression from scsi_scsi_cmd() removal.

ok dlg@

14 years agoAppropriately set SCSI_DATA_IN or SCSI_DATA_OUT depending on type of
matthew [Thu, 22 Jul 2010 04:54:24 +0000 (04:54 +0000)]
Appropriately set SCSI_DATA_IN or SCSI_DATA_OUT depending on type of
dvd_auth command.  Fixes regression from scsi_scsi_cmd() removal.

ok dlg@

14 years agoSCSI HBA drivers are supposed to get their SCSI CDBs from xs->cmd, not
matthew [Thu, 22 Jul 2010 04:40:41 +0000 (04:40 +0000)]
SCSI HBA drivers are supposed to get their SCSI CDBs from xs->cmd, not
xs->cmdstore.

ok krw@ a while back (contingent upon testing), and deraadt@ says this
has been in snapshots for weeks now.

14 years agosync
deraadt [Thu, 22 Jul 2010 00:59:56 +0000 (00:59 +0000)]
sync

14 years agoremove unused variable
deraadt [Thu, 22 Jul 2010 00:41:29 +0000 (00:41 +0000)]
remove unused variable

14 years agoEliminate scsi_scsi_cmd() now that ss(4) is gone and with it the
krw [Thu, 22 Jul 2010 00:31:06 +0000 (00:31 +0000)]
Eliminate scsi_scsi_cmd() now that ss(4) is gone and with it the
last bastardized sync and buf call through scsi_scsi_cmd(). Flatten
code to call scsi_xs_sync() directly for all commands.

Airplane typos shaken out by various.

ok dlg@ matthew@ deraadt@

14 years agoSome ss(4) bits escaped the purge, eliminate them.
nicm [Wed, 21 Jul 2010 23:40:26 +0000 (23:40 +0000)]
Some ss(4) bits escaped the purge, eliminate them.

ok todd krw

14 years agoremove unnecessary ``return 0'' statements,
ratchov [Wed, 21 Jul 2010 23:00:16 +0000 (23:00 +0000)]
remove unnecessary ``return 0'' statements,
from Remco <remco at d-compu.dyndns.org>, thanks!

14 years agoIn the SYNOPSIS, .Nm at the beginning of an input line starts
schwarze [Wed, 21 Jul 2010 21:44:28 +0000 (21:44 +0000)]
In the SYNOPSIS, .Nm at the beginning of an input line starts
an .Nm block, and gets special handling (new line, indentation).
But .Nm in the middle of a line is just a normal in-line element,
so make sure it does NOT get the special handling.
Partly fixes the test(1) SYNOPSIS; indentation after "[" is still
excessive, which is an unrelated and more difficult issue.
Reminded of the problem by jmc@;
OK kristaps@.

14 years agolet mpath build again even though it is disabled
todd [Wed, 21 Jul 2010 21:34:12 +0000 (21:34 +0000)]
let mpath build again even though it is disabled
ok dlg@

14 years agourndis supports the HTC Wildfire just fine. Tested here.
edd [Wed, 21 Jul 2010 21:06:23 +0000 (21:06 +0000)]
urndis supports the HTC Wildfire just fine. Tested here.
OK mk@

14 years agoDisable the heuristics for legacy free systems if pckbc flags are set to 1
miod [Wed, 21 Jul 2010 20:10:14 +0000 (20:10 +0000)]
Disable the heuristics for legacy free systems if pckbc flags are set to 1
in UKC; found the hard way by jakemsr@ on an old Tecra laptop.

14 years agodocument exit values; from daniel dickman
jmc [Wed, 21 Jul 2010 20:02:29 +0000 (20:02 +0000)]
document exit values; from daniel dickman

14 years agodocument exit values; from daniel dickman
jmc [Wed, 21 Jul 2010 19:53:45 +0000 (19:53 +0000)]
document exit values; from daniel dickman

14 years agofix the barmy exit returns formatting; from daniel dickman
jmc [Wed, 21 Jul 2010 19:49:55 +0000 (19:49 +0000)]
fix the barmy exit returns formatting; from daniel dickman

14 years agomissing argument to Ex; from daniel dickman
jmc [Wed, 21 Jul 2010 19:47:02 +0000 (19:47 +0000)]
missing argument to Ex; from daniel dickman

14 years agomore HISTORY; from daniel dickman
jmc [Wed, 21 Jul 2010 19:44:47 +0000 (19:44 +0000)]
more HISTORY; from daniel dickman

14 years agomore consistent text for our return values; from daniel dickman
jmc [Wed, 21 Jul 2010 19:42:20 +0000 (19:42 +0000)]
more consistent text for our return values; from daniel dickman

14 years agoin the acpi GPE handler, late ack level interrupts not edge interrupts.
deraadt [Wed, 21 Jul 2010 19:42:05 +0000 (19:42 +0000)]
in the acpi GPE handler, late ack level interrupts not edge interrupts.
Duh.

14 years agospacing and indents that are driving me crazy
deraadt [Wed, 21 Jul 2010 19:35:15 +0000 (19:35 +0000)]
spacing and indents that are driving me crazy

14 years agoptm needs no read/write, just use enodev.
nicm [Wed, 21 Jul 2010 18:48:01 +0000 (18:48 +0000)]
ptm needs no read/write, just use enodev.

ok deraadt

14 years agoNo need for read/write functions, just use enodev like all the other
deraadt [Wed, 21 Jul 2010 18:43:59 +0000 (18:43 +0000)]
No need for read/write functions, just use enodev like all the other
things things do
ok nicm

14 years agoSearch filter BER tags use a context-specific class, not an application
martinh [Wed, 21 Jul 2010 17:32:12 +0000 (17:32 +0000)]
Search filter BER tags use a context-specific class, not an application
class. This allows ypldap to talk to ldapd, which otherwise refuses the
search filter.

ok gilles@

14 years agodocument fortran module
steven [Wed, 21 Jul 2010 17:31:51 +0000 (17:31 +0000)]
document fortran module

14 years agoreverse logic in previous
steven [Wed, 21 Jul 2010 17:07:27 +0000 (17:07 +0000)]
reverse logic in previous

14 years agoupdate gcc3 and gcc4 modules with COMPILER_VERSION instead of USE_GCC[34]
steven [Wed, 21 Jul 2010 17:01:17 +0000 (17:01 +0000)]
update gcc3 and gcc4 modules with COMPILER_VERSION instead of USE_GCC[34]

14 years agoFix more cdev initializations which were using enodev for poll; ok kettenis
deraadt [Wed, 21 Jul 2010 15:40:04 +0000 (15:40 +0000)]
Fix more cdev initializations which were using enodev for poll; ok kettenis

14 years agoclean up a pile of prototypes and shred some macros which were just covering
deraadt [Wed, 21 Jul 2010 15:07:40 +0000 (15:07 +0000)]
clean up a pile of prototypes and shred some macros which were just covering
for ones everyone knows better

14 years agoMerge the edge and level gpe handlers into one (now possible since the
deraadt [Wed, 21 Jul 2010 15:01:52 +0000 (15:01 +0000)]
Merge the edge and level gpe handlers into one (now possible since the
gpe structure tells us whether the gpe is edge or level)

14 years agofix NULL-deref, ok martinh@
gilles [Wed, 21 Jul 2010 14:45:59 +0000 (14:45 +0000)]
fix NULL-deref, ok martinh@

14 years agoMake sure that the FPU IPIs shoot down the right FPU context and not the FPU
kettenis [Wed, 21 Jul 2010 14:08:09 +0000 (14:08 +0000)]
Make sure that the FPU IPIs shoot down the right FPU context and not the FPU
context of some random process that happened to be switched onto the FPU
after the decision was made to send the IPI.

14 years agoAdd suspend/unsuspend logic.
kettenis [Wed, 21 Jul 2010 14:01:58 +0000 (14:01 +0000)]
Add suspend/unsuspend logic.

ok damien@, deraadt@

14 years agoadd a couple quirks for the E-MU 0202
jakemsr [Wed, 21 Jul 2010 10:16:07 +0000 (10:16 +0000)]
add a couple quirks for the E-MU 0202
* the clock rate is configured through the audio interface, instead
of on the endpoint.
* since the clock rate is set on the interface, both play and
record must use the same sample rate.  this means the playback
and recording parameters are not independent, which is what uaudio
assumes.

14 years agoOnly use username if author is NULL. Fixes "ci -wusername" when run
ray [Wed, 21 Jul 2010 09:22:17 +0000 (09:22 +0000)]
Only use username if author is NULL. Fixes "ci -wusername" when run
as root.

OK nicm

14 years agoRepost ATI FireGL M24 using the emulator. This card is seen on some IBM
mlarkin [Wed, 21 Jul 2010 07:50:20 +0000 (07:50 +0000)]
Repost ATI FireGL M24 using the emulator. This card is seen on some IBM
Thinkpad T43p models (and likely others).

14 years agoremove duplicate AP192K_GPIO_XXX macros,
ratchov [Wed, 21 Jul 2010 07:49:48 +0000 (07:49 +0000)]
remove duplicate AP192K_GPIO_XXX macros,
from Alexandr Shadchin, thanks!

14 years agodisable vscsi until we actually have something that uses it (like iscsid),
dlg [Wed, 21 Jul 2010 07:13:06 +0000 (07:13 +0000)]
disable vscsi until we actually have something that uses it (like iscsid),
and until matthew@ is happy with it.

suggested by deraadt@

14 years agomake ENVY_GPIO_XXX macros card specific, add stub for audiophile 192k
ratchov [Wed, 21 Jul 2010 07:11:55 +0000 (07:11 +0000)]
make ENVY_GPIO_XXX macros card specific, add stub for audiophile 192k

14 years agoAdd a history section saying that ldapd/ldapctl first appeared in 4.8.
martinh [Wed, 21 Jul 2010 06:32:14 +0000 (06:32 +0000)]
Add a history section saying that ldapd/ldapctl first appeared in 4.8.

14 years ago* check that the bytes per frame the device is reporting isn't a
jakemsr [Wed, 21 Jul 2010 05:57:19 +0000 (05:57 +0000)]
* check that the bytes per frame the device is reporting isn't a
ridiculous value.
* encoding expansion factor is always 1.

14 years agomove use_maxpkt out of struct chan, use a local variable in the
jakemsr [Wed, 21 Jul 2010 05:54:42 +0000 (05:54 +0000)]
move use_maxpkt out of struct chan, use a local variable in the
only function that was using it.

14 years agoRemove reference to non-existent behaviour.
lum [Wed, 21 Jul 2010 05:29:57 +0000 (05:29 +0000)]
Remove reference to non-existent behaviour.
ok canacar@

14 years agosome bits for USB 2.0 playback support. I'm not 100% sure about
jakemsr [Wed, 21 Jul 2010 05:04:57 +0000 (05:04 +0000)]
some bits for USB 2.0 playback support.  I'm not 100% sure about
scaling the frame rate to the polling interval, but it works on
the E-MU 0202 and it generally makes a lot of sense, especially
considering that this often brings the frames rate back to 1 kHz,
which is the frame rate of USB 1.x, which was the most current
USB spec when USB audio 1.0 spec was written.

14 years agodelete #if 0 code we are not going to use; ok marco
deraadt [Wed, 21 Jul 2010 05:03:19 +0000 (05:03 +0000)]
delete #if 0 code we are not going to use; ok marco

14 years agosync
deraadt [Wed, 21 Jul 2010 04:49:25 +0000 (04:49 +0000)]
sync

14 years agocurrently we use the endpoint's maximum packet size for recording,
jakemsr [Wed, 21 Jul 2010 03:06:35 +0000 (03:06 +0000)]
currently we use the endpoint's maximum packet size for recording,
and for playback, we use a packet size that is at least one audio
frame smaller.

in most usb audio devices, the sample clock is synced to the usb
clock.  this means that for sample rates that aren't multiples of
1000, we'll occasionally need to add a frame to adjust the overall
rate.  that's why we use the smaller packet size.

also, the usb audio spec defines a way for devices to request
to always use the maximum packet size.

so,
* add a max_bytes_per_frame, which is the largest packet size
the channel will use.  use that instead of calculating what
the maximum we will use is in a couple places.  generally makes
things easier to understand.
* respect a device's request to always use maximum packet size.

14 years agoremove gratuitous carriage return that snuck in
todd [Wed, 21 Jul 2010 02:17:15 +0000 (02:17 +0000)]
remove gratuitous carriage return that snuck in
ok dlg@

14 years agosync timingsafe_bcmp() with the one dempsky@ committed to sys/lib/libkern
djm [Wed, 21 Jul 2010 02:10:58 +0000 (02:10 +0000)]
sync timingsafe_bcmp() with the one dempsky@ committed to sys/lib/libkern

14 years agoGarbage collect ata_bio's badsect field.
matthew [Wed, 21 Jul 2010 02:04:41 +0000 (02:04 +0000)]
Garbage collect ata_bio's badsect field.

ok deraadt@

14 years agosupport 24-bit encodings. simplify the way supported encodings are
jakemsr [Tue, 20 Jul 2010 23:46:11 +0000 (23:46 +0000)]
support 24-bit encodings.  simplify the way supported encodings are
handled by storing an array of supported encodings.

NOTE: this also removes all conversions from this driver.  in
particular, uaudio no longer supports 16-bit big endian encodings,
because the USB audio specification only supports little endian
encodings.

ok ratchov

14 years agomake the mask code for acpi_enable_onegpe() match other similar code
deraadt [Tue, 20 Jul 2010 21:37:33 +0000 (21:37 +0000)]
make the mask code for acpi_enable_onegpe() match other similar code

14 years agoopration -> operation
miod [Tue, 20 Jul 2010 20:47:13 +0000 (20:47 +0000)]
opration -> operation

14 years agoUse an SLIST rather than a TAILQ for the ccb free list.
mk [Tue, 20 Jul 2010 20:46:18 +0000 (20:46 +0000)]
Use an SLIST rather than a TAILQ for the ccb free list.

ok krw

14 years agoMake this compile again (was broken in rev 1.24 as far as I can tell),
mk [Tue, 20 Jul 2010 20:43:27 +0000 (20:43 +0000)]
Make this compile again (was broken in rev 1.24 as far as I can tell),
even though we don't actually compile it in any configurations.

ok krw

14 years agoprint the temperature readings that make us go down; ok kettenis
deraadt [Tue, 20 Jul 2010 20:21:02 +0000 (20:21 +0000)]
print the temperature readings that make us go down; ok kettenis

14 years agoRemove setresguid since it is no longer needed.
lum [Tue, 20 Jul 2010 19:43:19 +0000 (19:43 +0000)]
Remove setresguid since it is no longer needed.
ok matthew@ millert@ deraadt@

14 years agodisconnect groff_man(7) from the build and install man(7) instead;
schwarze [Tue, 20 Jul 2010 19:30:18 +0000 (19:30 +0000)]
disconnect groff_man(7) from the build and install man(7) instead;
"fine" jmc@  "no worries" deraadt@  "looks good" J.C. Roberts

14 years agodo not timeout when stopping DMA channels.
damien [Tue, 20 Jul 2010 19:24:31 +0000 (19:24 +0000)]
do not timeout when stopping DMA channels.
from a similar fix to iwlwifi

14 years agotwo iterators should be u_int; ok jsg
deraadt [Tue, 20 Jul 2010 16:28:22 +0000 (16:28 +0000)]
two iterators should be u_int; ok jsg

14 years agoSwitch some obvious network stack MAC comparisons from bcmp() to
matthew [Tue, 20 Jul 2010 15:36:03 +0000 (15:36 +0000)]
Switch some obvious network stack MAC comparisons from bcmp() to
timingsafe_bcmp().

ok deraadt@; committed over WPA.

14 years agoAdd OpenSSH's timingsafe_bcmp() to libkern.
matthew [Tue, 20 Jul 2010 15:28:43 +0000 (15:28 +0000)]
Add OpenSSH's timingsafe_bcmp() to libkern.

ok djm@, deraadt@

14 years agodaniel dickman has folded the relevant bits of the files being removed
jmc [Tue, 20 Jul 2010 12:53:43 +0000 (12:53 +0000)]
daniel dickman has folded the relevant bits of the files being removed
into yacc.1 - thanks!

ok millert deraadt

14 years agoalso use bufq_quiesce() when suspending, and bufq_restart() when resuming,
deraadt [Tue, 20 Jul 2010 12:23:00 +0000 (12:23 +0000)]
also use bufq_quiesce() when suspending, and bufq_restart() when resuming,
which will result in more stable filesystems during suspend
ok kettenis

14 years agoremoved an unused proto
deraadt [Tue, 20 Jul 2010 12:15:24 +0000 (12:15 +0000)]
removed an unused proto

14 years agoHandle the acpi interrupt controller with proper edge/level handling,
deraadt [Tue, 20 Jul 2010 12:14:10 +0000 (12:14 +0000)]
Handle the acpi interrupt controller with proper edge/level handling,
wrapped in spltty to avoid racing against the interrupt controller.
Repair the gpe bit masking code while there, and do operations in the
right order
ok kettenis mlarkin, help from jordan at figuring out the order of
operations.

14 years agotsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum
deraadt [Tue, 20 Jul 2010 12:12:19 +0000 (12:12 +0000)]
tsleep() and EWOULDBLOCK was being used incorrectly for fixed minumum
delays.  tsleep() on an unknown wait channel, to ensure the minimum is
met, and that wakeup()'s don't make the delay get restarted over and
over..
ok kettenis mlarkin

14 years agoIn acpiec_wait() we want to tsleep on an un-known channel, so that
deraadt [Tue, 20 Jul 2010 12:10:51 +0000 (12:10 +0000)]
In acpiec_wait() we want to tsleep on an un-known channel, so that
we don't get woken up early by a wakeup()
ok kettenis; deeply tested on many machines by mlarkin

14 years agoMark a DMA accessible malloc for later correction. This is
matthew [Tue, 20 Jul 2010 09:06:38 +0000 (09:06 +0000)]
Mark a DMA accessible malloc for later correction.  This is
potentially up to 64KB, so we'll need something fancier than
dma_alloc().

14 years agosync
deraadt [Tue, 20 Jul 2010 05:57:29 +0000 (05:57 +0000)]
sync

14 years agoremove prototypes for functions that do not exist; ok jordan
deraadt [Tue, 20 Jul 2010 05:49:53 +0000 (05:49 +0000)]
remove prototypes for functions that do not exist; ok jordan

14 years agoInstead of checking for the *etcXX.tgz filename, check whether the
ajacoutot [Tue, 20 Jul 2010 05:35:29 +0000 (05:35 +0000)]
Instead of checking for the *etcXX.tgz filename, check whether the
tarball contains ./var/db/sysmerge/etcsum or ./var/db/sysmerge/xetcsum.
First, it's more correct and second it allows people to rename the sets
without sysmerge bailing out.

feature requested and tested by oga@

14 years agoAnother hand rolled offsetof(), replace with mask2prefixlen from kroute.c
claudio [Tue, 20 Jul 2010 05:26:06 +0000 (05:26 +0000)]
Another hand rolled offsetof(), replace with mask2prefixlen from kroute.c
which was copied from bgpd. Found by deraadt@

14 years agoVGA repost for ATI Radeon X1250IGP (as found on Gateway netbooks and
mlarkin [Tue, 20 Jul 2010 05:18:22 +0000 (05:18 +0000)]
VGA repost for ATI Radeon X1250IGP (as found on Gateway netbooks and
others). Repost via emulator or real mode code, either one works. Used the
emulator to keep it consistent with other Radeon devices already listed.

14 years agoWhen we're preparing to go to sleep, only call bufq_restart() if other
matthew [Tue, 20 Jul 2010 04:04:00 +0000 (04:04 +0000)]
When we're preparing to go to sleep, only call bufq_restart() if other
preparations failed.

ok kettenis@, thib@, deraadt@

14 years agoexp2() is a function in libm, so rename the csh one..
deraadt [Tue, 20 Jul 2010 02:13:10 +0000 (02:13 +0000)]
exp2() is a function in libm, so rename the csh one..