summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-08-07do not leak sessions; ok hshoexer, tom, deraadtMarkus Friedl
2007-08-07regenMatthieu Herrb
2007-08-07an ati mobility chipset found on misc@. ok jsg@ deraadt@.Matthieu Herrb
2007-08-07fix the "double-path" errors seen with getcwd by saving the orignalThordur I. Bjornsson
buffer position in vfs_getcwd_getcache() and restoring it on error. Use u_int32_t for the componentname hash, use the same type in the diagnostic code in relookup() to prevent unsigned vs signed errors. help, testing & ok kurt@ ok millert@, art@
2007-08-07 A few changes to deal with multi-user performance issues seen. thisBob Beck
brings us back roughly to 4.1 level performance, although this is still far from optimal as we have seen in a number of cases. This change 1) puts a lower bound on buffer cache queues to prevent starvation 2) fixes the code which looks for a buffer to recycle 3) reduces the number of vnodes back to 4.1 levels to avoid complex performance issues better addressed after 4.2 ok art@ deraadt@, tested by many
2007-08-06o Replace bus_space_write_2 for-loops in TX/RX withMarcus Glocker
bus_space_write_raw_multi_2. o Make TX/RX work on big endian archs (tested on macppc). in co-operation and OK claudio@
2007-08-06Fix error path in sys_fhopen() if VOP_ADVLOCK fails. Spotted by aaron@Todd C. Miller
2007-08-06Spew smbios bios table vendor/version/release date into the dmesg. DiffGordon Willem Klok
from theo. ok deraadt
2007-08-06Fix another "that that".Tom Cosgrove
ok miod@ jmc@ deraadt@
2007-08-06Fix FW command API for big endian archs.Marcus Glocker
2007-08-06Fix some "that that"s.Tom Cosgrove
ok miod@ jmc@
2007-08-05Don't use ieee80211_beacon_alloc() in acx_set_probe_resp_tmplt() useClaudio Jeker
ieee80211_get_probe_resp() and code from ieee80211_mgmt_output() to build a proper probe response. Found the hard way -- buffer overflow because of oversized beacons -- by mglocker@ and myself. OK mglocker@ damien@
2007-08-05Fix the length calculation of the TIM bitmask in ieee80211_add_tim().Claudio Jeker
Even no bit was set we copied the full 225bytes bitmaks into the beacon. Found the hard way with acx(4) by mglocker@ and myself. OK mglocker@ damien@
2007-08-05Kill one more useless macro. Found while looking for something totalyClaudio Jeker
different. OK mglocker@
2007-08-05Enable siop@mainbus.Mark Kettenis
2007-08-05Add support for Zalon NCR 53C720 FW SCSI.Mark Kettenis
input from mickey and miod@, dok martin@,
2007-08-05Add support for the (non-pci) NCR 53c720/770 in big-endian mode.Mark Kettenis
ok martin@, krw@, deraadt@
2007-08-05Enable Compact Flash driver for the Marvell 88W8385 chip inMarcus Glocker
zaurus, amd64, and i386 GENERIC. OK claudio@, deraadt@
2007-08-05Fix DPRINTF tweaks.Marcus Glocker
2007-08-05Low-Noise watchdog routine (debug level 2).Marcus Glocker
2007-08-05Parse association command response to check if an association wasMarcus Glocker
successfull or not.
2007-08-05remove -betaTheo de Raadt
2007-08-05Remove IFQ_SET_MAXLEN() for TX queue.Marcus Glocker
2007-08-05Add WEP support, which is done fully by the FW.Marcus Glocker
2007-08-05o Some better variable namings.Marcus Glocker
o Fix some comments. o Add a forgotten splx().
2007-08-05Move some printf's about disklabel disksize and RAW_PART size/offsetKenneth R Westerback
under #ifdef DEBUG. Adjust the verbiage. Some minor tweaks while in the area. ok deraadt@
2007-08-05Use d_partitions[DISKPART(dev)] rather that d_partitions +Kenneth R Westerback
DISKPART(dev). Thus making the idiom the same everywhere. pointed out by deraadt@
2007-08-05o Reflect active network settings to ifconfig.Marcus Glocker
o Enable selection of desired network by setting nwid.
2007-08-04Add AGP support for the intel i965 chipset, this also extends theReyk Floeter
internal AGP API to work with 64bit PCI-Express memory and non-standard AGP aperture bases. tested by many ok matthieu@, deraadt@
2007-08-04Enable CardBus bus support, and add ne(4).Mark Kettenis
ok deraadt@
2007-08-04rbus for sparc64Mark Kettenis
ok deraadt@
2007-08-04Add sparc_bus_addr member to struct sparc_bus_space_tag. This function mapsMark Kettenis
a bus_space_handle_t back to a bus_addr_t. Needed for rbus. Only implemented for mainbus(4) and psycho(4) for now; schizo(4) and pyro(4) will follow soon. ok deraadt@
2007-08-04Add missing pci_intr_line() implementation.Mark Kettenis
ok deraadt@
2007-08-04Since ahc_controller_info()'s definition is inside #ifndef DEBUG, putKenneth R Westerback
it's declaration and only use inside #ifndef DEBUG too. Lets DEBUG kernel compile again. Non-DEBUG kernel still compiles too.
2007-08-04o Improve interrupt handler; fixes TX watchdog timeouts on my zaurus.Marcus Glocker
o Add /* FALLTHROUGH */'s to state handler (spotted by claudio@). o Adapt debug levels. OK claudio@
2007-08-04When we're writing out the summary information and fail on some blockArtur Grabowski
we'll just randomly brelse a random block that might or might no have been the block that failed. Which wouldn't be necessary anyway since bwrite releases the block wether the write succeeded or not. And if someone won the race for that block (perfectly possible since we're sleeping in this function) we'll just release a live block under his feet. beck@ ok
2007-08-04Allow ddb>ps to print the full name of the wait state. Things likeChris Kuethe
"flt_noram1" would get truncated otherwise. ok deraadt
2007-08-03Don't let pagedaemon wait for pages here. We could trigger this easilyArtur Grabowski
when we hit swap before actually fully populating the buffer cache which would lead to deadlocks. From pedro, tested by many, deraadt@ ok
2007-08-03when not dealing with floats, always multiply before dividing; from ↵Theo de Raadt
Przemyslaw Nowaczyk
2007-08-03fix parsing of GTK KDE.Damien Bergamini
2007-08-03Increase dq_cnt in struct dquot from 16 to 32bits. OK deraadt@Todd C. Miller
2007-08-03add a ni_eapol_desc field to struct ieee80211_node to know whetherDamien Bergamini
a station is using WPA1 or RSN descriptors. make sure that a station that advertises WPA1 capability in an IE uses the WPA1 EAPOL-Key descriptor type and not the RSN one. fix construction of EAPOL-Key frames for WPA1. i can now successfuly complete a 4-way and group-key handshake with both a WPA1 and a WPA2 access point. add some TKIP encapsulation code (no SW crypto yet). ok deraadt@
2007-08-03switch cmalo_rx() to use m_getdev() instead of something hand rolled.Claudio Jeker
cmalo_rx() is called from the interrupt handler and therefor is running at IPL_NET so no need to do spl dances instead sprinkel some splassert() into the rx and tx path. OK mglocker@
2007-08-03curly brace issues:Jun-ichiro itojun Hagino
- if we have curly braces within #if directive, we will have problem with matching using vi "%" command - without curly braces it becomes ambiguous which statement is within which effect of which "if" statement ok mcbride@
2007-08-02Activate watchdog timer. We need to find out about the issue that theMarcus Glocker
device stops with TX interrupts so often.
2007-08-02print the vendor id string for unknown azalia codecs if we find it inReyk Floeter
the pcidevs database. ok deanna@
2007-08-02copy nvram code from i386, because amd64 can use it too. done byTheo de Raadt
tybollt@solace.miun.se, ok jcs
2007-08-02ETHER_ALIGN the mbuf so that it works on strictalignment archs. This is aClaudio Jeker
quick hack because cmalo_rx() should use m_getdev() instead. OK mglocker@
2007-08-02add proper recording encodings to auich(4).Jacob Meuser
tested by brad@
2007-08-02regenJacob Meuser