summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2014-02-09drm/radeon: allocate SA bo in the requested domainjsg1-2/+2
From Christian Koenig 1930d5d5f8963e90066412bd39d54b955c09947d in ubuntu 3.8 7220f639c2eca36774dbf65b16fe503bfb40fff5 in mainline linux
2014-02-09drm/radeon/hdmi: make sure we have an afmt block assignedjsg2-2/+11
From Alex Deucher 4d178917546b339a5486645f40f32c9cbd1240f1 in ubuntu 3.8 c2b4cacfe9816c1fe378c785ce8a678cf0635ec6 in mainline linux
2014-02-09drm/radeon: update lockup tracking when scheduling in empty ringjsg1-1/+8
From Jerome Glisse e9273f06f28535968e40f5e58b5018d652c698d2 in ubuntu 3.8 8444d5c69549aa0f0b574cc608742d4669e1cc01 in mainline linux
2014-02-09Make sure to close the default pipe before re-opening it when we wantmpi1-3/+3
to update the address and packet length, fixes a memory leak introduced in revision 1.96.
2014-02-09drm/radeon: do not try to uselessly update virtual memory pagetablejsg1-3/+5
From Jerome Glisse 015a02ea12ac2be3e53431b763a531c54b277c71 in ubuntu 3.8 3813f5ca9ab7a00e80a17aab34f155453c66c78a in mainline linux
2014-02-09drm/radeon: don't allow audio on DCE6jsg1-4/+9
From Alex Deucher 9d34ab597ff1fadbe72bbe5377e208b924d57ef1 in ubuntu 3.8 1cbcca302a318499f20a512847c5d6a510c08c35 in mainline linux
2014-02-09drm/radeon: fix card_posted check for newer asicsjsg1-11/+10
From Alex Deucher 86330a74c53a09786820c4109ad681e6a62ebd83 in ubuntu 3.8 09fb8bd1a63b0f9f15e655c4fe8d047e5d2bf67a in mainline linux
2014-02-09radeon: Fix system hang issue when using KMS with older cardsjsg13-58/+91
From Adis Hamzadis c9b986fd9f606cd00492c3c9e95926c654f4e04f in ubuntu 3.8 e49f3959a96dc279860af7e86e6dbcfda50580a5 in mainline linux
2014-02-09Do not allow to unconfigure a device by setting the configurationmpi1-4/+1
number 0, leaving its descriptors pointing to NULL. There's a lot of code in our stack that assumes that the various descriptors are always valid and changing this would be too much work for the moment. Fix an issue reported by Thomas Pfaff, thanks!
2014-02-09use linux style memory allocations in radeonjsg37-287/+239
2014-02-09use linux style memory allocations in ttmjsg7-42/+42
2014-02-09add some more linux compat functions for memory allocationjsg1-1/+21
2014-02-08Be conservative about the resources the controller advertises forchris1-2/+2
"type D" Marvel 9580. From Ching Huang, Areca. ok dlg@
2014-02-08Stop disablng/enabling interrupts in the interrupt handler forchris1-6/+2
"chip type D" which is Marvell 9580. None of the other types do this and OpenBSD doesn't interrupt during the interrupt routine anyways. From Ching Huang, Areca. ok dlg@
2014-02-06missing define for qla2100 supportjmatthew1-1/+2
2014-02-06revert some HID changes that broke on older modelsjcs1-5/+16
discussed with mpi@ and jung@
2014-02-06Almost-working QLA2100 support. This appears to be the best I can do forjmatthew2-13/+59
now. The one 2100 card I have doesn't work at all with isp(4). I can get it to see devices on the fabric, but it can't log in to them, and it can't see loop devices at all.
2014-02-05We're never going to detach the host bridge on our machines.kettenis1-34/+1
spotted by deraadt@ during n2k14
2014-02-05We have WARN_ONCE now.kettenis2-5/+3
2014-02-05Do proper error handling in the fault handler. Fixes spurious SIGSEGVs askettenis1-10/+35
seen with the new xf86-video-intel 2.99.909 on some hardware. The problem was probably masked bu the holding logic that was removed in rev 1.67. tested by tedu@, matthieu@
2014-02-05after running myx(4) without biglock in production for a few daysdlg1-49/+73
i discovered that there's a race between the interrupt code and myx_start which causes the count of free tx descriptors to get distorted, which eventually leads to a permanent setting of IFF_OACTIVE, which in turn prevents the driver from transmitting packets. fixing that went horribly wrong when i then discovered that there's a race between the interrupt handler and myx_down, where the interrupt can tell myx_down to wake up and free all the rings while the interrupt handler is still looking at them. free panics for all. this moves the handling of the tx free count under the biglock (for now), and moves myx_up and myx_down to managing a "driver state" variable independantly of the IFF_UP and IFF_RUNNING flags, and very very careful reordering of the checks of that state variable and the hardware state. as a bonus we get to avoid excessive calls to myx_txeof and myx_rxeof in the isr, and less stuff checked unconditionally. on the other hand, the sc_state handling added some more checks so it might not be a win overall. tested on smp sparc64 with msi and nonmsi interrupts, and on amd64 smp in production again.
2014-02-05Avoid calling delay(9) between checking and clearing the interrupt status bits.kettenis1-4/+3
ok jmatthew@
2014-02-05Punt on handling responses if we haven't allocated the response queue yet.kettenis1-1/+4
Otherwise a spurious interrupt might make us dereference a null-pointer. This is especially important for ISP2200 cards with Open Firmware, where the card is running a full firmware and the response queue "in" pointer is non-zero when we take over. ok jmatthew@
2014-02-05- Recognize BCM5762 A0 chipset.brad2-18/+19
- Have the BGE_RXLP_LOCSTAT_IFIN_DROPS workaround cover for the BCM5762 ASIC. From Linux ok naddy@
2014-02-05tiny style adjustmentstedu1-7/+7
2014-02-04Add WARN_ONCE.kettenis1-1/+11
2014-02-04Make sure the USB device pointer is valid even if attach fails sincempi1-3/+4
it is now checked to prevent any operation on the device. Problem found and fix tested by sebastia@
2014-02-04Revert part of rev 1.329 that involved bringing in some code from FreeBSDbrad1-3/+2
and part of it touched upon the link state handling for the BCM5700 B2 revision of chipset. The special casing of the BCM5700 B2 chipset for link state handling is wrong and doesn't work. This special casing was removed in rev 1.229. ok naddy@
2014-02-03Check if the device is being detached when returning from tsleep() andmpi1-1/+7
in such case do not try to cleanup the device since this would make the thread sleep again while keeping a reference to the softc. Fix a panic found by sebastia@, ok pirofti@
2014-02-03Fix a null dereference introduced when converting this driver to usempi1-2/+2
usbd_is_dying(). Found the hard way by sebastia@
2014-02-03use the same option as isp(4) to build without firmware.jmatthew1-2/+21
stub out the firmware loading code and don't include the firmware files when ISP_NOFIRMWARE is defined.
2014-02-02Brainboxes BB16PCI958. Contributed by Eric Huiban, thanks!miod1-1/+15
2014-02-02regenmiod2-2/+14
2014-02-02Brainboxes IS200 BB16PCI958 puc(4)miod1-1/+5
2014-02-02drm/i915: flush cursors harderjsg1-1/+5
From Daniel Vetter ca5667eaca18b0267511728c97e3759d01a348cc in ubuntu 3.8 b2ea8ef559b4d94190009f3651b5b3ab7c05afd3 in mainline linux
2014-02-02sbus(4) glue for qla(4)kettenis2-1/+160
2014-02-02Add missing DRM_UNLOCK() in error path.kettenis1-1/+2
2014-02-02carve up qla_attach() into bits we can use to process loop and fabric changesjmatthew2-271/+347
later on.
2014-02-02Rearrange interrupt register processing for 2200s. The mailbox semaphorejmatthew1-6/+5
seems to be disconnected from the interrupt status register, so we shouldn't wait until the interrupt status is nonzero to check it. This makes onboard FC controllers in Sun systems work better. tested on a blade1k (by kettenis@) and a v880.
2014-02-02drm/i915: Make data/link N value power of twojsg2-18/+21
From Ville Syrjala 16f091c6e04b5ac247d7b3b3764c2fbe8683e497 in ubuntu 3.8 a65851af59387146a28a928c3e7bb17dabc5db72 in mainline linux
2014-02-02add min_t and div_u64 which will be used to reduce the diff to linuxjsg1-1/+12
2014-02-02drm/i915/dp: increase i2c-over-aux retry interval on AUX DEFERjsg1-2/+13
From Jani Nikula 67c729e64ef03476312fc9fb815046d5e540428a in ubuntu 3.8 8d16f258217f2f583af1fd57c5144aa4bbe73e48 in mainline linux
2014-02-02add a simple version of usleep_range() that DELAYs for the min valuejsg1-1/+7
2014-02-01drm/i915: Invalidate TLBs for the rings after a resetjsg2-2/+21
From Chris Wilson 92e199c62a5d698a8e934aea8bcb4fb43968a290 in ubuntu 3.8 884020bf3d2a3787a1cc6df902e98e0eec60330b in mainline linux While the original commit message mentions https://bugs.freedesktop.org/show_bug.cgi?id=64725 which is a problem with hibernate mlarkin@ says it neither helps or hurts in his testing.
2014-02-01On sparc64, use the WWNs from Open Firmware, as the onboard ISP2200 that cankettenis3-17/+31
be found on some Sun hardware doesn't have an NVRAM. ok jmatthew@
2014-02-01Split bge(4)'s feature flags into bge_flags and bge_phy_flags.brad3-70/+72
ok naddy@
2014-01-31tl(4) already allowed for reception of frames up to MCLBYTES in size sobrad1-1/+3
set IFCAP_VLAN_MTU to allow for VLAN sized frames.
2014-01-31Rewrite the receive filter handling code, reinstate the hash filter and cleanupbrad2-72/+40
the ioctl bits. Tested by brad@
2014-01-31Fix a long standing VCPU reset sequence bug on BCM5906. The VCPU (Virtual CPU)brad1-14/+12
of BCM5906 is used to provide a mechanism to control the bootcode execution and to pick up configuration data stored inside the EEPROM. The bootcode of BCM5906 will check the BGE_VCPU_STATUS_DRV_RESET bit to decide which boot procedure to choose. Datasheet indicates the VCPU of BCM5906 should set BGE_VCPU_STATUS_DRV_RESET bit before VCPU reset or global reset. From FreeBSD ok naddy@
2014-01-31sc_function is set, but never used for anything useful. clean it up...dlg1-3/+1