summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-03-25regenChris Kuethe
2010-03-25remove duplicate definition. "Commit right away." deraadt@Chris Kuethe
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
list walkers in sysctl that can block. As a reward, no more vslock. With some feedback from art, guenther, phessler. ok guenther.
2010-03-24syncTheo de Raadt
2010-03-24be even more exact about the TI pcie switchesTheo de Raadt
2010-03-24sncTheo de Raadt
2010-03-24correct IDTheo de Raadt
2010-03-24vdsk_scsi_cmd doesnt need to return now, so fix some of its scsi commandDavid Gwynne
emulation to not return values either. i think this is right, but cant test just yet. found by deraadt@
2010-03-24Bring back PHYSLOAD_DEVICE for uvm_page_physload.Owain Ainsworth
ok kettenis@ beck@ (tentatively) and ariane@. deraadt asked for it to be commited now. original commit message: extend uvm_page_physload to have the ability to add "device" pages to the system. This is needed in the case where you need managed pages so you can handle faulting and pmap_page_protect() on said pages when you manage memory in such regions (i'm looking at you, graphics cards). these pages are flagged PG_DEV, and shall never be on the freelists, assert this. behaviour remains unchanged in the non-device case, specifically for all archs currently in the tree we panic if called after bootstrap. ok art@ kettenis@, beck@
2010-03-23syncTheo de Raadt
2010-03-23new TI 4-way PCIE-PCIE bridgeTheo de Raadt
2010-03-23Fix a crash in pfsync when running IPSEC.Pierre-Yves Ritschard
Found out the hard way by Laurent ``bucky'' Lavaud and myself. Input by claudio@, ok dlg@
2010-03-23Use CPUID leaf function 0x80000008 to fetch the physical address sizeMark Kettenis
supported by the processor and use it to calculate the mask used for manipulating the MTRR registers. If CPUID leaf function 0x80000008 isn't supported by the processor, default to the 36-bit mask we used before. Fixes issues on machines that don't have a 36-bit physical address space like Intel Atom and all 64-bit AMD CPUs. ok weingart@, deraadt@
2010-03-23Set rtm_mpls on RTM_GET so that we get the correct options on mpls routes.Claudio Jeker
OK michele@
2010-03-23macppc seems to need a couple more casts before it will compile aKenneth R Westerback
kernel after the cardbus rectification. ok jsg@
2010-03-23Change the scsi_cmd function member of scsi_adapter from int toKenneth R Westerback
void. Use XS_NO_CCB error in the scsi command (xs) to report the NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE confusion and untangles the midlayer from the adapter a bit more. Eyes and some fixes by miod@ There may be some compile issues on little used (i.e. I don't have any) drivers but the change is mechanical and thus easy to remedy. ok dlg@
2010-03-23dont maintain a list of vether devices inside the driver if they are neverDavid Gwynne
looked up. can vether get any smaller? ok deraadt@ claudio@
2010-03-22Detect Nuvoton W83795G.Mark Kettenis
ok deraadt@
2010-03-22Remove some cardbus defines and types which are identical toJonathan Gray
their pci counterparts, similar to recent changes in NetBSD. ok oga@ deraadt@ jasper@
2010-03-22fix rcs id, from bradJonathan Gray
2010-03-22Put back bnx(4) now that claudio@ has made the driver work on big endianMiod Vallat
systems with page size different than 4KB... 4 months ago.
2010-03-22On SGI IP35 systems, get SPD memory records from L1 and attach spdmem toMiod Vallat
decode them when available; tested on Fuel and Origin 350.
2010-03-22Split existing spdmem@i2c code into bus-agnostic spd record decoding code,Miod Vallat
and an i2c attachment. No functional change; ok jsg@ deraadt@
2010-03-22Enable PAGEFASTRECYCLE.Mark Kettenis
ok deraadt@, ariane@
2010-03-22Read trap registers after setting up the stack frame in the slowtrap handler.Mark Kettenis
This will free up %g4 for tl>0 handling.
2010-03-22There is a workaround for a 82599 specific errata that could hang the rx dmaJonathan Gray
unit, it just wasn't called. Problem is present in the FreeBSD driver (but not the Linux one).
2010-03-22Use the correct number of max scatter gather segments for 82599,Jonathan Gray
adapted from FreeBSD.
2010-03-22Add some MLDv2 definitions from FreeBSD.Jonathan Gray
2010-03-21Add some additional Intel CPUID values for recent and upcoming processors.Jonathan Gray
With some additions from sthen@ ok kettenis@ sthen@
2010-03-21Remove some left over debugging code, shaving off two instructions fromMark Kettenis
sun4v_datatrap.
2010-03-21let this compile without DIAGNOSTIC; from miodTheo de Raadt
2010-03-21add glass console support to the ramdisks; from miodTheo de Raadt
2010-03-21another macbook that needs reference voltage for output.Jacob Meuser
problem reported and fix tested by Ted Roby.
2010-03-21deal with the possibility of two internal speaker pins, like onJacob Meuser
macbooks that have a "normal" pair of stereo speakers as well as subwoofer(s). problem reported and fix tested by Ted Roby.
2010-03-21Update KL structure definitions to match IP35 use of previously unused fields.Miod Vallat
No functional change yet.
2010-03-21Fix widget probe order for BASEIO boards and P-Brick.Miod Vallat
2010-03-21remove definitions of VSCSI_DEBUG stuff. they were never used.David Gwynne
2010-03-20Allow kernels configurations with bluetooth but no USB to build.Matthieu Herrb
Patch from Sylvestre Gallon. ok miod@, deraadt@.
2010-03-20Add code to tell Origin 200 and Origin 2000 / Onyx 2 apart.Miod Vallat
Use this to correctly handle the onboard IOC3 chip configuration on O2k (two IOC3 chips to be able to provide four serial ports, and the other subdevices are split accross the two IOC3 chips).
2010-03-20Don't leak memory when resizing routing table arrayBret Lambert
ok claudio@
2010-03-20NEC Aterm WL300NU-GDamien Bergamini
2010-03-20the NEC Aterm WL300NU-G is an otus(4).Damien Bergamini
2010-03-19Remove support for preproduction 82598 revision A0,Jonathan Gray
it was removed from the equivalent FreeBSD code over a year ago.
2010-03-18enable POOL_DEBUGOtto Moerbeek
2010-03-18move to 4.7-currentOtto Moerbeek
2010-03-16Set rx_ndescs to zero when initializing the rx ring. Otherwise we'llMark Kettenis
effectively lose receive descriptors each time we reset the interface, until we run out of descriptors and panic. Should fix the "em_rxeof: NULL mbuf in slot 0 (nrx 256, filled 255)" panic on em(4). ok jsing@ (for the em(4) bits), jsg@
2010-03-16PCXS processors (really, all PA-RISC processors with separate I and D tlbMiod Vallat
entries) may use the DTLB to resolve an address in ficache(), so make sure pdtlb() always happens after ficache(), not before. This problem was exposed with revision 1.145 of pmap.c. ok kettenis@
2010-03-16eek! negative array offsets are bad. don't allow them.Jacob Meuser
ok kettenis@
2010-03-15Add support for 82801HBM RAID. 'that diff can go in' kettenis@Dale Rahn
2010-03-15Do not leak mbuf in the TX path when a TX error occurs; found the hard wayMiod Vallat
by syuu@; ok kettenis@