summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2014-02-25Abort and close all the interrupt pipes when detaching HID devices sinceMartin Pieuchot
drivers attaching to uhidev(4) do not always do it. Seems to fix one of the transfer aborting races triggering a lot of "ehci_idone: ..." vomit upon resume. Reported by and fix tested by Ville Valkonen, ok deraadt@
2014-02-25convert most printfs into DPRINTFs to cut down on dmesg spam, and addJonathan Matthew
some missing format arguments pointed out by jsg@
2014-02-25match on Atom C2000Jonathan Gray
ok deraadt@
2014-02-25regenJonathan Gray
2014-02-25add Atom C2000 devices and a few othersJonathan Gray
ok deraadt@
2014-02-25Some broken BIOSen don't assign an address to the ROM BAR. Fix this up, as weMark Kettenis
typically need to be able to map the ROM to get connector information and/or to POST the card. ok deraadt@
2014-02-24Reduce dmesg spam. Apologies to stsp@ for rejecting his larger diff thatMark Kettenis
contained this bit. ok deraadt@
2014-02-24Revert rev 1.348 and disable IPv6 TCP checksum offload for the time being.Brad Smith
It has been reported that the offload support is not working properly with some of the newer ASICs, specifically BCM57780 and BCM57765. It is unknown what the issue is whether it could be hw, the driver or the stack; so to be on the safe side it is being disabled all together until the issue can be investigated further. ok deraadt@
2014-02-24Partially revert r1.134, bring back the code suspending root hub's portsMartin Pieuchot
before reseting the controller in order to save power when the machine is suspended. ok deraadt@
2014-02-24regenDavid Gwynne
2014-02-24PLX 8724 as found on LSI SAS9206-16E boards.David Gwynne
ok deraadt@
2014-02-23when built without firmware, check that the chip already has firmwareJonathan Matthew
before trying to boot it, so we can explain why it's not working rather than printing cryptic errors.
2014-02-23Give drm(4) a console locator just like wsdisplay(4) such that we can makeMark Kettenis
sure /dev/drm0 always matches the primary display. ok mpi@
2014-02-23rework firmware handling a bit. when built without firmware, check thatJonathan Matthew
the chip already has firmware before trying to boot it, so we can explain why it's not working rather than printing cryptic errors.
2014-02-22refactor firmware loading with a function pointerTheo de Raadt
ok jmatthew
2014-02-22basic i210/i211 support (improved after looking at gollo@ i210 diff on misc)Chris Cappuccio
tested on Supermicro X10SLL ok jsg@
2014-02-21Do the lid control further on in the resume sequence, since this isTheo de Raadt
AML, and will do WAITOK operations. While cold, that is a bad idea. We seem to be safe with respect to the spec, I do not see any event debounce issues here. ok kettenis, tested by many
2014-02-21these two drivers should be doing their repair at DVACT_WAKEUP timeTheo de Raadt
rather than DVACT_RESUME in snapshots for a long time, looked at by pirofti kettenis mlarkin
2014-02-21spacingTheo de Raadt
2014-02-21remove stray printf; ok piroftiTheo de Raadt
2014-02-20Remove some code that has no effect.Mark Kettenis
2014-02-20More turd shining; cleanup the message that prints the firmware revision andMark Kettenis
attributes. ok dlg@, jmatthew@
2014-02-20revert previous commit; didn't intend to commit those bitsMark Kettenis
2014-02-20Avoid printing the "nvram corrupt" message for onboard 2200s found on SunMark Kettenis
hardware. ok dlg@, jmatthew@
2014-02-20jsg@ pointed out i am bad at loops.David Gwynne
2014-02-20knfDavid Gwynne
2014-02-20pull the isr reads out into per chip variants we get to via pointersDavid Gwynne
in a per generation structure. this avoids code on every isr to figure out what version of the chip we are, which is silly since we know that at attach time. ok jmatthew@
2014-02-19Unbreak the tree; include <machine/atomic.h> instead of relying on somethingMark Kettenis
else bringing it in. Found out the hard way by florian@
2014-02-19tweak the response queue handling so it looks like qle. the importantDavid Gwynne
bit is to post to the resp_out register once outside the loop rather than inside every loop. rework the code for finding the queue registers so its done once on attach by pointing the sc at a map, rather than running big conditionals in code on every register operation based on teh chip version. tested on 2200s by me and 2312s by jmatthew@ ok jmatthew@
2014-02-19the RESP_IN register is 32bits, so consistently use a u_int32_t toDavid Gwynne
handle it. ok jmatthew@
2014-02-19massage the response queue handling a bit:David Gwynne
break if we've already handled the queue rather than printf something. complete all the pending entries before posting what we've done instead of after each entry. ok jmatthew@
2014-02-19qle seems fine with msi interruptsDavid Gwynne
ok jmatthew@
2014-02-19remove some dead code - all the chips we handle can do type 4 commands,Jonathan Matthew
which means we don't need to use sgl continuation command buffers. this keeps things much simpler on the iopool side of things.
2014-02-19drm/radeon: 0x9649 is SUMO2 not SUMOJonathan Gray
From Alex Deucher 9f920083d1b766e795acbddf0dbd766a4291c5d6 in ubuntu 3.8 d00adcc8ae9e22eca9d8af5f66c59ad9a74c90ec in mainline linux
2014-02-19drm/i915: fix missed hunk after GT access breakageJonathan Gray
From Ben Widawsky 991d4b19f95e3baa4297d57413ca64e7caa1d959 in ubuntu 3.8 e1b4d3036c07ff137955fb1c0197ab62534f46ec in mainline linux
2014-02-19drm/i915: initialize gt_lock early with other spin locksJonathan Gray
From Jani Nikula b5ff26dd315431af29d270c338dfabd48ce29073 in ubuntu 3.8 14c5cec5d0cd73e7e9d4fbea2bbfeea8f3ade871 in mainline linux
2014-02-19drm/i915: fix up gt init sequence falloutJonathan Gray
From Daniel Vetter fc832386574c43961b8b0f177d0062132be1d13b in ubuntu 3.8 181d1b9e31c668259d3798c521672afb8edd355c in mainline linux
2014-02-19drm/i915: fix long-standing SNB regression in power consumption after resume v2Jonathan Gray
From Konstantin Khlebnikov e508abbbfbefacf721cc1faf39fe5105d179f489 in ubuntu 3.8 7dcd2677ea912573d9ed4bcd629b0023b2d11505 in mainline linux
2014-02-19Partially revert "drm/i915: unconditionally use mt forcewake on hsw/ivb"Jonathan Gray
From Guenter Roeck 5ce34926a10cb5be0fd2e1817ccc116817ec640f in ubuntu 3.8 c11e5f35ab490bd30591563816fbc83526521777 in mainline linux
2014-02-18convert printfs into a few different debug categories, leaving portJonathan Matthew
discovery stuff enabled for now.
2014-02-18drm/i915: VLV2 - Fix hotplug detect bitsJonathan Gray
From Todd Previte 080caf7f5b0d025c2e19f2f516da634d020ba70f in ubuntu 3.8 232a6ee9af8adb185640f67fcaaa9014a9aa0573 in mainline linux
2014-02-18drm/i915: Hold mutex across i915_gem_releaseJonathan Gray
From Chris Wilson e20ebbe3f08a1258fe54bcf6e6bcd75bb9b1ecc0 in ubuntu 3.8 0d1430a3f4b7cfd8779b78740a4182321f3ca7f3 in mainline linux
2014-02-17Add initial support for i354 MAC and M88E1543 PHY.Jonathan Gray
Currently treated the same as i350, i354 specific EEE settings and 2.5Gb backplane connections not properly handled yet. Tested by Andrew Lester on a Supermicro A1SRi-2758F.
2014-02-17use the DEVNAME macro to get the name of the interrupt rather than theDavid Gwynne
xname lookup by hand. for consistency. ok jmatthew@
2014-02-17use a bus_space subregion to talk to the mbox registers so you canDavid Gwynne
do the maths for getting the different offset for 24xx and 25xx once in attach rather than on every read and write. ok jmatthew@
2014-02-15drm/radeon/DCE4+: clear bios scratch dpms bit (v2)Jonathan Gray
From Alex Deucher 5e47f3719629ddfbb33326a3446d521f1a78c3b4 in ubuntu 3.8 6802d4bad83f50081b2788698570218aaff8d10e in mainline linux
2014-02-15nep(4); start of a driver for the Sun Neptune 10/100/1000/10G Ethernet chip.Mark Kettenis
2014-02-15drm/radeon: fix surface sync in fence on cayman (v2)Jonathan Gray
From Alex Deucher 5dd953fd70af5ef1bd605b93f87f55bc663be6a8 in ubuntu 3.8 10e9ffae463396c5a25fdfe8a48d7c98a87f6b85 in mainline linux
2014-02-15drm/radeon: disable ss on DP for DCE3.xJonathan Gray
From Alex Deucher b069c7f6ed4d74d9eff333a093ebb94f38af3db1 in ubuntu 3.8 d8e24525094200601236fa64a54cf73e3d682f2e in mainline linux
2014-02-15drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALIDJonathan Gray
From Marek Olsak de17d04713f1efa68e9e7bfbeab7e91fe495e012 in ubuntu 3.8 56492e0fac2dbaf7735ffd66b206a90624917789 in mainline linux