| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ADC data across the AC-link.
Without this patch, some CS4614 cards will need users to reload the driver manually or
the hardware won't be initialised properly. Something like:
# kldload snd_csa
# kldunload snd_csa
# kldload snd_csa
Tested with: Terratec SiXPack 5.1+
Notes:
svn path=/stable/7/; revision=338329
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes for the following issues:
1. Fix taskqueues drain/free to fix panic seen when interface is being
bought down and in parallel asynchronous link events happening.
2. Fix bxe_ifmedia_status()
Submitted by:Vaishali.Kulkarni@cavium.com and Anand.Khoje@cavium.com
Notes:
svn path=/stable/7/; revision=337514
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix Issue with adding MultiCast Addresses. When multicast addresses are
added/deleted, the delete the multicast addresses previously programmed
in HW and reprogram the new set of multicast addresses.
Submitted by:Vaishali.Kulkarni@cavium.com
Notes:
svn path=/stable/7/; revision=333441
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. state checks in bxe_tx_mq_start_locked() and bxe_tx_mq_start() to
sync threads during interface down or detach.
2. add sysctl to set pause frame parameters
3. increase max segs for TSO packets to BXE_TSO_MAX_SEGMENTS (32)
4. add debug messages for PHY
5. HW LRO support restricted to FreeBSD versions 8.x and above.
Submitted by: Vaishali.Kulkarni@cavium.com
Notes:
svn path=/stable/7/; revision=315885
|
| |
|
|
|
|
|
|
| |
1. Removed -Wno-shift-negative-value from Makefile
2. Fixed warning its absence caused in bxe_elink.c
Notes:
svn path=/stable/7/; revision=299308
|
| |
|
|
|
|
|
| |
Remove Unused/Dead Code
Notes:
svn path=/stable/7/; revision=299307
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. modify fwdump (a.k.a grcdump) so that grcdump memory is allocated
and freed on as needed basis.
2. grcdump can be taken at failure points by invoking bxe_grc_dump()
when trigger_grcdump sysctl flag is set. When grcdump is taken
grcdump_done sysctl flag is set.
3. grcdump_done can be monitored by the user to retrieve the grcdump
Notes:
svn path=/stable/7/; revision=299306
|
| |
|
|
|
|
|
|
|
| |
Add support for Flash Update
Submitted by:nrapendra.singh@qlogic.com;vaishali.kulkarni@qlogic.com;davidcs@freebsd.org
Notes:
svn path=/stable/7/; revision=298291
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. Process tx completions in bxe_periodic_callout_func() and
restart transmissions if possible.
2. For SIOCSIFFLAGS call bxe_init_locked() only if !BXE_STATE_DISABLED
3. remove code not needed in bxe_init_internal_common()
Submitted by:vaishali.kulkarni@qlogic.com;venkata.bhavaraju@qlogic.com
Notes:
svn path=/stable/7/; revision=298290
|
| |
|
|
|
|
|
| |
Modifications to achieve a common source base from FreeBSD7.x thru 10.x
Notes:
svn path=/stable/7/; revision=297625
|
| |
|
|
|
|
|
|
| |
Fix code so that buf_ring allocation for Tx Queues and their mutexes
is done during during bxe_attach() and freed during bxe_detach()
Notes:
svn path=/stable/7/; revision=296879
|
| |
|
|
|
|
|
|
| |
Upgrade the firmware carried in driver and loaded during hardware
initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)
Notes:
svn path=/stable/7/; revision=296583
|
| |
|
|
|
|
|
| |
Remove dead code. Code Cleanup. Improve clarity in debug messages
Notes:
svn path=/stable/7/; revision=296044
|
| |
|
|
|
|
|
|
| |
Modified the use of bxe_grc_dump() function so that it can be invoked directly at any potential error path, where a fwdump is needed. The fwdump (a.k.a grcdump) is stored in a driver buffer. The sysctl grcdump_done indicates if a fwdump was taken and waiting to be retrieved.
The sysctl trigger_grcdump can be used to manually trigger a fwdump.
Notes:
svn path=/stable/7/; revision=296043
|
| |
|
|
|
|
|
| |
Add support for firmware dump (a.k.a grcdump)
Notes:
svn path=/stable/7/; revision=293799
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Check for packet_length is greater than 60 bytes as well as packet_length is
greater than len_on_bd, before invoking the routine to handle jumbo over SGL
(bxe_service_rxsgl()).
Add counters for number of jumbo_over_SGL packets (rx_bxe_service_rxsgl) and
erroneous jumbo_over_SGL packets (rx_erroneous_jumbo_sge_pkts)
Fix formatting in bxe_sysctl_state()
Notes:
svn path=/stable/7/; revision=293798
|
| |
|
|
|
|
|
| |
Add support for reading device temperature
Notes:
svn path=/stable/7/; revision=293797
|
| |
|
|
|
|
|
|
|
|
|
| |
Though there is no direct midi_uninit() caller amongst existing drivers
at this moment, a quick experiment indicates that EBUSY gives users more
precise error message once drivers start to honour this result. For example,
emu_midi_detach() should check the result of mpu401_uninit() and block
module unloading if there is any MIDI I/O in progress.
Notes:
svn path=/stable/7/; revision=287888
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=287858
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Avoid lock contention in the if_transmit callback by using trylock and
enqueueing the frames when it fails. This way there is some latency
removed from the transmitting path.
- If IFF_DRV_OACTIVE is set (and also if IFF_DRV_RUNNING is not) just
enqueue the desired frames and return successful transmit. This way we
avoid to return errors on transmit side and resulting in
possible out-of-order frames. Please note that IFF_DRV_OACTIVE is set
everytime we get the threshold ring hit, so this can be happening quite
often.
Submitted by: Attilio.Rao@isilon.com
Notes:
svn path=/stable/7/; revision=286301
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function.
Detected by clang 3.7.0 with the warning:
sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c:309:18: error: variable
'rptr' is uninitialized when used here [-Werror,-Wuninitialized]
chp->cq.rptr = rptr;
^~~~
Notes:
svn path=/stable/7/; revision=285942
|
| |
|
|
|
|
|
|
|
| |
tx_mtx should be grabbed before calling buf_ring_dequeue_sc()
Submitted by: Attilio.Rao@isilon.com
Notes:
svn path=/stable/7/; revision=284981
|
| |
|
|
|
|
|
|
|
|
| |
In bxe_set_mc_list(): added missing BXE_MCAST_UNLOCK()
In __ecore_vlan_mac_h_exec_pending(): need to check for ECORE_PENDING
Submitted by:gary.zambrano@qlogic.com
Notes:
svn path=/stable/7/; revision=284980
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PHY LOCK acquires the hardware lock via bxe_acquire_phy_lock() and releases it via bxe_release_phy_lock(). It was simply acquiring a mutex earlier which can cause the PHY to use bogus values. Fixes intermittent link failures.
bxe_ioctl() completes all functions within its context as opposed to a taskqueue earlier.
bxe_handle_rx_mode_tq() no longer required. bxe_set_rx_mode() handles the functionality within its context
Submitted by:gary.zambrano@qlogic.com
Notes:
svn path=/stable/7/; revision=284979
|
| |
|
|
|
|
|
|
|
|
| |
Add stat counters for Jumbo Frames using SGE ring.
Also remove the checks for IFCAP_LRO in bxe_alloc_fp_buffers() and bxe_pf_rx_q_prep() since both TPA and Jumbo can use SGE ring.
Submitted by:gary.zambrano@qlogic.com
Notes:
svn path=/stable/7/; revision=283763
|
| |
|
|
|
|
|
| |
Submitted by: gary.zambrano@qlogic.com
Notes:
svn path=/stable/7/; revision=283761
|
| |
|
|
|
|
|
| |
When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host network stack and is reused again on the receive ring. Remaining received packets in the ring are not processed in that invocation of bxe_rxeof() and defered to the task thread
Notes:
svn path=/stable/7/; revision=281219
|
| |
|
|
|
|
|
| |
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing error message.
Notes:
svn path=/stable/7/; revision=271986
|
| |
|
|
|
|
|
|
|
| |
Initiate error recovery stats fail to update after 3 retries.
Change bxe_panic() ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() to
panic only if ECORE_STOP_ON_ERROR is defined.
Notes:
svn path=/stable/7/; revision=271479
|
| |
|
|
|
|
|
|
|
|
|
| |
Modify Copyright information and other strings to reflect
Qlogic Corporation's purchase of Broadcom's NetXtreme business.
Added clean option to Makefile
Submitted by: David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
Notes:
svn path=/stable/7/; revision=265920
|
| |
|
|
|
|
|
|
|
|
| |
Modify Copyright information to reflect Qlogic Corporation's purchase
of Broadcom's NetXtreme business
Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
Notes:
svn path=/stable/7/; revision=265794
|
| |
|
|
|
|
|
|
|
|
| |
Fixed MSI interrupt allocation and handling.
Fixed a DMA mapping leak that occurs when defragmenting packet chains.
Approved by: davidch (mentor)
Notes:
svn path=/stable/7/; revision=263584
|
| |
|
|
|
|
|
| |
Approved by: davidch
Notes:
svn path=/stable/7/; revision=260427
|
| |
|
|
|
|
|
|
|
| |
Merged r255736, r255861, r256299, r256341, r258187, r259928, r260113
Approved by: davidch (mentor)
Notes:
svn path=/stable/7/; revision=260357
|
| |
|
|
|
|
|
| |
In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions.
Notes:
svn path=/stable/7/; revision=260298
|
| |
|
|
|
|
|
|
|
|
| |
In sys/dev/scc, remove unused static function scc_setmreg(). While
here, invoke scc_getmreg() in two more places where it can be used.
Reviewed by: marcel
Notes:
svn path=/stable/7/; revision=260287
|
| |
|
|
|
|
|
|
| |
Remove superfluous old-style rcsid[] from if_my.c. There is already an
__FBSDID() at the top of the file.
Notes:
svn path=/stable/7/; revision=260277
|
| |
|
|
|
|
|
|
|
| |
In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used,
so it ends up in the object file, and no warnings are emitted about it
being actually unused.
Notes:
svn path=/stable/7/; revision=260276
|
| |
|
|
|
|
|
| |
In sys/dev/en/midway.c, #if 0 an unused static function.
Notes:
svn path=/stable/7/; revision=260275
|
| |
|
|
|
|
|
|
| |
Remove superfluous old-style rcsid[] from if_sk.c. There is already an
__FBSDID() at the top of the file.
Notes:
svn path=/stable/7/; revision=260265
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For ATA_PASSTHROUGH commands, pretend isci(4) supports multiword DMA
by treating it as UDMA.
This fixes a problem introduced in r249933/r249939, where CAM sends
ATA_DSM_TRIM to SATA devices using ATA_PASSTHROUGH_16. scsi_ata_trim()
sets protocol as DMA (not UDMA) which is for multi-word DMA, even
though no such mode is selected for the device. isci(4) would fail
these commands which is the correct behavior but not consistent with
other HBAs, namely LSI's.
smh@ did some further testing on an LSI controller, which rejected
ATA_PASSTHROUGH_16 commands with mode=UDMA_OUT, even though only
a UDMA mode was selected on the device. So this precludes adding
any kind of mode detection in CAM to determine which mode to use on
a per-device basis.
Note: The reasons behind this change do not apply to stable/7. This MFC
is to keep the driver consistent across stable branches and current.
Sponsored by: Intel
Notes:
svn path=/stable/7/; revision=252647
|
| |
|
|
|
|
|
|
|
| |
Return a lun count of 1 and a lun id of 0 when CAM attempts a REPORT_LUNS
command on a disk device. This quieseces some noise on the console that
recently appeared.
Notes:
svn path=/stable/7/; revision=250369
|
| |
|
|
|
|
|
| |
Repair camcontrol output and use CAM defined values for string sizes
Notes:
svn path=/stable/7/; revision=249900
|
| |
|
|
|
|
|
|
|
| |
Notify CAM on state* change to a logical volume not status. This resolves
the issues reported regarding camcontrol devlist not showing the rebuild
states of volumes unless an explicit camcontrol rescan was executed.
Notes:
svn path=/stable/7/; revision=249653
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Complete r231621 (MFC'ed to stable/7 in r232094) by also blacklisting the
bridge used by VMware for PCIe devices. While at it, update the comment
now that we know that MSI-X doesn't work with ESXi 5.1 for Intel 82576
either and the underlying issue is a bug in the MSI-X allocation code of
the hypervisor.
Reported by: Harald Schmalzbauer
- Make the nomatch table const.
Notes:
svn path=/stable/7/; revision=248054
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Correct a typo introduced in r153575, which gives inverted logic when
handling blocking semantics when seeding.
PR: kern/143298
Submitted by: James Juran <james juran baesystems com>
Reviewed by: markm
Notes:
svn path=/stable/7/; revision=247511
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Satisfy the intent of kern/151564: [ciss] ciss(4) should increase
CISS_MAX_LOGICAL to 107
Submitter wanted to increase the number of logical disks supported by ciss(4)
by simply raising the CISS_MAX_LOGICAL value even higher. Instead, consult
the documentation for the raid controller (OPENCISS) and poke the controller
bits to ask it for how many logical/physical disks it can handle.
Revert svn R242089 that raised CISS_MAX_LOGICAL to 64 for all controllers.
For older controllers that don't support this mechanism, fallback to the old
value of 16 logical disks. Tested on P420, P410, P400 and 6i model ciss(4)
controllers.
This should will be MFC'd back to stable/9 stable/8 and stable/7 after the MFC
period.
Notes:
svn path=/stable/7/; revision=246163
|
| |
|
|
|
|
|
|
| |
Remove support for using Giant for locking within mpt(4). Finer grained
locking has been working fine for ~5.5 years by now.
Notes:
svn path=/stable/7/; revision=245989
|
| |
|
|
|
|
|
|
| |
Remove support for using Giant for locking within mpt(4). Finer grained
locking has been working fine for ~5.5 years by now.
Notes:
svn path=/stable/7/; revision=245988
|
| |
|
|
|
|
|
|
| |
After r241858 (MFC'ed to stable/7 in r242287), remove the remainder of
FreeBSD ~4 support from mpt(4).
Notes:
svn path=/stable/7/; revision=245985
|