summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-03-15Remove debug leftover.Martin Pieuchot
2014-03-15Unify the *hci_timeout() functions, there should be no functional change.Martin Pieuchot
2014-03-15make the membars look more correct for any memory ordering mode.David Gwynne
ok kettenis@
2014-03-15Enable qla(4) and qle(4) to match the corresponding RAMDISKs.Miod Vallat
2014-03-15Add usage pages from usb HID Power Devices spec.andre
ok mpi@
2014-03-14Remove the userland AGP interface. Now that we have KMS, it is no longerMark Kettenis
used by any of the remaining xenocara drivers. Except perhaps for the legacy i810 support in the xf86-video-intel driver. But i810 support has almost certainly been broken for more than a year now, and any remaining users are probably better off using the xf86-video-vesa driver ever since XAA support was removed from the X server. ok deraadt@, jsg@, mpi@
2014-03-14Revert previous; turns out to be necessary to build the 32-bit boot blocksMiod Vallat
on sgi.
2014-03-14Add the ISY IWL 4000 a new urtwn(4) device, from Fabian Raetz andMartin Pieuchot
Peter J. Philipp.
2014-03-14regenMartin Pieuchot
2014-03-14Add the ISY IWL 4000 a new urtwn(4) device, from Fabian Raetz andMartin Pieuchot
Peter J. Philipp.
2014-03-14Have some style.Paul Irofti
Okay mpi@
2014-03-14Add missing parens so 'if' statement controls both of the statementsKenneth R Westerback
it was intended to control. No real-world change say mikeb@ and mpi@. ok mpi@
2014-03-14use lemtoh64 and htolem64 for reading and writing entries in the rings.David Gwynne
tested on sparc64 and powerpc with and without the MI backends for the lem ops enabled.
2014-03-14provide an MI api for doing byteswapping loads and stores. someDavid Gwynne
archs have instrutions that can do this, and the rest that dont get to use wrappers around the byteswap(3) api. this provides MI backends for sparc64 and powerpc which get a big benefit from this because byteswapping in registers is really hard for them. the intended use case is for reading and writing bits of dma memory handed to and from hardware. discussed with miod@ guenther@ deraadt@ ok miod@ kettenis@
2014-03-14enable qla(4) and qle(4) in ramdisks, except on sgi where the cdfs overflowsJonathan Matthew
2014-03-14rework mplocks to use tickets instead of spinning. this providesDavid Gwynne
fairer access to the kernel lock between logical cpus, especially in multi socket systems. i first wrote this diff in 2011. ok n2k14 for post 5.5 (deraadt@ and kettenis@ in particular)
2014-03-14rework mplocks to use tickets instead of spinning. this providesDavid Gwynne
fairer access to the kernel lock between logical cpus, especially in multi socket systems. i first wrote this diff in 2011. it provided the model for the i386 and sparc64 ticket locks. ok n2k14 for post 5.5 (deraadt@ and kettenis@ in particular)
2014-03-14rework mplock as ticket locks instead of spinlocks. this providesDavid Gwynne
fairer access to the kernel lock (which suffers very heavy contention at the moment). i wrote this at n2k14 and reworked it shortly after to use the mi atomic ops api when that was agreed on. ive been running it on my systems ever since. the version before the atomic op tweaks was tested by kettenis@ n2k14 (deraadt@ and kettenis@ in particular if i recall correctly) oked this going in after 5.5
2014-03-13When polling for command completion, clear the interrupt before reading theMark Kettenis
response queue in pointer register. Interrupts seem to be edge-triggered so if we don't do this we might miss command completions. Seems to fix the remaining issues on the 1040B as found on the Origin 200.
2014-03-13Update the _OSI list to include newer Redmond products which may be requestedBryan Steele
by newer firmware. May cause problems with brightness control on some systems. "lets see what happens" kettenis@, and.. deraadt@ agrees (..hopefully).
2014-03-13We no longer provide the dri1 agp interfaces, so remove the associated glueMark Kettenis
as well. ok jsg@
2014-03-13Missed removing some bits with rev 1.147.Brad Smith
ok sthen@
2014-03-13Block userland from entering drm code (and make sure it is no longer in there)Mark Kettenis
before we truly start quiescing the device and don't unblock until we've finished waking the device up. Fixes issues with suspend/resume on inteldrm(4) and perhaps radeondrm(4) as well. i"it is the right place to stall" deraadt@
2014-03-13Decouple the sizes of the request and response queues, and reduce the size ofMark Kettenis
the response queue to half the size of the request queue (with a minimum of 64 entries). This matches what isp(4) is doing and seems to be necessary for the onboard 1040B found on the Origin 200 (sgi).
2014-03-13Unhook httpd(8) from build; man page bitsFlorian Obser
tweaks jmc@ OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@ "The time is right." and much help getting the show on the road deraadt@
2014-03-13Don't use volume keys when in raw-mode (this doesn't work), and letAlexandre Ratchov
Xorg driver do the translation and handle them as regular keys. Fixes confusion caused by the volume being changed twice in contradictory ways: once by X programs and once by the pckbd(4) driver. ok deraadt, kettenis
2014-03-13bring __unaligned(x) in.David Gwynne
guenther wanted some comments describing their use which i think ive failed miserably at but we can all help fix it in the tree. from netbsd (which is where we got __packed) definitely ok miod@ ok guenther@
2014-03-13get rid of the assumption that the head of the alldevs list is theDavid Gwynne
"mainbus" device. this breaks when mpath is enabled because it attaches before mainbus and therefore takes the head position. have autoconf provide device_mainbus() which looks up mainbus_cd, and use that instead. discussed with deraadt who just wants mpath stuff to move forward despite there being many ways to shine this particular turd.
2014-03-13Drop the REPUN bit from CvmCtl register not to allow unaligned access.YASUOKA Masahiko
Also add new cn30xxcorereg.h to provide constant variables of octeon core.
2014-03-13fix buffer overflows in icmp redirect handling introduced in rev 1.106Jonathan Gray
ok mpi@ millert@
2014-03-12ANSIfy a declaration, no object change.Martin Pieuchot
2014-03-12If a device is babbling do a full reset of the associated endpointMartin Pieuchot
before telling the stack/driver that the responsible transfer is done. Since the request sequence requires, in the present form, to submit two commands from the interrupt handler, modify the command routine to be able to submit asynchronous commands. I can now use my crappy urtwn(4) over xhci(4). While here convert some #if -> #ifdef, pointed out by brad@.
2014-03-12Add compiler barier to bus_dmamap_sync(9), just in case compiler/linkerMark Kettenis
optimizations really become as evil as some people claim, or some poor soul tries to optimize things by inlining this function.
2014-03-12RTAX_IFP points to the "struct sockaddr_dl" corresponding to theMartin Pieuchot
link-layer address of an interface. This ugly structure is used to export the interface's name and index, not only the link-layer address as its name might suggest. So instead reaching this descriptor by forcing and abusing the position of the link-layer "struct ifaddr" in the per-interface list, use the if_sadl pointer directly. ok mikeb@, henning@
2014-03-12enable qla(4) and qle(4) in GENERIC configs where isp(4) is alreadyJonathan Matthew
2014-03-11Simpler RM7000 L2 cache initialization code (no longer matches what pmon2000Miod Vallat
did, but less awkward). Also make sure that the code changing the K0SEG CCA value has enough nops, before returning to cached space, to match the recommended procedure in the RM52xx and RM7000 erratas.
2014-03-11lint is gone, and the 'lint' conditional was never in the implementationPhilip Guenther
namespace, so stop changing behavior when it's #defined ok beck@ krw@
2014-03-11Don't bitch about binding into stolen memory on older hardware either.Mark Kettenis
2014-03-11Remove gratuitous differences between arp and nd6 rtrequests,Martin Pieuchot
no functional change. ok jca@
2014-03-11In case imcp_reflect() is called without a given source addressMartin Pieuchot
do not try to find a matching address by iterating over a global list and always use the routing table. Idea from claudio@, moral support from henning@, ok mikeb@
2014-03-11Kill dead links.Martin Pieuchot
2014-03-11remove #if(n)def __LP64__ from the mips64 codebase, as mips32 never really ↵Jasper Lievisse Adriaanse
went anywhere. ok miod@
2014-03-11Synchronize the i386 and amd64 ddb disassemblers and add supportPhilip Guenther
for many newer instructions. With feedback from jsg@
2014-03-10Support BUS_DMA_NOCACHE in bus_dma(9). Memory allocations done withMiod Vallat
BUS_DMA_NOCACHE (or BUS_DMA_COHERENT if the platform does not have coherent caches) will use PMAP_NOCACHE when invoking pmap_enter(), to avoid creating cached mappings, and then evicting them from the cache.
2014-03-10Support PMAP_NOCACHE in pmap_enter() flags. If set when mapping a managedMiod Vallat
page, the pte is created uncached. Make sure pmap_enter_pv() honours the cache bits of the pte, instead of assuming it will only get called for cached pages. Have it set PV_UNCACHED in the pv flags for the page, if this is the first use of this page and the mapping is not cached. Only check for a virtual aliasing cache condition if the new mapping is cached.
2014-03-10n64 is the default, drop the o32/o64 register assignment conditionals.Miod Vallat
2014-03-10When translating packets from one address family to another, pass theJeremie Courreges-Anglas
TOS/Traffic Class field of the original packet. Discussed with mikeb@
2014-03-10When setting up the packet description, also retrieve the Traffic ClassJeremie Courreges-Anglas
field of IPv6 packets. Issue reported by Christophe Heurtaux on frnog. ok mikeb@
2014-03-10if_lladdr -> if_sadl, no functional change.Martin Pieuchot
ok mikeb@
2014-03-10- fix the mediastatus when the interface is not configured.Jasper Lievisse Adriaanse
- remove unneeded comment, kern.netlivelock doesn't get set here. - rework octeon_eth_mediainit() to be more like other drivers and remove a bunch of XXXs in the process. testing and ok yasuoka@