summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-11-21Fix uninitialized variables in db_stack_trace_print(), and honour theMiod Vallat
frame count argument.
2009-11-21tyypoMiod Vallat
2009-11-21mplock, rw_cas implementedTakuya ASADA
ok miod@
2009-11-21Yet another stupid typo caught by martin@Miod Vallat
2009-11-21knfHenning Brauer
2009-11-21Fix `print $registername' on 64 bit platforms.Miod Vallat
2009-11-21Fix registration of memory after 1GB on Octane. Found the hard way by martin@Miod Vallat
2009-11-21By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-21when wpa is enabled, defer setting the link up until the 802.1XDamien Bergamini
port is valid (keys have been successfully exchanged.) this avoids dhclient timeouts when wpa is enabled.
2009-11-21make the led blink during a scan.Damien Bergamini
prodded by deraadt
2009-11-21debug offDamien Bergamini
reminded by deraadt
2009-11-21attach to the AR9227 tooDamien Bergamini
2009-11-21EP80579 SATAJonathan Gray
2009-11-21in the detach function remove our usb task before calling any otherTheo de Raadt
teardown functions which could potentially sleep (and then, the usb task would get called for a half-torn down device)
2009-11-21Do the operations in atu_detach in the right order, as done inTheo de Raadt
other drivers recently.
2009-11-21Add a way to bind the tunnel endpoint of a gif/gre interface into aClaudio Jeker
different rdomain than the default one. This allows to do MPLS VPNs without the MPLS madness. OK deraadt@, henning@
2009-11-21User triggerable KASSERT()s and NULL dereferences in netbt setsockopt()s,Philip Guenthe
found by Clement LECIGNE, localhost DoS everywhere. Also, don't leak the mbuf when the wrong level is used. ok claudio@, "just commit" deraadt@
2009-11-20NULL dereference in IPV6_PORTRANGE and IP_IPSEC_*, found by Clement LECIGNE,Philip Guenthe
localhost DoS everywhere. To help minimize further issues, make the mbuf != NULL test explicit instead of implicit in a length test. Suggestions and initial work by mpf@ and miod@ ok henning@, mpf@, claudio@,
2009-11-19avoid overflow since protos > IPPROTO_MAX exist. From FreeBSD withOtto Moerbeek
a twist; ok millert@ kettenis@
2009-11-19Add code to set up windows on PCI-PCI bridges left unconfigured by theMark Kettenis
firmware. Fixes some (laptop) machines with ethernet and/or wiireless behind a bridge. Some help from miod@. Tested by many.
2009-11-19Add PPB_IO_SHIFT #define to mirror PPB_MEM_SHIFT.Mark Kettenis
2009-11-19Rename KSEG* defines to CKSEG* to match their names in 64 bit mode; alsoMiod Vallat
define more 64 bit spaces.
2009-11-19All callers of updateimask() immediately enable interrupts afterwards, so doMiod Vallat
it in updateimask() itself. No functional change.
2009-11-19Remove code allowing native binaries with O32 ABI to run, there aren't any...Miod Vallat
2009-11-19By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-19if a radio switch exists, configure the GPIO pin to which it isDamien Bergamini
connected to raise an interrupt when the pin goes low (or high depending on the polarity of the radio switch.) turn the interface down when the interrupt occurs. this is the same behaviour as in wpi(4) and iwn(4). cleanup interrupts processing while i'm here. remove ATHN_INTR_MITIGATION compile option (it is set by default.)
2009-11-19By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-19fix for some variants of AR9285.Damien Bergamini
found while doing code inspection as i don't have such hardware.
2009-11-19It turns out that the 2GB contiguous DMA direct map window also needsMiod Vallat
to be aligned on a 2GB boundary. Therefore the `add 512MB' bit used on Octane does not give us a 0.5GB-2.5GB usable DMA range, but a 0.5GB-2GB range; trying to use address in the 2GB-2.5GB range would cause PCI DMA errors at the xbridge level. There is no real benefit in using it, since this required us to keep subtracting or adding 0.5GB when converting DMA address to physical memory address or the other way around. So stop using it; this makes a few parts of the code simpler (and until bounce buffers are implemented, Octane systems will not use more than 1.5GB of memory).
2009-11-19Factor triplicated code responsible to add memory information into aMiod Vallat
single place.
2009-11-19Dell's SVR4 apparently mapped page zero to the executable. We don'tPhilip Guenthe
do that and, given the security issues it exacerbates, never will. So document it and delete the disabled support. ok deraadt@ tedu@
2009-11-18- regenJasper Lievisse Adriaanse
2009-11-18- add startech.com and the product id for their ICUSB2321X/2X/4X devices,Jasper Lievisse Adriaanse
which seem to be a multiport TIUSB3410, which uticom(4) can't deal with yet. hints from sthen@
2009-11-18* always move the same amount of data (256 frames) in the interrupt handlerJacob Meuser
* round blocksizes to multiples of 256 frames * fix display of record.source.volume and add record.mic.preamp mixer controls * add recording support ok kettenis@. ok ratchov@ on a slightly different version.
2009-11-18Stricter type usage (width and signedness); first step towards 64 bit ptes.Miod Vallat
2009-11-18panic on impossible error codeAlexander Hall
potential off-by-one found by parfait ok deraadt@, krw@
2009-11-18Move widget register information apart from xbow software interface, andMiod Vallat
update #include needs. No functional change.
2009-11-18Add glue to attach iockbc(4) to iof(4) as well. Tested by deraadt@Miod Vallat
2009-11-18regenJonathan Gray
2009-11-18More EP80579 devices.Jonathan Gray
2009-11-18Don't whinge about not knowing the bus_clock for EP80579 (model 0x15)Jonathan Gray
as there is no FSB and the processors don't have speedstep anyway.
2009-11-18improve the bpf path. packets we send out via the bridge are seen, butTheo de Raadt
those that come in the bridge are still invisible. the bridge is going to have to bpf those for us.
2009-11-18set IFCAP_VLAN_MTU; from bradTheo de Raadt
2009-11-18do not do setup that ether_ifattach() takes care of; ok jsgTheo de Raadt
2009-11-17Tidy up promisc/multicast handing. From Brad. Tested by me.Mark Kettenis
2009-11-17fix a DPRINTF format string.Damien Bergamini
2009-11-17nuke the temperature sensor.Damien Bergamini
it is totally useless since (contrary to the one in iwn(4)) it is not in any known unit (can't be converted to degK or degC).
2009-11-17regenDamien Bergamini
2009-11-17another shitload of run(4) usb idsDamien Bergamini
we have 159 ids now just for run(4)
2009-11-17cleanup the printf/DPRINTF mess.Damien Bergamini
use proper debug levels for diagnostic messages such that we don't spam the logs when athn_debug is low.