linux/drivers/net/ethernet/intel/ixgbe
Arnd Bergmann d4f90d9dca ixgbe: use msleep for long delays
The newly added x550em_a support causes a link failure on ARM because of
an overly long time passed into udelay():

ERROR: "__bad_udelay" [drivers/net/ethernet/intel/ixgbe/ixgbe.ko] undefined!

There are multiple variants of the ixgbe_acquire_swfw_sync_*() function,
and the other ones all use msleep(), so we can safely assume that all
callers are allowed to sleep, which makes msleep() a better replacement
than mdelay().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 49425dfc74 ("ixgbe: Add support for x550em_a 10G MAC type")
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-04-25 04:55:20 -07:00
..
ixgbe_82598.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_82599.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_common.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_common.h ixgbe: consolidate the configuration of spoof checking 2016-04-24 17:54:22 -07:00
ixgbe_dcb_82598.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb_82599.h
ixgbe_dcb_nl.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_dcb.h
ixgbe_debugfs.c
ixgbe_ethtool.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_fcoe.c ixgbe: Fix MDD events generated when FCoE+SRIOV are enabled 2016-01-08 04:15:00 -08:00
ixgbe_fcoe.h ixgbe: adds x550 specific FCoE offloads 2015-04-10 00:15:55 -07:00
ixgbe_lib.c ixgbe: Add support for x550em_a 10G MAC type 2016-04-07 16:15:35 -07:00
ixgbe_main.c ixgbe/ixgbevf: Add support for GSO partial 2016-04-25 04:45:21 -07:00
ixgbe_mbx.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_mbx.h ixgbe: Make all unchanging ops structures const 2016-04-04 13:36:58 -07:00
ixgbe_model.h ixgbe: Extend cls_u32 offload to support UDP headers 2016-04-04 17:44:56 -07:00
ixgbe_phy.c ixgbe: Always turn PHY power on when requested 2015-12-03 02:45:13 -08:00
ixgbe_phy.h ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_ptp.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_sriov.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_sriov.h ixgbe: add a callback to set the maximum transmit bitrate 2016-04-04 17:44:46 -07:00
ixgbe_sysfs.c
ixgbe_type.h ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_x540.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_x540.h ixgbe: Place SWFW semaphore in known valid state at probe 2016-04-04 17:44:50 -07:00
ixgbe_x550.c ixgbe: use msleep for long delays 2016-04-25 04:55:20 -07:00
ixgbe.h ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
Makefile ixgbe: Add X550 support function pointers 2014-12-05 09:13:07 -08:00