summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2014-02-25match on Atom C2000jsg1-1/+2
ok deraadt@
2014-02-25regenjsg2-2/+122
2014-02-25add Atom C2000 devices and a few othersjsg1-1/+25
ok deraadt@
2014-02-25Some broken BIOSen don't assign an address to the ROM BAR. Fix this up, as wekettenis1-1/+38
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 thatkettenis1-2/+1
contained this bit. ok deraadt@
2014-02-24Revert rev 1.348 and disable IPv6 TCP checksum offload for the time being.brad1-3/+1
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 portsmpi1-2/+29
before reseting the controller in order to save power when the machine is suspended. ok deraadt@
2014-02-24regendlg2-2/+7
2014-02-24PLX 8724 as found on LSI SAS9206-16E boards.dlg1-1/+2
ok deraadt@
2014-02-23when built without firmware, check that the chip already has firmwarejmatthew1-32/+32
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 makekettenis5-11/+32
sure /dev/drm0 always matches the primary display. ok mpi@
2014-02-23rework firmware handling a bit. when built without firmware, check thatjmatthew2-31/+73
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 pointerderaadt1-57/+25
ok jmatthew
2014-02-22basic i210/i211 support (improved after looking at gollo@ i210 diff on misc)chris3-16/+63
tested on Supermicro X10SLL ok jsg@
2014-02-21Do the lid control further on in the resume sequence, since this isderaadt1-2/+2
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 timederaadt2-4/+4
rather than DVACT_RESUME in snapshots for a long time, looked at by pirofti kettenis mlarkin
2014-02-21spacingderaadt1-4/+4
2014-02-21remove stray printf; ok piroftideraadt1-2/+1
2014-02-20Remove some code that has no effect.kettenis1-32/+2
2014-02-20More turd shining; cleanup the message that prints the firmware revision andkettenis2-6/+6
attributes. ok dlg@, jmatthew@
2014-02-20revert previous commit; didn't intend to commit those bitskettenis2-22/+9
2014-02-20Avoid printing the "nvram corrupt" message for onboard 2200s found on Sunkettenis3-11/+30
hardware. ok dlg@, jmatthew@
2014-02-20jsg@ pointed out i am bad at loops.dlg1-6/+4
2014-02-20knfdlg1-2/+2
2014-02-20pull the isr reads out into per chip variants we get to via pointersdlg2-70/+74
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 somethingkettenis1-1/+2
else bringing it in. Found out the hard way by florian@
2014-02-19tweak the response queue handling so it looks like qle. the importantdlg2-97/+87
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 todlg1-4/+4
handle it. ok jmatthew@
2014-02-19massage the response queue handling a bit:dlg1-16/+12
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 interruptsdlg1-2/+2
ok jmatthew@
2014-02-19remove some dead code - all the chips we handle can do type 4 commands,jmatthew1-22/+1
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 SUMOjsg1-1/+1
From Alex Deucher 9f920083d1b766e795acbddf0dbd766a4291c5d6 in ubuntu 3.8 d00adcc8ae9e22eca9d8af5f66c59ad9a74c90ec in mainline linux
2014-02-19drm/i915: fix missed hunk after GT access breakagejsg3-3/+11
From Ben Widawsky 991d4b19f95e3baa4297d57413ca64e7caa1d959 in ubuntu 3.8 e1b4d3036c07ff137955fb1c0197ab62534f46ec in mainline linux
2014-02-19drm/i915: initialize gt_lock early with other spin locksjsg2-4/+3
From Jani Nikula b5ff26dd315431af29d270c338dfabd48ce29073 in ubuntu 3.8 14c5cec5d0cd73e7e9d4fbea2bbfeea8f3ade871 in mainline linux
2014-02-19drm/i915: fix up gt init sequence falloutjsg3-8/+9
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 v2jsg2-12/+13
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"jsg1-2/+31
From Guenter Roeck 5ce34926a10cb5be0fd2e1817ccc116817ec640f in ubuntu 3.8 c11e5f35ab490bd30591563816fbc83526521777 in mainline linux
2014-02-18convert printfs into a few different debug categories, leaving portjmatthew1-64/+100
discovery stuff enabled for now.
2014-02-18drm/i915: VLV2 - Fix hotplug detect bitsjsg2-18/+44
From Todd Previte 080caf7f5b0d025c2e19f2f516da634d020ba70f in ubuntu 3.8 232a6ee9af8adb185640f67fcaaa9014a9aa0573 in mainline linux
2014-02-18drm/i915: Hold mutex across i915_gem_releasejsg2-4/+4
From Chris Wilson e20ebbe3f08a1258fe54bcf6e6bcd75bb9b1ecc0 in ubuntu 3.8 0d1430a3f4b7cfd8779b78740a4182321f3ca7f3 in mainline linux
2014-02-17Add initial support for i354 MAC and M88E1543 PHY.jsg3-4/+17
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 thedlg2-4/+4
xname lookup by hand. for consistency. ok jmatthew@
2014-02-17use a bus_space subregion to talk to the mbox registers so you candlg1-13/+20
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)jsg1-1/+5
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.kettenis1-0/+335
2014-02-15drm/radeon: fix surface sync in fence on cayman (v2)jsg2-11/+10
From Alex Deucher 5dd953fd70af5ef1bd605b93f87f55bc663be6a8 in ubuntu 3.8 10e9ffae463396c5a25fdfe8a48d7c98a87f6b85 in mainline linux
2014-02-15drm/radeon: disable ss on DP for DCE3.xjsg1-2/+5
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 INVALIDjsg2-4/+10
From Marek Olsak de17d04713f1efa68e9e7bfbeab7e91fe495e012 in ubuntu 3.8 56492e0fac2dbaf7735ffd66b206a90624917789 in mainline linux
2014-02-15make ISP_NOFIRMWARE work here toojmatthew1-2/+9
2014-02-15radeon/pm: Guard access to rdev->pm.power_state arrayjsg1-3/+5
From Michel Daenzer 0a44540222a9693995ac4d188f9dbaeb394d00bf in ubuntu 3.8 370169516e736edad3b3c5aa49858058f8b55195 in mainline linux