summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-08-14Make sure all the packet is in one continuous mbuf.Can Erkin Acar
This is a bandaid solution, a better solution will go in post 4.2. Reported and tested by Joerg Zinke. ok claudio@, deraadt@
2007-08-14removal of zts sysctls created a numeric gap. repair. ok miod robertTheo de Raadt
2007-08-14Add missing siop@phantomas and siop@uturn attachments. The latter was testedMark Kettenis
by nick@ (who sacrificed a few LVD drives for it). The former was tested on a machine without a drive connected, but there is no reason to expect it not to work.
2007-08-14I forgot to remove the UNIT macro when the wdt char device was removedMichael Knudsen
long ago.
2007-08-14Replace bus_space_write/read_2 loops in cmd req/rsp routines withMarcus Glocker
bus_space_write/read_raw_multi_2.
2007-08-11Set command context save flag already in attach routine. Avoids doubleMarcus Glocker
processing of command responses.
2007-08-11Remove IBSS capability flag for now.Marcus Glocker
2007-08-10Enable CF malo for macppc, it also works there.Marcus Glocker
OK claudio@
2007-08-10make it more clear that the temperature can range between 0 and 285,Jasper Lievisse Adriaanse
by using "0 - 285" instead of "0..285" ok damien@
2007-08-10Fix some letho16() tweaks which made my macppc crash on anMarcus Glocker
assoiciation.
2007-08-10Be more careful when asking for the next property. help and ok kettenis@.Federico G. Schwindt
2007-08-10Add missing multicast part to ioctl.Marcus Glocker
2007-08-10syncXavier Santolaria
2007-08-10Add Bluetooth devices. From NetBSD. ok deraadtXavier Santolaria
2007-08-09If an association has failed, set the device back to INIT state.Marcus Glocker
2007-08-09Check all FW commands in the init path. None of them shall timeout,Marcus Glocker
otherwise we abort initialization.
2007-08-09o Add a mechanism to execute single commands even if are are not contextMarcus Glocker
save. Protects cmalo_cmd_set_assoc() for now. o In case of deauthentication or disassociation, try to reassociate.
2007-08-09Correctly acknowledge event interrupts. Got the wrong register valueMarcus Glocker
before.
2007-08-09Comment. Sort some register values.Marcus Glocker
2007-08-09Add event handler. Events notify us about things like when aMarcus Glocker
disassociation frame has arrived. Nice side effect; As we acknowledge the event reason after receiving a disassociation frame (which happens pretty often by wi(4) hostap) now, the FW issues an automatic reassociation, and we do not loose network connectivity anymore.
2007-08-09be more consistent in memcpy usage; no md5 change in .o; ok deraadt@Constantine A. Murenin
2007-08-09size_t != int: use %lu in format strings and cast variables toRay Lai
u_long. OK millert and kettenis.
2007-08-08Prevent a potential null-pointer dereference.Mark Kettenis
ok krw@, deraadt@
2007-08-08revert the change in rev 1.60 of audio.c and the correspondingJacob Meuser
documentation change the audio layer is still too "imperfect" for this change fixes problems reported aanriot, matthieu and dtucker requested by deraadt
2007-08-07Add "dma" and "ledma" as busses that potentially have the root device on them.Mark Kettenis
Makes the Ultra-1 find its root disk again. tested by nick@ and fgsch@, ok deraadt@
2007-08-07Use the length of the mbuf instead of the packet.Can Erkin Acar
When sending a protocol reject. Prevents reading past the mbuf in case the mbuf does not cover the whole packet. ok claudio@, henning@
2007-08-07Correct value for power state D1.Jonathan Gray
While this duplicates the values specified in the PCI headers and is currently unused, correcting this arguably makes more sense than breaking diffability with FreeBSD. Invalid value pointed out by Maxim Bourmistrov <maxim@unixconn.com> API change discussed with deraadt@
2007-08-07Improve a evil tsleep() loop by using wakeup() in the interrupt handler.Marcus Glocker
Still not sure if the tsleep() is safe here, but better than the previous version. spotted and OK claudio@
2007-08-07Correctly deal with EOF on pipe wrt kqueue. Based on a fix presentTodd C. Miller
in FreeBSD and NetBSD. OK art@ beck@
2007-08-07provide software version of HMAC, so IPsec can actually use the crypto HW;Markus Friedl
improves IPsec w/ AES/SHA1 from 17Mbit/s to 30Mbit/s on 500Mhz machine; code similar to i386/via.c; ok tom, hshoexer, deraadt
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