summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2014-09-21regensasano2-2/+17
2014-09-21add Winchiphead CH382 vendor/device IDsasano1-1/+4
ok by henning@
2014-09-21Directly include sys/timeout.h so we don't depend onjsg1-1/+2
indirectly including it via dev/ic/pckbcvar.h Fixes kernel builds without ukbd(4) and pckbd(4). From Atticus on tech@
2014-09-20Make another fast path properly atomic.kettenis2-20/+61
2014-09-20On i386, agp_map_subregion might sleep, which is not allowed in some ofkettenis2-10/+6
the inteldrm code. Fix this by adding new interfaces that can map a single page without sleeping and use that in the execbuffer fast path that needs this "atomic" behaviour. Should fix the panic I've seen under memory pressure on i386.
2014-09-19Use config_suspend_all(9).kettenis1-6/+5
2014-09-17be less confusing to the compiler when setting up the sge.dlg1-2/+3
2014-09-16mark the mpii interrupt handler as mpsafe, and drop the kernel lockdlg1-10/+29
in the scsi_cmd path and iopool backend. modelled on mfi and mpi.
2014-09-15update comments to reflect chacha20. from Max Fillingertedu1-11/+12
2014-09-15Add generic support for bridges that support subtractive decoding.kettenis2-13/+21
Fixes issues with pcmcia behind a ATI SB400 PCI bridge reported by Thierry Deval. ok mpi@
2014-09-15mark the interrupt handler mpsafe, and drop the kernel lock in the scs_cmddlg2-17/+28
paths. take it again when going back to other parts of the kernel. tested by and ok kettenis@
2014-09-14remove uneeded proc.h includesjsg120-240/+124
ok mpi@ kspillner@
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.doug9-35/+31
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@
2014-09-13Add HP Gen9 Smart Array/Smart HBA devices.jsg1-1/+16
Untested, but there doesn't seem to have been any changes to the firmware interface so these should work without additional changes, as was the case with the last few generations.
2014-09-13regenjsg2-14/+259
2014-09-13Add HP Gen9 Smart Array/Smart HBA devices and some devicesjsg1-8/+57
from submitted dmesgs.
2014-09-12Something went amiss in last pcidevs_data.h generation/commit. Regen andkrw1-4/+4
unbreak kernel compiles.
2014-09-12dont leak a ccb in identifydlg1-1/+3
2014-09-12regendlg2-6/+11
2014-09-12add Intel SSD DC P3700/P3600/P3500dlg1-1/+2
2014-09-12fix some format string issuesdlg1-6/+6
2014-09-10s/IWL/IWN/ in comment here toodcoppa1-3/+3
2014-09-09replace scsi_task(), which is a wrapper around workqs, with a quickdlg1-5/+13
conversion to tasks. tested by chris@
2014-09-09fix remaining spaces/tabs issues in #define linessthen1-11/+11
2014-09-09Backport https://svnweb.freebsd.org/base?view=revision&revision=258829 to fixsthen3-12/+245
scans with various iwn(4) devices. From Fabian Raetz, testing by Fabian, Marcin Piotr Pawlowski, Mike Burns, kettenis@ and myself. ok kettenis@ with minor tweaks for whitespace in #define lines which I've done; also I have done s/IWL/IWN/ in comments as noticed by dcoppa@.
2014-09-09mark the interrupt handler mpsafe, and give up biglock in the scsi cmddlg2-4/+19
submission paths. take biglock again when calling back into the scsi stack. tested on a variety of cards here, including the skinny mfis on the firewall next to mpsafe myx.
2014-09-08syncchris2-2/+2
2014-09-08Distinguish the 82599EN from the original 82599chris1-2/+2
ok miod@
2014-09-08Clear the PME Status bit on PCI devices in response to Device Wake events.kettenis1-1/+27
Fixes the interrupt storm on the 2009 Mac mini with WOL enabled on its nfe(4) interface. ok mlarkin@
2014-09-08Don't include <sys/types.h>; we already include <sys/param.h>.kettenis1-2/+3
Add missing <sys/errno.h> and <sys/device.h>. Makes a sparc64 kernel compile again.
2014-09-08remove uneeded route.h includesjsg2-4/+2
ok miod@ mpi@
2014-09-08Match 82599 as found on SuperMicro AOC-STGN-I1Schris1-1/+3
ok mikeb@
2014-09-06Magical sequences to ender ddb(4) from an ADB keyboard.mpi1-3/+3
This is possible now that the idle (sleeping) flag is cleared by the deliberate ddb entry. ok miod@
2014-09-06Match q33 devices. Previously only inteldrm matched on q33,jsg1-1/+3
which would lead to a panic. Problem reported by karlis.mikelsons at lf.lv.
2014-09-06reduce the amount of pci includesjsg8-26/+9
2014-09-06Various changes to the re(4) feature flags..brad4-67/+121
Changed RL_FLAG_MACLDPS to RL_FLAG_MACRESET. Removed RL_FLAG_INVMAR and RL_FLAG_NOJUMBO. Added RL_FLAG_FASTETHER, RL_FLAG_CMDSTOP_WAIT_TXQ, RL_FLAG_JUMBOV2, RL_FLAG_WOL_MANLINK, RL_FLAG_WAIT_TXPOLL, RL_FLAG_WOLRXENB. Also set in the softc the maximum MTU for the various generations of chips. Input from and Ok jsg@
2014-09-05Don't bother messing with minphys, we always need to supportsf1-28/+25
transfers of size MAXBSIZE. If the number of DMA segments supported by the device is too low, don't use it. Discussion at http://marc.info/?l=openbsd-tech&m=140978303923966&w=2
2014-09-05syncchris2-2/+7
2014-09-05Another Intel 10GbEchris1-1/+2
2014-09-03tasks dont need a mutex and a semaphore to protect against multiple usesdlg2-30/+4
of the task structure like workq tasks did. tested on an fc929
2014-09-02Add Jumbo support for BCM5714 / BCM5780 and BCM5717 / BCM5719 / BCM5720 / BCM57765 / BCM57766brad2-17/+46
chipsets. ok mikeb@ "i think it should go in" dlg@
2014-09-01Set the configuration number and get the interface handle in attach(),mpi2-33/+15
like urtwn(4) does, to prevent a null dereference of the configuration descriptor. Issue reported and fix tested by Ludovic Coues on misc@
2014-09-01Revert previous, it puts too much pressure on memory allocation asmpi2-210/+287
reported by Bryan Linton on bugs@.
2014-09-01move mpi(4) from workq to taskqblambert2-5/+9
ok dlg@
2014-08-30Fix format strings in STIDEBUG code.miod2-8/+8
2014-08-30Set the MRU to a full size frame instead of basing it on the MTU.brad2-9/+7
ok dlg@
2014-08-30let the mru always be what the chip can do, not what the mtu implies.dlg1-10/+2
tested by and ok mikeb@
2014-08-30Rewrite how queue heads are inserted and removed from the asynchronousmpi2-287/+210
list. Use a queue head per xfer and no longer per pipe. Since queue heads are now setup when a transfer is submited we do not need to open the control pipe more than once. This also simplify transfer abortion. Tested by many, thanks!
2014-08-30Allow new devices to get an address when XHCI_DEBUG is defined.mpi1-2/+2
2014-08-29Fix checking sync for old synaptics touchpad (ver 5.9)shadchin1-4/+18
From Thierry Deval <thierry at deval dot be> ok mpi@