summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-03Get rid of the wlabel argument to bounds_check_with_label(). It'sMatthew Dempsky
never done anything in OpenBSD and just clutters disk drivers with silly flag handling. More cleanup to follow. ok deraadt@, millert@; no objections krw@
2011-06-03one midicat server can export multiple midithru portsAlexandre Ratchov
2011-06-03Fix two compile errors in mcd(4) due to bitrot:Matthew Dempsky
1. Need to include <sys/dkio.h> since <sys/ioctl.h> no longer includes it. 2. readdisklabel() returns an int, not an error string, so update mcdgetdisklabel() accordingly. The return value is just ignored currently, but that's no worse than cdgetdisklabel() in cd(4)... Apparently no one has needed mcd(4) in the last two years.
2011-06-03don't forget to send the initial clock tickAlexandre Ratchov
2011-06-03Allow device encoding to be set if -u is also used. Useful to degradeAlexandre Ratchov
quality to save bandwith when a remote audio device is used.
2011-06-03Change acpi_xfoo to acpi_foo names.Jordan Hargrave
Fix return value for Acquire/Wait (TRUE = -1)
2011-06-03factor tests for f->opt->join flag, no behaviour changeAlexandre Ratchov
2011-06-03randomness might be broken, but this changeTheo de Raadt
a) chooses incorrect kernel memory on the macppc b) perhaps on zaurus too, which does not make it to copyright c) was not tested on those platforms before commit
2011-06-03Clarify that the ratio between sample rate and block sizeAlexandre Ratchov
is the MTC clock rate. Suggested by Alexey Suslikov
2011-06-03Fix em_write_pci_cfg() and em_read_pci_cfg() to avoid unaligned access, andMark Kettenis
make em_write_pci_cfg() do a proper read/modify/write cycle, to avoid changing the neighbouring 16 bits. Also remove the comment in em_pci_set_mwi() and em_pci_clear_mwi(); writting 0 to the status bits in the command/status word is the right thing to do. Fixes a panic on sparc64 and other strict alignment architectures. ok deraadt@
2011-06-03Reorganize the way command line options are parsed and stored.Alexandre Ratchov
No behaviour change.
2011-06-03add missing header, needed by the use of struct tmCharles Longeau
ok nicm@ xsa@
2011-06-03regenMark Kettenis
2011-06-03PLX PEX 8613Mark Kettenis
2011-06-03update EXAMPLES to use "-joff", since "-jon" is the defaultAlexandre Ratchov
found by peters at schwertfisch.de, thanks
2011-06-03protect errno from damage in the signal handlerTheo de Raadt
ok otto
2011-06-03Make ^D behave: dont't echo it and make it work if the cursor is atOtto Moerbeek
start of line after a ^C; ok okan@ deraadt@
2011-06-03use OBJ to find test configs, patch from Tim RiceDarren Tucker
2011-06-03Track depth of scope stackJordan Hargrave
2011-06-03Remove unused structure members. Add depth field.Jordan Hargrave
2011-06-03Check current parent process ID against saved one to determine if the parentDarren Tucker
has exited, rather than attempting to send a zero signal, since the latter won't work if the parent has changed privs. bz#1905, patch from Daniel Kahn Gillmor, ok djm@
2011-06-03bz#1883 - setproctitle() to identify mux master; patch from Bert.WesargDamien Miller
AT googlemail.com; ok dtucker@
2011-06-03Retry establishing the port forwarding after a small delay, should makeDarren Tucker
the tests less flaky when the previous test is slow to shut down and free up the port.
2011-06-02When checking to see if a rule is referenced by any source-tracking nodes,Stuart Henderson
actually check how many src nodes reference it, rather than checking the max_src_nodes for the rule which makes no sense. From Martin Pelikan.
2011-06-02Don't destroy a non-persistent table if referenced by src_nodes. FixesStuart Henderson
a crash if max-src-* options are triggered both before and after a ruleset reload, when the rules are overloading to a non-persistent table. Discovered by and fix from Martin Pelikan.
2011-06-02Add the quadruple-precision constants; testvect works better nowMartynas Venckus
on sparc64.
2011-06-02Document that the rounding mode is dynamic, on Alpha.Martynas Venckus
2011-06-02In the land of VMWare you can have the latest 64-bit AMD multicore CPUMark Kettenis
behind a prehistoric Intel host bridge. Disable MSI on these contortion.
2011-06-02Fix index for Mid() opcodeJordan Hargrave
2011-06-02No need to set error to 0, when it is still 0 from the start of the function.Theo de Raadt
ok thib matthew
2011-06-02The vndbufpl is no longer used.Theo de Raadt
Spotted by matthew, verified by me.
2011-06-02Initialize the dv_xname at attach time, so that we don't have to doTheo de Raadt
this work later. Since the disk always has the same name (the different between svnd and vnd went away), we don't need to do this late anymore. Spotted with matthew.
2011-06-02In vndclear(), clear all the flag bits. Leaving around a VNF_WLABEL bitTheo de Raadt
is stupid (verified to be the case). Other flag bits might have lived longer than they should as well, with unknown consequences. Spotted with matthew, too.
2011-06-02Initialize the dv_unit, because disk_attach will want it later. BeforeTheo de Raadt
we were probably only ever reading labels off vnd0. Oops. Spotted by matthew
2011-06-02Do not bzero the softc when doing VNDIOCCLR, because that trashes theTheo de Raadt
rw_lock and the device_ref Discussed with thib and matthew
2011-06-02If there are no descriptors to poll, just sleep until SIGALRMAlexandre Ratchov
is posted and then update all timers and restart the event loop. Fixes throtteling while midi inputs are drained.
2011-06-02close midi control ports and thru boxes only when there are noAlexandre Ratchov
inputs anymore, to ensure data is drained
2011-06-02MSI for wpi(4).Michael Knudsen
``Reasonably confident that will work on all hardware, go ahead and commit.'' kettenis (worst jinx ever)
2011-06-02Enable MSI.Mark Kettenis
"i think more pci_intr_map_msi should go in"
2011-06-02Add $OpenBSD$ after oga said 'go ahead and fix that'Paul de Weerd
'go for it' oga@
2011-06-02Move the code that disables MSI out of azalia_configure_pci(), such that weMark Kettenis
don't run it upon resume. We now save and restore the MSI registers in the generic PCI code, so it is no longer necessary and will hurt us when we actually start using MSI. ok jakemsr@
2011-06-02Remove the blurb about `--disable-silent-rules' in the gnome MODULEAntoine Jacoutot
description, it's the default now.
2011-06-02Fix CondRef definition to support optional target. Fixes docking on Dell E4310Jordan Hargrave
ok marco@
2011-06-02Hack to ensure that the in-core labels contain the current boundsKenneth R Westerback
info from the physical disk after 'disklabel -e' writes the label to disk. Saves having to reboot or do other contortions to initialize these fields. Toss in same treatment for total sectors so all fields forcibly set by kernel have current values. 0'ing of the bounds noted by matthew@. 'lovely' deraadt@
2011-06-02don't exit from the main loop if there are pending time outs.Alexandre Ratchov
Fixes midi inputs not being properly drained when they are temporarily blocked to limit input data rate
2011-06-02Attempt msi interrupt mapping, with fall back to old-style mapping. WorksKenneth R Westerback
on my non-msi capable ahci and several msi capable setups. Dark suspicions that some will NOT work so put it in to smoke any such systems into the open. ok deraadt@ mk@ kettenis@
2011-06-02We will ignore retval2; it is not an issueTheo de Raadt
2011-06-02Change ktr_retval to a register_t so that we can see the full 64-bitsTheo de Raadt
when neccesary. It is incredible this 64-bit bug has existed for this long. ok miod
2011-06-02device_ref() by hand, since this is a pseudo-device and was not attachedTheo de Raadt
through config_attach() ok matthew jsing
2011-06-02Revert previous; changes linking order for pkg-config --libs, breaking X on VAX.Stuart Henderson
Found by matthieu@