summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-02-20Make sure we have enough space in the LDC transmit queue to send a DRING_DATAMark Kettenis
message and bail out early instead of dropping packets to be transmitted.
2009-02-20Ensure that bpf_mtap() is always called at the same interrupt priorityJoel Sing
level within the tun(4) driver. Otherwise we can be interrupted whilst copying a packet into the BPF buffer, leading to a race between bpf_mtap() calls. This can result in corruption within the BPF buffers. Also ensure that we are at IPL_NET when calling ether_input_mbuf(). Fixes PR6073. ok claudio@, canacar@ (for an earlier version of this diff)
2009-02-20Add Sony VGP-VCC9 Camera (Ricoh chipset) to the quirk list.Marcus Glocker
2009-02-20regenMarcus Glocker
2009-02-20Add Sony VGP-VCC9 Camera (Ricoh chipset).Marcus Glocker
2009-02-20Add more Ricoh chipsets to the quirk list which could work.Marcus Glocker
2009-02-20Don't attach non-UISUBCLASS_VIDEOCONTROL interfaces from some quirkMarcus Glocker
devices. Problem reported by Jerome Pinot (QuickCam OEM). Also tested by deraadt@ with ricoh chipset.
2009-02-20Bring NO_CCB to cac(4), which helps bio work better withoutKenneth R Westerback
generating worrying error messages. Or possibly losing i/o's. tested by jbg@ ok deraadt@
2009-02-19Indicate if a thermal sensor is present on ddr3 modules.Jonathan Gray
2009-02-19Move most of spdmem match logic into the driver and add crc16/ddr3Jonathan Gray
support based on changes in NetBSD by Paul Goyette with goop like bitfields/single decode function mess removed and things like module type/simpler capacity calculations added. Tested by a bunch of people in particular krw who tested a few revs of the ddr3 bits.
2009-02-19the uaa structure (and things it points, for instance ifaces) is onlyTheo de Raadt
alive during match and attach. do not attempt to reuse this pointer or ifaces during a deferred attach routine, since it will contain junk, but instead make copies. tested on all 3 kinds of uvideo's (ricoh fw load, apple fw load, and the rest) ok robert mglocker
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@.