OpenCloudOS-Kernel/drivers
Chun-Hao Lin 5fbea33740 r8169:update rtl8168g pcie ephy parameter
Add ephy parameter to rtl8168g.
Also change the common function of rtl8168g from "rtl_hw_start_8168g_1" to
 "rtl_hw_start_8168g". And function "rtl_hw_start_8168g_1" is used for
setting rtl8168g hardware parameters.

Following is the explanation of what hardware parameter change for.
rtl8168g may erroneous judge the PCIe signal quality and show the error bit
on PCI configuration space when in PCIe low power mode.
The following ephy parameters are for above issue.
{ 0x00, 0x0000,	0x0008 }
{ 0x0c, 0x37d0,	0x0820 }
{ 0x1e, 0x0000,	0x0001 }

rtl8168g may return to PCIe L0 from PCIe L0s low power mode too slow.
The following ephy parameter is for above issue.
{ 0x19, 0x8000,	0x0000 }

Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-11 21:38:52 -05:00
..
accessibility
acpi ACPI and power management updates for 3.19-rc1 2014-12-10 21:17:00 -08:00
amba ACPI and power management updates for 3.19-rc1 2014-12-10 21:17:00 -08:00
ata SCSI for-linus on 20141208 2014-12-08 21:19:19 -08:00
atm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-11-29 20:47:48 -08:00
auxdisplay
base Devicetree changes for v3.19 2014-12-11 13:06:58 -08:00
bcma Merge commit '4e6ce4dc7ce71d0886908d55129d5d6482a27ff9' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2014-11-19 15:38:48 -05:00
block virtio: virtio 1.0 support, misc patches 2014-12-11 12:20:31 -08:00
bluetooth Bluetooth: Add support for Broadcom BCM20702A0 variants firmware download 2014-12-03 19:40:44 +01:00
bus ARM: SoC driver updates for 3.19 2014-12-09 14:48:22 -08:00
cdrom
char virtio: virtio 1.0 support, misc patches 2014-12-11 12:20:31 -08:00
clk ARM: SoC driver updates for 3.19 2014-12-09 14:48:22 -08:00
clocksource Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-12-10 08:18:32 -08:00
connector
cpufreq intel_pstate: skip this driver if Sun server has _PPC method 2014-12-03 02:56:04 +01:00
cpuidle Merge back earlier cpuidle material for 3.19-rc1. 2014-11-21 16:31:42 +01:00
crypto of/reconfig: Always use the same structure for notifiers 2014-11-24 22:25:03 +00:00
dca
devfreq
dio
dma Merge branches 'acpi-scan', 'acpi-pm', 'acpi-lpss' and 'acpi-processor' 2014-12-08 19:52:16 +01:00
dma-buf
edac edac updates for v3.19-rc1 2014-12-11 11:58:50 -08:00
eisa
extcon
firewire
firmware There was a lot of clean ups and minor fixes. One of those clean ups was 2014-12-10 19:58:13 -08:00
fmc
gpio Pin control changes for the v3.19 series: 2014-12-11 10:43:14 -08:00
gpu media updates for v3.19-rc1 2014-12-11 11:49:23 -08:00
hid ACPI and power management updates for 3.19-rc1 2014-12-10 21:17:00 -08:00
hsi hsi / OMAP / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-04 01:07:01 +01:00
hv hyperv: Add support for vNIC hot removal 2014-12-08 20:24:11 -05:00
hwmon hwmon: (tmp401) Detect TMP435 on all addresses it supports 2014-12-08 06:48:37 -08:00
hwspinlock
i2c Devicetree changes for v3.19 2014-12-11 13:06:58 -08:00
ide
idle
iio Hi Linus, 2014-12-08 20:02:54 -08:00
infiniband Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
input Merge branch 'pm-runtime' 2014-12-08 20:00:44 +01:00
iommu Merge branch 'irq-irqdomain-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-12-10 09:01:01 -08:00
ipack
irqchip Merge branch 'irq-irqdomain-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-12-10 09:01:01 -08:00
isdn isdn/capi: correct argument types of command_2_index 2014-12-10 15:06:10 -05:00
leds leds: leds-gpio: Fix multiple instances registration without 'label' property 2014-12-04 02:28:19 +01:00
lguest virtio: allow finalize_features to fail 2014-12-09 16:32:32 +02:00
macintosh
mailbox Mailbox: Add support for Platform Communication Channel 2014-11-27 12:51:09 +05:30
mcb
md - Significant DM thin-provisioning performance improvements to meet 2014-12-08 21:10:03 -08:00
media sound updates for 3.19-rc1 2014-12-11 13:20:50 -08:00
memory ARM: SoC/OMAP GPMC driver cleanup and move for 3.19 2014-12-09 16:57:56 -08:00
memstick
message scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
mfd Devicetree changes for v3.19 2014-12-11 13:06:58 -08:00
misc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
mmc ACPI and power management updates for 3.19-rc1 2014-12-10 21:17:00 -08:00
mtd
net r8169:update rtl8168g pcie ephy parameter 2014-12-11 21:38:52 -05:00
nfc NFC: st21nfcb: Fix reported error 2014-12-02 22:49:11 +01:00
ntb
nubus
of Devicetree changes for v3.19 2014-12-11 13:06:58 -08:00
oprofile
parisc
parport
pci ACPI and power management updates for 3.19-rc1 2014-12-10 21:17:00 -08:00
pcmcia
phy
pinctrl Pin control changes for the v3.19 series: 2014-12-11 10:43:14 -08:00
platform
pnp
power ARM: SoC platform changes for 3.19 2014-12-09 14:38:28 -08:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: Updates for v3.19 2014-12-08 20:42:41 -08:00
remoteproc virtio: virtio 1.0 support, misc patches 2014-12-11 12:20:31 -08:00
reset Reset controller changes for v3.19 2014-12-04 16:57:36 +01:00
rpmsg
rtc rtc: refine rtc_timer_do_work() to consider other set alarm failures 2014-12-10 17:41:16 -08:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
sbus
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
sfi
sh drivers: sh / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-05 03:08:24 +01:00
sn
soc ARM: SoC driver updates for 3.19 2014-12-09 14:48:22 -08:00
spi Devicetree changes for v3.19 2014-12-11 13:06:58 -08:00
spmi
ssb SSB / B44: fix WOL for BCM4401 2014-12-04 11:32:46 -05:00
staging Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
target Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
tc
thermal thermal: Exynos: Deletion of unnecessary checks before two function calls 2014-11-21 15:20:17 -04:00
thunderbolt
tty Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-12-09 21:21:34 -08:00
uio
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
uwb
vfio PCI/MSI: Rename write_msi_msg() to pci_write_msi_msg() 2014-11-23 13:01:45 +01:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
video fbdev changes for 3.19 2014-12-11 12:46:32 -08:00
virt
virtio virtio_pci: rename virtio_pci -> virtio_pci_common 2014-12-09 21:42:05 +02:00
vlynq
vme
w1
watchdog Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-12-10 08:18:32 -08:00
xen arm64 updates for 3.19 2014-12-09 13:12:47 -08:00
zorro
Kconfig ARM: tegra: Move AHB Kconfig to drivers/amba 2014-11-26 09:43:25 +01:00
Makefile