summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-25Clearly copy the whole, and nothing but the whole, old buffer intoKenneth R Westerback
the resized buffer. From Pawel Jakob Dawidek via Max Laier via Marc Balmer via tech@. As was the previous commit where I didn't mention Pawel. 'should be olright' henning@
2009-08-25add error checkingTheo de Raadt
2009-08-25if we do not use __packed, we must write the values more carefullyTheo de Raadt
ok mglocker
2009-08-25sub-devices exposed by aucat and sockets it's listening on areAlexandre Ratchov
no longer the same. Rephrase ``audio(4) device or aucat(1) socket'' as ``sndio(7) audio device''. suggested by oga@, tweaks from jmc@
2009-08-25no need for __packed; ok mglockerTheo de Raadt
2009-08-25Add missing $OpenBSD$ tag.Mark Kettenis
2009-08-25Initialize flattened device tree support if a tree was passed by the firmware.Mark Kettenis
2009-08-25Save the (potential) address of the flattened device tree. Make sure we don'tMark Kettenis
clobber %r3 before we do so. Based on a diff from dms@
2009-08-25We can treat BARs initialized to 0 as invalid now on socppc.Mark Kettenis
2009-08-25Set up bus tag for mmio. Create extents corresponding to the bus tags andMark Kettenis
pass them along when attaching the pci bus.
2009-08-25In bmac_init(), invoke bmac_transmit_packet() with the correct packet sizeMiod Vallat
(sizeof(ptr) vs sizeof(*ptr) bug). ok krw@
2009-08-25Add USB_PRODUCT_NOVATEL_EU870D that can be found in some dell d430Robert Nagy
2009-08-25regenRobert Nagy
2009-08-25add Novatel EU870DRobert Nagy
2009-08-25Document compression.Marcus Glocker
2009-08-25Enable pixel compression (Huffman pixel difference method). If theMarcus Glocker
Huffman table can't be loaded, the driver will operate in uncompressed mode.
2009-08-25Legacy-free PC hardware do not have a real PS/2 keyboard controller, butMiod Vallat
rather have the USB HCI emulate it during boot, while legacy mode is enabled. This causes pckbd0 to attach as the console device, but is lost as soon as the USB HCI driver attaches. The disappearance of the emulated PS/2 controller can however be detected in pckbc(4) - which is supposed to attach after [eou]hci(4), with the controller refusing to ack commands and replying ``please resend'' instead. In that case, the kernel will now no longer attach pckbd, and will perform a new console input device selection, allowing the (real) usb keyboard to become the console. Thanks to krw@ for countless tests on legacy-free hardware; also tested on more conventional hardware by naddy@ and I. Only amd64 and i386 platforms are affected by this change.
2009-08-25Add dev/microcode/udl/ to build.Marcus Glocker
2009-08-2516bit Huffman table for pixel difference compression on udl(4) devices.Marcus Glocker
2009-08-25catch up to readdisklabel API change; tested by matthieuTheo de Raadt
2009-08-25If option DIAGNOSTIC, do not bother doing sanity checks, including anMiod Vallat
uvm_map_checkprot() call, if the memory we're about to return has just been allocated with uvm_km_kmemalloc() instead of coming from the freelist. No functional change but a very small speedup when the freelist for the given bucket is empty.
2009-08-25The BUCKETINDX() giant macro is used to compute the base 2 logarithm of itsMiod Vallat
input, in order to pick the appropriate malloc() bucket. Replace it with an inline function in kern_malloc.c, which will either do a tightest-but-slower loop (if option SMALL_KERNEL), or a geometric search equivalent to what the macro does, but producing smaller code (especially on platforms which can not load large constants in one instruction).
2009-08-25syncTheo de Raadt
2009-08-25Remove support for packet mode of Metricom Ricochet radios.Jonathan Gray
It currently doesn't compile and this is unlikely to change as there are many alternatives now since we no longer live in the early 1990s and Metricom went bankrupt some time ago. ok many @
2009-08-25iha(4) works on amd64; tested by downsjTheo de Raadt
2009-08-25Print -l and -p when showing command, pointed out by Tiago Cunha.Nicholas Marriott
2009-08-25Paragual -> Paraguay; (sort of) from frantisek holopJason McIntyre
2009-08-25move to having requests on a per nfsmount tailq instead of one global one.Thordur I. Bjornsson
also make the rexmit timeout per nfsmount, and make sure to start/stop the timer appropriately. now the nfs_timer() only fires if there is work todo, not always at nfs_ticks (it did, even if there where no nfsmounts in the system!). OK blambert@
2009-08-25These should #include <ctype.h>.Nicholas Marriott
2009-08-25Add parser for 'Flattened Device Tree' which was introduced inDariusz Swiderski
bootloaders such as u-boot, which is generally a simplified memory dump of an OpenFirmware device tree. Tested on RB600 by me. This is not used in the code ATM. ok kettenis@
2009-08-25Add a choose-client command and extend choose-{session,window} to accept aNicholas Marriott
template. After a choice is made, %% (or %1) in the template is replaced by the name of the session, window or client suitable for -t and the result executed as a command. So, for example, "choose-window "killw -t '%%'"" will kill the selected window. The defaults if no template is given are (as now) select-window for choose-window, switch-client for choose-session, and detach-client for choose-client (now bound to D).
2009-08-25Don't setup multicast when in promiscuous mode. From Brad.Stuart Henderson
This was in the diff Brad sent to tech@ and had tested by others and should have been in my previous commit, but I was working from and testing an earlier version of the diff. I've retested with multicast/promisc on my dual 82550.
2009-08-25Fix order of memcpy() arguments so data is copied from src to dest,Kenneth R Westerback
not the other way. At least partial fix for interfaces with >64 aliases. From Max Laier via Marc Balmer. 'seems right' sthen@ ok markus@
2009-08-25djm accidentally changed the type of dirfilt in the prototypesJonathan Gray
of pcap_live and priv_pcap_live in rev 1.6 to differ from the implementations, change the type back to what it was. ok djm@
2009-08-24Properly check for VM_MAX_KERNEL_ADDRESS wraparound in the guard pages code.Miod Vallat
ok ariane@
2009-08-24On O2, the bootpath may omit the pci(0) component and start with scsi(); inMiod Vallat
that case, fake the pci(0) part in order to match correctly the onboard scsi controller. While there, make sure device_register() returns early for devices attached to root; without both these changes, an O2 lacking pci(0) in its bootpath would dereference a NULL pointer when softraid would attach. Problem found the hard way by Jukka Taimisto (jtaimisto, iki dot fi), thanks for the report!
2009-08-24Add definitions for 4 additionl BAT registers, found on some newer PowerPCDariusz Swiderski
chips, like MPC8xxx family. ok kettenis@
2009-08-24URI-decode the filenames in the listing used for HTTP pkg_add updates.Stuart Henderson
Fixes a problem with pkg_add -u where package names are encoded in the listing (e.g. those containing + like gtk+2-2.16.5 on standards-compliant servers). Problem noted and fix tested by ajacoutot@ against a server running lighttpd. No regressions against Apache. ok espie@
2009-08-24Harden variables setting, prodded by alex@Antoine Jacoutot
Fix TMPDIR while here and remove the EDITOR definition, it is only used once. ok sthen@
2009-08-24Specify proper size for device softc.Mark Kettenis
2009-08-24Glue to deal with the retarded way the CF slots are wired up on the RB600.Mark Kettenis
2009-08-24garbage collect the nchash variable that used to store theThordur I. Bjornsson
size of cache hashtable that has now been removed.
2009-08-24rumor has it (from thib) that uvm_vnp_setsize() is scary to not callTodd T. Fries
this appears to fix a mmap vs read sync issue I've been seeing since forever ok thib@
2009-08-24Add missing ehci dependency.Mark Kettenis
2009-08-24- fix format strings for values that are daddr64_tJasper Lievisse Adriaanse
ok otto@, agreed by deraadt@
2009-08-24- remove double \n in panic stringJasper Lievisse Adriaanse
2009-08-24gcc2 doesn't understand attributes on function pointers.Nicholas Marriott
2009-08-23Document all variables used by sysmerge.Antoine Jacoutot
"fine" jmc@
2009-08-23revert the icmp error diff again (r1.167-1.169)David Krause
seems to be causing some kind of memory corruption after several hours of heavy IPsec traffic. connections start becoming very slow eventually leading to all IPsec packets being lost. a reboot solves the issue for several more hours before it appears again.
2009-08-23- replace a dead URL with a working oneJasper Lievisse Adriaanse