summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-17remove m68k gcc workaround now that the gcc fix is in; ok miod@Todd C. Miller
2007-07-17rmoev the macppc workaround, now that isset() and friends use expressionsOtto Moerbeek
that gcc likes better
2007-07-17rewrite isset() and friends to use shifts and masks instead of divideOtto Moerbeek
and modulo. generates smaller code and circumvents bugs seen on macppc and mac68k. ok deraadt@ art@ miod@
2007-07-17sync swapon usage(); from Igor ZinovikJason McIntyre
2007-07-17do not try to list which options go with -p: the list is currently out ofJason McIntyre
date, and even if i update it, it will obsolete itself if we add or remove options. it works when it makes sense, like it should. after a request from Igor Zinovik
2007-07-17ident/ansify/de-registerJasper Lievisse Adriaanse
2007-07-17document "pid"; based on a diff from Kristaps DzonsonsJason McIntyre
ok otto
2007-07-17typo; from Stephan A. RickauerJason McIntyre
2007-07-17Do not send the Directory request when using the rlog command.Xavier Santolaria
OK joris@.
2007-07-17comment snicky usage of strchrMarc Espie
2007-07-17- the data in the read buffer, that was put there by the hardware,Jacob Meuser
may not be the same sample size as what userland is to receive. account for the discrepency between the sample sizes when comparing how much to copy out with what userland expects. - only copy out the part of the buffer that is in the format userland expects. emu(4) can now record with all encodings it claims to be able to. that is, dd if=/dev/audio of=foo does as audio(4) says (monaural mu-law) and does it correctly. AFAIKS, the only other driver that sets a read factor is uaudio(4), and that depends on what the hardware supports. tested on i386, amd64 and sgi with 3 different emu(4) cards
2007-07-17when looping through an array and advancing your pointer to the arrayJacob Meuser
2x on each loop, only loop .5x times fixes hard hangs on i386 and "hiccups" on sgi when these functions are used through e.g. dd if=/dev/audio of=foo, since mulaw is the default encoding. the commit history wrt this code is interesting. I am responsible for introducing this braindamage to OpenBSD ... and note that linear16_to_linear8_[lb]e had it right ...
2007-07-17sync usage(); from Tobias StoeckmannJason McIntyre
2007-07-16HW_SENSORS was never really a 'struct', and nowadays it is definitely a 'node'Constantine A. Murenin
2007-07-16under HW_SENSORS, mention <sys/sensors.h>, similarly to KERN_SYSVIPC.*; ok jmcConstantine A. Murenin
2007-07-16sizeof long double == sizeof double, deal with it; ok kettenisJason Wright
2007-07-16typoPierre-Yves Ritschard
also found by Kevin Steves
2007-07-16use fatal and not err, the message would get lost.Pierre-Yves Ritschard
found by Kevin Steves <stevesk (at) pobox dot com>
2007-07-16Remove dead code and fix incorrect comment. From Igor Zinovik.Todd C. Miller
2007-07-16No need to include <sys/param.h> or <errno.h>. Also reorder includesTodd C. Miller
while here. Adapted from a diff by Igor Zinovik.
2007-07-16Replace bunches of nops with the ITLBNOPFIX macro, which generates fewerMiod Vallat
nops unless we compile for early RM7000 flavours, which we usually don't do.
2007-07-16On exit from switch_exit(), do not bother saving context and immediatelyMiod Vallat
jump into the scheduler loop.
2007-07-16Do not reenabled interrupts when processing a ddb trap, for bad things mayMiod Vallat
happen; from NetBSD
2007-07-16Change idle_mask to be made of the cop0 SR bits unshifted and the cop0 IC bitsMiod Vallat
shifted, instead of the other way around; this shaves a few instructions.
2007-07-16The logic determining the value of rl_eewidth for the 9346 and 9356Todd C. Miller
eeproms was backwards. This resulted in a bogus MAC address being read from the eeprom on certain cards. From FreeBSD. OK pvalchev@
2007-07-16oops, missed a bit from tobias' diff - add "usage: " to usage();Jason McIntyre
from Tobias Stoeckmann
2007-07-16sync usage(); from Tobias StoeckmannJason McIntyre
2007-07-16Backport a gcc3 fix:Miod Vallat
* cse.c (cse_end_of_basic_block): Don't return the end of a basi block reached by a branch if we're not going to actually process this block
2007-07-16fix percentage computation of wrapping numbers; from Willem DijkstraOtto Moerbeek
via henning@ with a twist by me
2007-07-16Do not display the `Working file:' line if the issued command is `rlog'.Xavier Santolaria
Matches GNU's behaviour. OK joris@.
2007-07-16fix sensor_task_unregister description to reflect reality; ok dlgConstantine A. Murenin
2007-07-15fix typo: s/sensorsdev/sensordev/Constantine A. Murenin
2007-07-15lcd(4)Mark Kettenis
2007-07-15lcd(4); a driver for the front panel LCD display found on the four-digitMark Kettenis
B/C/J-class workstations, and many server systems. This is still work in progress; for now it only displays that the machine is running OpenBSD. Not enabled yet.
2007-07-15Add PDC_CHASSIS_INFO and associated structures.Mark Kettenis
2007-07-15Delete BUGS section; support for serial and parallel ports is there now.Mark Kettenis
2007-07-15Delay switching to the real serial console until we attach the serial device.Mark Kettenis
The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. ok miod@
2007-07-14Make sigreturn(2) set the proper space ID for the instruction queue. FixesMark Kettenis
a few more pthreads regression tests. ok miod@
2007-07-14- there's no point in running mkfontdir only for @fontdir ; so let's runAntoine Jacoutot
mkfontscale too (and remove fonts.scale on package removal) discussed with matthieu@ and espie@ weeks ago "seems fine" pyr@, ok espie@
2007-07-14Don't trim whitespace from stdin. Encrypt it the same as otherKenneth R Westerback
input sources. Feedback and fixes from ray@ and fgsch@. ok millert@ (six years ago) ray@ fgsch@
2007-07-14s/uint8_t/u_int8_t/ for consistency.Damien Bergamini
2007-07-14update QoS Tx/Rx sequence numbers for each TID.Damien Bergamini
add a parameter to ieee80211_decap() to handle different 802.11 header sizes. cleanup and clarify ieee80211_classify().
2007-07-14When calibrating the delay const, only allow clock and above interrupts.Miod Vallat
This fixes infrequent hangs on reboot due to the ethernet interface interrupting on machines configured to use A/UX style interrupts.
2007-07-14Add bge(4). Tested by Maurice Janssen.Mark Kettenis
2007-07-14- ANSI function declarationsJacob Meuser
- remove argument names from function prototypes OK jasper@, ray@, "Didn't notice any errors" marc@
2007-07-13Do not compile disk_reallymapin() unless it is really needed.Miod Vallat
2007-07-13do not increment ic_stats.is_tx_nombuf in ieee80211_get_rts() andDamien Bergamini
ieee80211_get_cts_to_self() if mbuf allocation fails.
2007-07-13cleanup parsing of beacon and probe response mgmt frames.Damien Bergamini
2007-07-13in ieee80211_recv_assoc_resp(), do not start updating the nodeDamien Bergamini
structure until the frame has been fully validated.
2007-07-13change the way we parse IEs to make sure we never read past the end ofDamien Bergamini
the rx buffer.