summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-10-01If a neighbor solictation isn't from the unspecified address, make sureClaudio Jeker
that the source address matches one of the interfaces address prefixes. From NetBSD, tested by todd@ and naddy@
2008-10-01Revert last commit. It didn't really help and we fixed X11 instead.Mark Kettenis
ok miod@
2008-10-01In uvm_pglistalloc(), do not fall through the success code if we could not findMiod Vallat
a suitable range and ran out of memory segments. Oops.
2008-10-01When things get tight, sis(4) loses firstTheo de Raadt
2008-10-01The display cycle key generates two ACPI events, so catch bothRobert Nagy
from jsign@ Change the camel capitalized key defines to full capitals, and add some keys found on the eeepc 1000H ok marco@
2008-10-01Be more agressive in flusing the cache. In addition to flushing theMark Kettenis
instruction cache, also purge TLB entries. The PA-RISC 2.0 architecture says that cache lines may be moved in when a translation exists even if no access is done. This might have been hurting us badly since we create illegal aliases in pmap_zero_page() and pmap_copy_page(). Probably not perfect yet, and perhaps a bit of a sledgehammer, but it makes PA-RISC 2.0 machines stable again.
2008-10-01Don't timeout_del() if we're going to do a timeout_add() right away.Michael Knudsen
ok claudio
2008-09-30check all luns on sas boards to see if the device is atapi instead of justDavid Gwynne
the first one.
2008-09-30provide a scsi probe hook that checks if an atapi device is plugged intoDavid Gwynne
sas mpi variants. this lets the midlayer know it should send the right sized commands to the device. this will make the cd drive work on the sun enterprise m4000 and related machines. reported by James Hsieh at sun.
2008-09-30add support for handling extended configuration page requests. the sasDavid Gwynne
pages are all extended, which is annoying.
2008-09-30describe the extended configuration header and the sas device config pageDavid Gwynne
0.
2008-09-30Properly count memory on machines where Open Firmware reports zero sizedMark Kettenis
entries in between filled banks. ok drahn@
2008-09-30Fix various pmap_extract() buglets:Miod Vallat
- for kernel space addresses, check the page number fits in Sysmap before accessing the array. - for user space addresses, return the right (in-page) address bits.
2008-09-30Do not perform cache operations in vmapbuf(), pmap is supposed to do themMiod Vallat
for us if needed. ok art@ kettenis@
2008-09-30style nits.Brad Smith
2008-09-30Fix an occasional mfs-related panic on reboot in mfs_close. There's noTodd C. Miller
need to check v_usecount, the buffer queue check is sufficient. From mickey. OK deraadt@
2008-09-30simplify and rework the mechanism to run the leds, 'it is better' miod@ deraadt@Dale Rahn
2008-09-30straighten the deck chairs slightlyDavid Gwynne
2008-09-29Put back the ``address'' field to struct drm_buf, this allows machdrm toOwain Ainsworth
actually compile again (no one's tested it yet, still and I don't have one).
2008-09-29Fix mmap to always return the right value in the error path. While i'mOwain Ainsworth
here rework it a little bit to remove a shadowed variable.
2008-09-29jme(4) works on sparc64; ok jsgTheo de Raadt
2008-09-29always need the vlan includes; ok jsgTheo de Raadt
2008-09-29syncTheo de Raadt
2008-09-29Support another ne(4) at pcmcia(4), pr5940 from Kamo HiroyasuTheo de Raadt
2008-09-29back out previous commit, since it is breaking a variety of machinesTheo de Raadt
(Supermicro X5DLR, and seperately, see pr 5941)
2008-09-29enable JMicron Ethernet (jme/jmphy)Jonathan Gray
2008-09-29Use pools to do allocations for all sizes <= PAGE_SIZE.Artur Grabowski
This will allow us to escape the limitations of kmem_map. At this moment, the per-type limits are still enforced for all sizes, but we might loosen that limit in the future after some thinking. Original diff from Mickey in kernel/5761 , I massaged it a little to obey the per-type limits. miod@ ok
2008-09-29account for data expansion due to emulation in AUDIO_GET{I,O}OFFSJacob Meuser
ioctls. ok ratchov@
2008-09-28Always include machine/cpu.h and remove i82489reg.h/i82489var.h.Brad Smith
ok kettenis@
2008-09-28Remove "XXX for now" NLAPIC define. Already provided via lapic.h.Brad Smith
ok kettenis@
2008-09-28Ansify function declarations for gif(4).Joel Sing
ok claudio@
2008-09-28Clear the PF state key before an IP packet exits a gif(4) tunnel, in orderJoel Sing
to prevent state key mismatches. ok henning@
2008-09-28Teach PF pf_print_state_parts() about IPv4 in IP and IPv6 in IPJoel Sing
encapsulation. Decapitalise the 'v' in ICMPv6 whilst here. ok henning@
2008-09-28initialize the ether_vtag field like the rest of the packet headerChristian Weisgerber
2008-09-28unbreak the tree.Damien Bergamini
pointed out by deraadt@, Markus Peloquin sorry guys.
2008-09-28Update 12160 firmware: 10.04.32 -> 10.04.41. From mjacob via FreeBSD.Kenneth R Westerback
Tested & ok kettenis@
2008-09-27Initial implementation of PMKSA caching and pre-authentication.Damien Bergamini
This will be required for future WPA-Enterprise support (802.1X). Add ieee80211_needs_auth() function (not implemented yet) to notify the userland 802.1X PACP machine when an 802.1X port becomes enabled (that is after successfull 802.11 Open System authentication). Add SIOCS80211KEYRUN and SIOCS80211KEYAVAIL ioctls so that the PACP state machine can kick the 802.11 key state machine and install PMKs obtained from 802.1X (pre-)authentication. Enable SHA-256 based AKMPs by default while I'm here (TGw). This uses SHA-256 for key-derivation (instead of SHA1), AES-128-CMAC for data integrity, and AES Key Wrap for data protection of EAPOL-Key frames. An OpenBSD AP will always advertise this capability and an OpenBSD STA will always prefer SHA-256 based AKMPs over SHA1 based ones if both are supported by an AP.
2008-09-27Add some inline functions to test the presence of optional 802.11Damien Bergamini
header fields (Sequence Control, Address 4, QoS Control, +HTC) and use them where appropriate. Add ieee80211_get_qos() inline function to extract the QoS control field of an 802.11 header instead of duplicating the same scary code everywhere (the location of this field depends on the presence of an Address 4 field). Export ieee80211_up_to_ac() so that drivers can select the access category to use based on the TID subfield of the QoS Control field. Define more QoS-related bits for the RSN Capabilities field of RSN IE (will be used later).
2008-09-27remove a debug printf that is no longer requiredJonathan Gray
2008-09-26Attach agp(4) to the Intel Q35 integrated video.Mike Belopuhov
Tested on ASUS P5E-VM DO motherboard. ok oga
2008-09-26Add drivers for the JMicron JMC250/JMC260 Ethernet controllersJonathan Gray
and JMicron JMP202/JMP211 Ethernet PHYs. Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD by Sepherosa Ziehau and then ported to OpenBSD by me. Thanks once again to JMicron for supplying hardware and information which made this possible. Some cleanup still needs to be done, and checksum offload needs to be sorted out, but the driver otherwise seems to work great. Comitted over a JMC250 card.
2008-09-25regenBrad Smith
2008-09-25Add the id for the Atheros F2 PHY.Brad Smith
2008-09-25Add a driver for the Attansic F1 PHY.Brad Smith
From FreeBSD via kevlo@
2008-09-25Fixed memory leak bug during scope evaluationJordan Hargrave
Removed unused functions ok marco@
2008-09-25remove dead stores.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok jakemsr@
2008-09-25remove dead stores and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok brad@
2008-09-25remove dead store.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok brad@ krw@
2008-09-25remove dead store.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok claudio@
2008-09-25Initialize 'ssc' to NULL since we test it later. Shouldn't ever beKenneth R Westerback
NULL at the point of test unless the device list is confused, but be consistantly paranoid if we're going to be paranoid.