summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2018-05-01GC private 802.11 rateset declarations, use the standard ones.maya
Build tested only.
2018-04-30titemp_match: filter on ia_addr for indirect config (device is expected at 0x4c)jmcneill
2018-04-30tcakp_match: filter on ia_addr for indirect config (device is expected at 0x34)jmcneill
2018-04-30act8846_match: filter on ia_addr (device is expected at 0x5a)jmcneill
2018-04-30add missing KERNEL_LOCK protection around autoconf calls.mlelstv
Also replace NULL argument with curlwp for style.
2018-04-30Remove set but not used sc_flags.maya
Built tested only.
2018-04-28Initialize clk domain name and call clk_attach to register sysctl nodesjmcneill
2018-04-28Create private sysctl nodes for inspecting clock trees.jmcneill
2018-04-28Add support for lid switch event codes.jmcneill
2018-04-28regenmlelstv
2018-04-28Add Symbios/LSI RAID and SAS controllers.mlelstv
2018-04-27use the proper station nodeid read command.christos
2018-04-25 Don't free and reallocate bus_dmamem when it's not required. Currently,msaitoh
the watchdog timer is completely broken and never fire (it's from FreeBSD (pre iflib)). If the problem is fixed and watchdog fired, ixgbe_init() always calls ixgbe_jcl_reinit() and it causes panic. The reason is that ixgbe_local_timer1(it includes watchdog function) is softint and xgbe_jcl_reinit() calls bus_dmamem*() functions. bus_dmamem*() can't be called from interrupt context. One of the way to prevent panic is use worqueue for the timer, but it's not a small change. (I'll do it in future). Another way is not reallocate dmamem if it's not required. If both the MTU (rx_mbuf_sz in reality) and the number of RX descriptors are not changed, it's not required to call bus_dmamem_{unmap,free}(). Even if we use workque, this change save time of ixgbe_init(). I have a code to fix broken watchdog timer but it sometime causes watchdog timeout, so I don't commit it yet.
2018-04-25Use spin mutex to fix a panicyamaguchi
The GPIO part of wbsio(4) has a lock to keep the register access order. In addition to the lock, gpio(4) has a look to prevent multiple control through gpio_pin_ctl(). Those locks hold at once when gpio_pin_ctl() is called, and the lock of gpio(4) hold before that of wbsio(4). Therefore, the wbsio(4) has to use spin lock if gpio(4) uses spin lock.
2018-04-24rtsx(4): Add support for RT525A, from openbsd.maya
ok rkujawa
2018-04-24regenmaya
2018-04-24add realtek RT525A PCI-E card readermaya
found in my Dell XPS 15 9550.
2018-04-23enable code to only trigger usb processing when EINT is set, tojdolecek
avoid misinterpreting shared interrupt for another device when clearing USBSTS, actually preserve the bits which spec requires to preserve, and actually clear bit 1, which should be actually always cleared to zero by spec also #ifdef XHCI_DEBUG some unnecessary register reads this should finally resolve PR kern/53066 also for Martin
2018-04-23- Backout if_wm.c rev.1.574 and print "device timeout (lost interrupt)"msaitoh
when all descriptors in a queue are free. When all descriptors are free after wm_txeof(), it's caused by lost interrupt (though I've never seen it). One possibility is chip bug and another possibility is software bug. We should reset in any cases. If we don't reset and don't print error message, TX processing is done intermittently and user might not noticed the problem. - Rename txq_watchdog to txq_sending to make the meaning clear.
2018-04-23 Count timeout correctly. This change reduce timeout value for 80003 asmsaitoh
expected. Reported by mouse@.
2018-04-22merge duplicated code, back to logging error.christos
2018-04-22trigger the softint processing on that child bus which is not detached yetjdolecek
fixes PR kern/53066 by Martin Husemann
2018-04-21downgrade error to debug.christos
2018-04-21add KASSERT() that sc_child* is set to NULL after child detach; just forjdolecek
readability, it's not immediatelly obvious this is done in xhci_childdet() no functional changes
2018-04-21Fix an ancient typo, instead of setting the base address, the sizemlelstv
value is written leaving the autoconf setting (-1) as the address. The value is only used for printing an attach message, the actual pcdisplay_init code uses hard coded base addresses again.
2018-04-20It was not gcc's fault for correctly detecting an uninitialized variable.christos
Fix the uninitialized variable issues by error checking things.
2018-04-20propagate pullup-782 for NetBSD-8 to HEAD (gcc uninitialized)christos
2018-04-20 Fix watchdog timer. Without this change, watchdog timer is unnecessarymsaitoh
fired and device is initialized without any error message. OK'd by knakahara.
2018-04-19s/static inline/static __inline/g for consistency.christos
2018-04-19 Use ixgbe_eitr_write() when writing the EITR for the link interrupt likemsaitoh
queue's EITR to write the register safely. This change is not relatively so important than queue's EITR because link's EITR is written in if_init().
2018-04-19 Remove unused IXGBE_FC_HI and IXGBE_FC_LO. The watermark of the flow controlmsaitoh
is automatically calculated from the size of the packet buffer.
2018-04-18m_free -> m_freem, m_copyback could have added mbufs in the chainmaxv
2018-04-18nvmectl(8): Add big-endian support.nonaka
from FreeBSD nvmecontolr(8) r329824.
2018-04-18Add some new structure fileds, opcodes and statuses from NVMe 1.3a.nonaka
2018-04-18nvme(4): Added some delay before check RDY bit quirk when disabling device.nonaka
Pick from FreeBSD nvme(4) r326937.
2018-04-17nvmectl(8): Sync with FreeBSD nvmecontrol(8) r328763.nonaka
2018-04-17regennonaka
2018-04-17Added some NVMe devices.nonaka
2018-04-17 Remove unused structure entries. No functional change.msaitoh
2018-04-17Fix panic when "sysctl -w hw.ixg0.txrx_workqueue=[01]" while there is traffic.knakahara
The operation is not supported, however causing panic is problem.
2018-04-16remove superfluous semicolonjdolecek
2018-04-16 Regen.msaitoh
2018-04-16 Add Intel SSD 760p.msaitoh
2018-04-16 Add some 8th Generation Intel Core Processor devices.msaitoh
2018-04-16 KNF. No functional change.msaitoh
2018-04-13 I354 uses an external PHY, so don't use wm_set_eee_i350().msaitoh
2018-04-13 Add 300 series chipset support.msaitoh
2018-04-13 Enable I219.msaitoh
2018-04-12PR/53177: David Binderman: Better error handlingchristos
2018-04-12Read sc_if_flags after taking core lock. Same as if_wm.c rev. 1.418.msaitoh