summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-02-19suspend/resume bits so that we can develop this in tree. This is disabled.Marco Peereboom
code from mlarkin and me help from art,toby,jordan and several others ok jordan, go for it deraadt
2009-02-19sys/types.h or sys/param.h MUST BE FIRSTTheo de Raadt
2009-02-19Don't use scsi_xfer if we don't run a command came from the scsi layer.Alexander Yurchenko
2009-02-19Make prom_sun4v_soft_state_supported() call the right client interface.Mark Kettenis
2009-02-18Disable all IGPGART chipsets in radeondrm for release.Owain Ainsworth
The RS480 is just fucking evil, the RS690 works ONCE but doesn't on reboot, and i've never heard about a RS400 being tested, so disable that too for safety. This is so that only working chipsets make release, if I just removed your working chipset, please let me know. deraadt@ requested that I do this now, not later.
2009-02-18In __cpu_simple_lock(), do not hog the bus with exclusive accesses; ifMiod Vallat
xmem didn't return the expected value, spin doing regular loads until it appears we have a chance to grab the lock again.
2009-02-18typoMiod Vallat
2009-02-18Move goto lables to the beginning of the line. Having them indented likeClaudio Jeker
the rest of the switch cases is a good camouflage.
2009-02-18Fix thinko in list traversal in vsbic_cmd_ccb().Miod Vallat
2009-02-18Better bus_dmamap_sync() routine, lets vsbic(4) run on 68060 systems, soMiod Vallat
let it attach on them now.
2009-02-18delay() would only work as intended after clock0 attached. Initialize theMiod Vallat
delay strategy variable in locore now; this fixes the occasional console output artefacts on MVME177.
2009-02-18Check for nofault being set in the 68030 bus error handler, too. This makesMiod Vallat
bad[pv]addr work again on MVME147.
2009-02-18Repair DCI[ASU] operation on 68030 processors, broken by accident in r1.53Miod Vallat
2009-02-18bring back the NAT NOP fix, but this time right.Henning Brauer
when we want to pretend pf_get_translation didn't do anything we must get rid of _both_ state keys and reset all 4 sk pointers to NULL and not leave one key behind and have all 4 pointers point to it - that must fail. tested dhill sthen, david agrees, deraadt ok
2009-02-18Make the best guesses possible about newer usb modems and in which modesTheo de Raadt
they need to be started up. Some limited discussion with yuo@ and fkr@, who to a large degree I think have punted on even trying to stay ahead of the curve here. Come on guys.
2009-02-18syncTheo de Raadt
2009-02-18add about 30 or so newer GSM/whatever modemsTheo de Raadt
2009-02-18- add and enable zyd(4)Jasper Lievisse Adriaanse
ok kettenis@
2009-02-18if a peer requests a state that is marked as NOSYNC, then skip it.David Gwynne
2009-02-18Free authentication data when detaching sppp from interface.Can Erkin Acar
2009-02-18Backout PDC & PPC changes because it hangs several laptops.Marco Peereboom
2009-02-17// style comments shouldnt be in the tree.David Gwynne
reminded by deraadt@
2009-02-17assert copyright over the changes i made.David Gwynne
reminded by deraadt@
2009-02-17init the tdb tailq. hopefully this fixes sthens crash.David Gwynne
2009-02-17Add real bus_space and bus_dma to mvme68k, so that it can benefit fromMiod Vallat
recent driver work; this gives us better osiop and vs drivers, vsbic (although currently disabled on 68060 boards until more bugs are fixed), and the ability to boot and root off vs and vsbic. Existing code is not modified and still uses memory mapped structures; this might change eventually as more code gets factorized and moved to MI land.
2009-02-17Declare cpu_model as an array instead of a pointer; makes sysctl hw.modelMark Kettenis
return a sensible value instead of an empty string. tested by jasper@
2009-02-17Pass a cpu_info * to setsoftipi() so it does not need to curcpu(), whichMiod Vallat
synchronizes the pipeline on 88110.
2009-02-17Be sure to pass a valid confargs * to child devices of vme0 when attaching,Miod Vallat
for they will attempt to dereference it and having NULL readable while in the kernel is just cheating.
2009-02-17fix uninitialized variable.Charles Longeau
found by LLVM/Clang Static Analyzer. ok dlg@
2009-02-17- increase the delays in tsec_mii_{read,write}reg() , makes my n1200 happierJasper Lievisse Adriaanse
hints and ok kettenis@
2009-02-17Remove debug printf.Mark Kettenis
2009-02-17- add more bioctl support, now physical drives info availableAlexander Yurchenko
- shrink dmesg strings
2009-02-17something has to go... because the piggy developers bloated the kernel againTheo de Raadt
2009-02-17variable no longer usedTheo de Raadt
2009-02-17Remove an if 0ed out chunk for BUS_DMA_COHERENT in bus_dmamap_map.Owain Ainsworth
sparc64 is dma coherent and won't be needing this. ok kettenis@.
2009-02-17Forgot to crank version after ethernet buffer address change.Miod Vallat
2009-02-17Move ethernet buffers higher in memory, just below our text, to allowMiod Vallat
larger bsd.rd to load correctly. Tested on MVME147 (if_le) and MVME167 (if_ie).
2009-02-17Don't leak the dmamap on freeing memory.Owain Ainsworth
2009-02-17The loop here preparing the uio always added the length of the firstOwain Ainsworth
iovec, not the correct one. It worked ok since iovcnt was always 1. Since it's unlikely to be any other number, remove the loop and just add the one length we care about. "go ahead" deraadt@.
2009-02-17ensure all pi_magic checks are inside DIAGNOSTICTheo de Raadt
2009-02-16Cancel the automatic boot when you hold ctrl to skip boot.conf.Stuart Henderson
"I like it" deraadt "sweet" tedu "love it" marco
2009-02-16at tedu's request, bring back the basic single "first word" PI_MAGIC checkTheo de Raadt
since it is essentially free. To turn on the checking of the rest of the allocation, use 'option POOL_DEBUG' ok tedu
2009-02-16allocate the large structures instead of putting them on the stack, andTheo de Raadt
use M_CANWAIT throughout ok sthen canacar claudio
2009-02-16More 88110 SMP work. Contains, horribly entangled:Miod Vallat
- dma_cachectl() split into a ``local cpu only'' and ``all cpus'', and an ipi to broadcast ``local dma_cachectl'' is added. - cpu_info fields are rearranged, to have the 88100-specific information and the 88110-specific information overlap, and has many more 88110 ugly things. - more ipi handling in the 197-specific area. Since it is not possible to have the second processor receive any hardware interrupt (selection is done on a level basis via ISEL, and we definitely do not want the main cpu to lose interrupts), the best we can do is to inflict ourselves a soft interrupt for late ipi processing. It gets used for softclock and hardclock on the secondary processor, but since the soft interrupt dispatcher doesn't have an exception frame, we have to remember parts of it to build a fake clockframe from the soft ipi handler (ugly but works). This now lets GENERIC.MP run a few userland binaries before bugs trigger.
2009-02-16Since NMI are now handled separately, remove the ``interrupt type'' argumentMiod Vallat
from interrupt() and related function pointers.
2009-02-16Disable pool debug stuff for the release (it has a performance hit, butTheo de Raadt
between releases we may want to turn it on, since it has uncovered real bugs) ok miod henning etc etc
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
2009-02-16Don't try to SCSIDEBUG targets or luns >31 since we only have 32 bits toKenneth R Westerback
use to identify devices of interest. ok deraadt@
2009-02-16remove incorrect cast of pcb_cr3. okay kettenis@ weingart@Kurt Miller
2009-02-16Rewrite the way the initial processing of exceptions is done on 88110 - weMiod Vallat
now set up both the exception frame structure and the exception stack as soon as possible, so that we can safely get interrupted by an NMI as soon as we reenable shadowing.