summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
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.Jonathan Gray
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-13regenJonathan Gray
2014-09-13Add HP Gen9 Smart Array/Smart HBA devices and some devicesJonathan Gray
from submitted dmesgs.
2014-09-12Something went amiss in last pcidevs_data.h generation/commit. Regen andKenneth R Westerback
unbreak kernel compiles.
2014-09-12dont leak a ccb in identifyDavid Gwynne
2014-09-12regenDavid Gwynne
2014-09-12add Intel SSD DC P3700/P3600/P3500David Gwynne
2014-09-12fix some format string issuesDavid Gwynne
2014-09-10s/IWL/IWN/ in comment here tooDavid Coppa
2014-09-09replace scsi_task(), which is a wrapper around workqs, with a quickDavid Gwynne
conversion to tasks. tested by chris@
2014-09-09fix remaining spaces/tabs issues in #define linesStuart Henderson
2014-09-09Backport https://svnweb.freebsd.org/base?view=revision&revision=258829 to fixStuart Henderson
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 cmdDavid Gwynne
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-08syncChris Cappuccio
2014-09-08Distinguish the 82599EN from the original 82599Chris Cappuccio
ok miod@
2014-09-08Clear the PME Status bit on PCI devices in response to Device Wake events.Mark Kettenis
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>.Mark Kettenis
Add missing <sys/errno.h> and <sys/device.h>. Makes a sparc64 kernel compile again.
2014-09-08remove uneeded route.h includesJonathan Gray
ok miod@ mpi@
2014-09-08Match 82599 as found on SuperMicro AOC-STGN-I1SChris Cappuccio
ok mikeb@
2014-09-06Magical sequences to ender ddb(4) from an ADB keyboard.Martin Pieuchot
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,Jonathan Gray
which would lead to a panic. Problem reported by karlis.mikelsons at lf.lv.
2014-09-06reduce the amount of pci includesJonathan Gray
2014-09-06Various changes to the re(4) feature flags..Brad Smith
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 supportStefan Fritsch
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-05syncChris Cappuccio
2014-09-05Another Intel 10GbEChris Cappuccio
2014-09-03tasks dont need a mutex and a semaphore to protect against multiple usesDavid Gwynne
of the task structure like workq tasks did. tested on an fc929
2014-09-02Add Jumbo support for BCM5714 / BCM5780 and BCM5717 / BCM5719 / BCM5720 / ↵Brad Smith
BCM57765 / BCM57766 chipsets. ok mikeb@ "i think it should go in" dlg@
2014-09-01Set the configuration number and get the interface handle in attach(),Martin Pieuchot
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 asMartin Pieuchot
reported by Bryan Linton on bugs@.
2014-09-01move mpi(4) from workq to taskqBret Lambert
ok dlg@
2014-08-30Fix format strings in STIDEBUG code.Miod Vallat
2014-08-30Set the MRU to a full size frame instead of basing it on the MTU.Brad Smith
ok dlg@
2014-08-30let the mru always be what the chip can do, not what the mtu implies.David Gwynne
tested by and ok mikeb@
2014-08-30Rewrite how queue heads are inserted and removed from the asynchronousMartin Pieuchot
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.Martin Pieuchot
2014-08-29Fix checking sync for old synaptics touchpad (ver 5.9)Alexandr Shadchin
From Thierry Deval <thierry at deval dot be> ok mpi@
2014-08-27rxr ioctl handling.David Gwynne
2014-08-26dont base the mru on the mtu. unconditionally make it what theDavid Gwynne
hardware can do (9k). implement the rxr ioctl while here. ok jsg@
2014-08-26Revert part of the if_rxr diff that incorrectly moves RX ring tailMike Belopuhov
index update code from the buf_get success path to the do it all the time code path. Tested by millert; ok dlg, deraadt
2014-08-25We have never limited the definition of "supported SPF modules"Mike Belopuhov
to the vendor/make whitelist maintained by Intel so there's no reason to start doing it now. When syncing the driver to the FreeBSD codebase I have decided to take this chunk as is but it appears that it breaks cheap chinese SFP+ fiber optics modules that we all love. And while there's still a lot of places where we check for the vendor OUI, most of these checks are not necessary. Issue reported and fix tested by Tony Sarendal. Thanks!
2014-08-24Fix wrong IEEE 802.11 ioctl's:Vadim Zhukov
* SIOCG80211ALLNODES operates on struct ieee80211_nodereq_all, not struct ieee80211_nodereq. * Six SIOC* from wi(4) were using same codes with generic parts of IEEE 802.11 framework. Things worked due to the fact that size of data struct being passed is encoded in actual SIOC*, too. This commit means that ifconfig and some ports will need to be rebuilt, if any of affected SIOC* codes is used. Port bumps to follow. First part okay reyk@, whole diff okay mpi@ Heavy prodding to commit now from deraadt@
2014-08-24Add some TX BD flags for BCM5717 family chips.Brad Smith
2014-08-21Set the sensor's status when docking and undocking, not just its value.kspillner
With this change sensorsd(8) now correctly detects state changes when docking and undocking. ok mlarkin@
2014-08-21Now that DVACT_DEACTIVATE is propagated to the children of a device whenMartin Pieuchot
a driver does not implement a specific *_activate() handler and that our USB stack sets the dying flag before detaching a device, these specific handlers can die.
2014-08-21Fix a copy and pasto with the standard ring setup with calling if_rxr_init()Brad Smith
to use BGE_STD_RX_RING_CNT instead of BGE_JUMBO_RX_RING_CNT. ok dlg@
2014-08-20after allocating an mbuf and cluster you still need to init the lengthDavid Gwynne
fields. found by steven roberts, who also tested this fix for me
2014-08-20Implement rxrinfo ioctl for cluster usage statisticsMike Belopuhov
2014-08-20Call audio_{pint,rint}() call-backs with the mutex held. Found byAlexandre Ratchov
Izumi Tsutsui, thanks! ok miod@