summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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.
2009-11-17fix previous.Damien Bergamini
2009-11-17update hardware multicast filter.Damien Bergamini
2009-11-17regenDamien Bergamini
2009-11-17the D-Link DWA-160 rev A2 is an otus(4) too.Damien Bergamini
2009-11-17add short interframe space to duration since the athn_txtimeDamien Bergamini
function does not take it into account. oops.
2009-11-17Initialize the FPU to be in double precision mode for SH4. This is what theMark Kettenis
Linux kernel does and is obviously what GCC expects. Fixed segmentation faults in omalloc_init() for shared executables linked with the pthreads library. tested by otto@, ok deraadt@, drahn@
2009-11-17Tidy up promisc/multicast handling. Tested by myself (and earlierStuart Henderson
versions by some others who didn't test with both multicast and promiscuous at the same time). From Brad.
2009-11-16regenJonathan Gray
2009-11-16Some more Cavium devices. Prompted by a dmesg from Jason George.Jonathan Gray
2009-11-16it is better if it compiles.Damien Bergamini
2009-11-16do not panic when wep is enabled.Damien Bergamini
2009-11-16Fix array access found by parfait and switch to nitems while here.Jonathan Gray
ok deraadt@
2009-11-15athn works on sparc64Theo de Raadt
2009-11-15Move ciss(4) to NO_CCB. Add some extra paranoia by always testingKenneth R Westerback
the results of attempting to get a ccb. Eliminates manual reservation of ccb's for bioctl and sensors. Tested by johan@ and okan@. Eyes from brad@, dlg@ and marco@. tech@ did its Thomas More thing.
2009-11-15AR9287 uses GPIO pin 8 for LED, not 1.Damien Bergamini
Turn link LED on while associated.
2009-11-15Fix memory leak in error case. Found by Parfait.Joel Sing
ok marco@ deraadt@
2009-11-15fix athn_stop_tx_dma().Damien Bergamini
2009-11-15athn(4) has a future in here.Theo de Raadt
2009-11-14translate a comment from french to english.Damien Bergamini
no binary change.
2009-11-14make ramdisks compileTheo de Raadt