freebsd-dev/sys
Pyun YongHyeon 6e854927d1 If RX lockup workaround is enabled, fxp(4) will periodically reset
the controller to workaround silicon bug of i82557. Each reset will
re-establish link which in turn triggers MII status change
callback. The callback will try to reconfigure controller if the
controller is not i82557 to enable flow-control. This caused
endless link UP/DOWN when the workaround was enabled on non-i82557
controller.

To fix the issue, apply RX lockup workaround only for i82557.
Previously it blindly checked undocumented EEPROM location such
that it sometimes enabled the workaround for other controllers. At
this time, only i82557 is known to have the silicon bug.
This fixes a regression introduced in r215906 which enabled flow
control support for all controllers except i82557.

Reported by:	Karl Denninger (karl <> denninger dot net)
Tested by:	Karl Denninger (karl <> denninger dot net)
MFC after:	3 days
2010-12-02 03:53:29 +00:00
..
amd64 Calling fill_fpregs() for curthread is legitimate, and ELF coredump 2010-11-28 17:56:34 +00:00
arm Provide a mutex around the read/modify/write of the IXP425_GPIO_* 2010-11-14 20:41:22 +00:00
boot Give a bit of a hint of the failure (read != expected) but don't make 2010-11-25 03:16:31 +00:00
bsm
cam Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00
cddl Don't panic when we read an empty ACL from ZFS. Apparently this may happen 2010-11-30 21:04:05 +00:00
compat Add a dummy for IoOpenDeviceRegistryKey(). 2010-11-29 10:21:45 +00:00
conf Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00
contrib Merge Cavium Octeon SDK 2.0 Simple Executive; this brings some fixes and new 2010-11-28 08:18:16 +00:00
crypto Remove DEBUG sections. 2010-11-27 15:41:44 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev If RX lockup workaround is enabled, fxp(4) will periodically reset 2010-12-02 03:53:29 +00:00
fs Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
gdb there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order 2010-09-30 17:05:23 +00:00
geom - Report an error when a label with invalid name is attempted to be 2010-12-01 19:24:07 +00:00
gnu Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
i386 Fix bug introduced by r194784: Under XEN, the page(s) allocated to dpcpu 2010-11-29 06:50:30 +00:00
ia64 phys_avail[] is correctly defined as an array of vm_paddr_t's in 2010-12-01 05:52:27 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern Remove useless NULL checks for M_WAITOK mallocs. 2010-12-02 01:14:45 +00:00
kgssapi
libkern Add support for asterisk characters when filling in the GELI password 2010-11-14 14:12:43 +00:00
mips Add interrupt describing and binding to CIU. 2010-12-01 05:24:29 +00:00
modules Add build infrastructure for the forthcoming CC algorithm modules. 2010-12-02 03:10:35 +00:00
net o Swap descriptions for net.bpf.bufsize and net.bpf.maxbufsize. 2010-11-24 05:50:19 +00:00
net80211 The meshid element is memcpy()'ed into se_meshid if included in either 2010-11-22 19:01:47 +00:00
netatalk
netgraph Simplify ng_pipe locking model by relying on the netgraph framework 2010-11-24 16:02:58 +00:00
netinet General cleanup of the NewReno CC module (no functional changes): 2010-12-02 02:32:46 +00:00
netinet6 Plug well observed races on la_hold entries with the callout handler. 2010-11-29 00:04:08 +00:00
netipsec After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
netipx
netnatm
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Fix the type of the 3rd argument for nm_getinfo so that it works 2010-10-19 11:55:58 +00:00
nfsclient Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
nfsserver Fix a bug in r214049. The nvp == vp case shall be handled specially 2010-11-05 21:13:16 +00:00
nlm Modify the NFS clients and the NLM so that the NLM can be used 2010-10-19 00:20:00 +00:00
opencrypto Let cryptosoft(4) add its pseudo-device with a specific unit number and its 2010-11-14 13:09:32 +00:00
pc98 Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() 2010-11-26 14:50:42 +00:00
pci Remove standard PCI configuration space register definitions. 2010-11-08 22:10:51 +00:00
powerpc Several chipset drivers alter parameters relevant for the DMA tag creation, 2010-11-30 20:54:14 +00:00
rpc Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write 2010-10-13 00:57:14 +00:00
security Fix typos. 2010-11-09 10:59:09 +00:00
sparc64 Change VM_KMEM_SIZE_MAX to be just (VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS) 2010-11-30 16:49:06 +00:00
sun4v Fix a few more places to use cpumask_t rather than 'u_int'. These are 2010-11-11 16:06:47 +00:00
sys Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00
teken Partially implement the mysterious cons25 \e[x escape sequence. 2010-11-05 00:56:21 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs Journal start looks up .sujournal file by doing lookup on the root dvp. 2010-12-01 21:19:11 +00:00
vm Correct an error in the allocation of the vm_page_dump array in 2010-12-01 03:35:19 +00:00
x86 Merge amd64/i386 _align.h by aligning on the size of register_t (copied 2010-11-26 10:59:20 +00:00
xdr
xen Improve the Xen para-virtualized device infrastructure of FreeBSD: 2010-10-19 20:53:30 +00:00
Makefile Add lex and yacc sources to things cscope'd. 2010-11-21 03:58:11 +00:00