summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2013-12-04use dv_unit rather than storing (or forgetting to store...) a localderaadt3-7/+5
version noted by uaa@
2013-12-03Remove num_chip_names.brad1-2/+1
aic79xx.c:93:20: error: unused variable 'num_chip_names' [-Werror,-Wunused-const-variable] ok deraadt@
2013-12-03#if 0 out atw_hw_decrypted() as it is currently an unused function as thebrad1-1/+3
code calling it is also #if 0'd out. atw.c:3021:1: error: unused function 'atw_hw_decrypted' [-Werror,-Wunused-function] ok deraadt@ sthen@
2013-12-03Seems we simply have to live with fatal firmware errors. Even Linux, with itskettenis2-14/+21
driver written by Intel engineers occasionally gets them. So when we get one, simply reset the chip, reload the firware and bring the interface up again. Tested by naddy@, who unfortunately is experiencing the quantum zeno effect making his iwi(4) not crap out. ok stsp@
2013-12-03add copyright notice/code modifier's name.sasano1-1/+17
ok by deraadt@
2013-12-03Remove some unused cruft.kettenis1-7/+1
2013-12-02Rewrite receive filter handling and ioctl bits. Fixes not being able tobrad2-148/+111
bring the interface out of all multicast mode once a range of multicast addresses has been found and missing multicast range checking for some of the dc(4) variants. Tested with 21143 (represents most of the dc(4) variants and boards) and ADMtek based adapters. Untested with ASIX and Xircom based adapters. Putting it in to move forward. I don't expect any issues with the ASIX/Xircom adapters with the changes as is. ok naddy@
2013-12-02CIRCLEQ begone.krw2-15/+15
ok jsing@ (who actually ok'd the systat one too, not millert@)
2013-12-01Remove some prototypes for functions that no longer exist.kettenis1-3/+1
2013-12-01The flush_tlb() method is a no-op so don't bother.kettenis1-3/+1
2013-12-01drm/i915: no lvds quirk for hp t5740kettenis1-3/+3
From Ben Mesman 117b91f41d99e88338e1f9577ced365e777a9098 in ubuntu 3.8 45a211d75137b1ac869a8a758a6667f15827a115 in mainline linux
2013-12-01drm/i915: Fix write-read race with multiple ringskettenis1-1/+5
From Chris Wilson caf40bcc8f6751b723f0ec78e2f67beb771bfb68 in ubuntu 3.8 02978ff57a5bdfbf703d2bc5a4d933a53ede3144 in mainline linux
2013-12-01drm/i915: inverted brightness quirk for Acer Aspire 4736Zkettenis1-1/+4
From Daniel Vetter 96f2e8dd3f2492d3bbf232fa0afc1e0e065e7d52 in ubuntu 3.8 ac4199e0f047546aa40172785e26c82b54bbe811 in mainline linux
2013-12-01drm/i915: Adding more reserved PCI IDs for Haswell.kettenis1-12/+36
From Rodrigo Vivi 349fe2edae985d44dc8ca27c6441b20408a9e184 in ubuntu 3.8 1c98b4871cca4b7ce07e19f92f934d47cf7210b0 in mainline linux
2013-12-01drm/i915: Correct obj->mm_list link to dev_priv->dev_priv->mm.inactive_listkettenis1-2/+2
From Xiong Zhang 77e700964bdb06caf7eaf03371d7ffd4a6500199 in ubuntu 3.8 067556084a0e412013af6b0250a3143ae5afde6d in mainline linux
2013-12-01Bring back the DRM_IOCTL_I915_GEM_WAIT diff now that I've figured out whatkettenis6-44/+183
made it fail (WARN_ON() was evaluating its argument multiple times). This time, also advertise support through I915_PARAM_HAS_WAIT_TIMEOUT.
2013-12-01Fix WARN() and WARN_ON(); the condition should only be evaluated once.kettenis1-6/+15
Properly implement WARN_ON_ONCE() as well. ok jsg@
2013-11-30Oops! Only intended to commit the i915_dma.c changes in the previous commit.kettenis6-185/+48
2013-11-30Reorder some case statements to reduce the diffs with Linux.kettenis7-52/+190
2013-11-30Seems we simply have to live with fatal firmware errors. Even Linux, with itskettenis2-13/+22
driver written by Intel engineers occasionally gets them. So when we get one, simply reset the chip, reload the firware and bring the interface up again. tested by stsp@, pascal@ ok stsp@
2013-11-30Enable some #ifdef'ed out SandyBridge-specific code that seems to work fine.kettenis1-3/+1
2013-11-30Restore frame buffer upon last close; makes sure we we have a usable consolekettenis1-1/+2
after exiting X. tested by tobiasu@
2013-11-29Should be safe to allow intel_ring_wait_seqno() to be interrupted.kettenis1-13/+1
Reduces diffs with Linux.
2013-11-29Change the sc_model field type from unsigned to signed since the model can bebrad1-2/+2
set to SB_UNK which has a value of -1. sb.c:307:8: error: comparison of 0 <= unsigned expression is always true [-Werror,-Wtautological-compare] ok deraadt@
2013-11-28Re-enable RADEON_INFO_VA_START and RADEON_INFO_IB_VM_MAX_SIZE.kettenis1-7/+1
suggested by jsg@
2013-11-28Add short-circuit code to __wait_seqno() that's also present in Linux.kettenis1-1/+4
2013-11-28Seems we simply have tolibe with fatal firmware errors. Even Linux, with itskettenis2-13/+22
driver written by Intel engineers occasionally gets them. So when we get one, simply reset the chip, reload the firware and bring the interface up again. ok chris@, phessler@, mpi@
2013-11-28the stuff in audiovar.h is only used in audio.c, so move it in there todlg2-159/+121
take the temptation of using it elsewhere and fumbling with audio internals away from the rest of the kernel. ok mpi@ ratchov@ "if it is worth doing, just do it." deraadt@
2013-11-27Reduce diffs with Linux.kettenis1-4/+4
2013-11-27Hook up gem_open/close_object methods.kettenis3-12/+29
ok jsg@
2013-11-27Add 'struct drm_i915_gem_objects_ops' and use it; reduces diffs with Linux.kettenis2-19/+36
2013-11-27fix typoderaadt1-2/+2
2013-11-27use a macro when testing for an ich8 family mac typejsg3-195/+39
no binary change
2013-11-26spelling; Kent R. Spillnerderaadt1-4/+4
2013-11-261 << 31 cleanup. Eitan Adler pointed out that there has been aderaadt23-244/+244
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu
2013-11-26Instead of comparing the lower and higher addresses of all the multicastmpi25-257/+136
entries to decide if the IFF_ALLMULTI flag should be set, check if there is at least one real range between them. This should not change the behavior of any driver but if you encounter any problem, feel free to revert the offending chunk and ping me about it. ok naddy@, dlg@
2013-11-26claim to support relaxed fencingjsg1-5/+1
ok kettenis@
2013-11-23task_add(NULL, blah) is a fault, fix by using task_add(systq, blah).dlg1-2/+2
reported by josh grosse on misc@
2013-11-22regenkettenis2-2/+7
2013-11-22Another AMD Family 15h Models 10h-1Fh device.kettenis1-1/+2
2013-11-22Stray missing (long long) on a daddr_t variable being printed.krw1-2/+2
ok jsing@
2013-11-21missing pass DEVNAME(sc), fix format string; OK guenther@gsoares1-2/+2
2013-11-21Cast daddr_t variable to (long long) even for %llx!krw2-5/+6
2013-11-21Don't cast int64_t variables to (long long) when using %lld.krw2-9/+5
2013-11-21Change a bunch of daddr_t variables that don't (obviously) containkrw5-20/+28
512-byte-block information to int64_t, the underlying type of daddr_t at the moment. No change to .o files. Removal of now unneeded (long long) casts is next.
2013-11-21Remove unneeded include.mpi5-10/+5
ok deraadt@
2013-11-21Initial support for the integrated Lynx Point and Lynx Point LP Ethernetjsg3-78/+247
with external i217 and i218 PHYs. Requires a changed way of detecting the eeprom flash bank from FreeBSD as suggested by Masanobu SAITOH. Thanks to everyone who tested.
2013-11-21Revert r1.41, in this driver sc_attached does not indicate that thempi2-2/+8
driver is not yet attached, it is here to prevent the driver to free unitialized structures in case something wrong happened during the the initialization... Found the hard way and ok giovanni@
2013-11-21remove the #define b_cylinder b_resid from bufs. i hated thedlg1-12/+17
overloading of that thing. the only hardware that seems to care about cylinders in our tree are floppy drives, and the drivers for those calculate their own cylinders from logical block addresses and ignore whatever the rest of the kernel thought b_cylinders should be. most of this diff is moving the floppy drivers to using b_resid as a resid and using that as part of the calculation for real cylinder values. the rest of the diff is getting rid of the useless assignments to b_cylinder that dont get used by anything (now that disksort is gone). ok miod@
2013-11-20Eliminate some differences with the Linux code; no code change.kettenis1-3/+6