]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for ALi/ULi, now NVIDIA, M5261/M5263 PCI FastEthernet
authorPyun YongHyeon <yongari@FreeBSD.org>
Mon, 24 Oct 2011 20:48:02 +0000 (20:48 +0000)
committerPyun YongHyeon <yongari@FreeBSD.org>
Mon, 24 Oct 2011 20:48:02 +0000 (20:48 +0000)
commit52ca7ee21002b326bd3911f5f7b4abe65a3e43a3
tree04a8fbbfcd553f8847bbc5c9cecc25d892cb0df7
parent649bbd1cd06e39744d3979806e18aad5f729e9ef
Add support for ALi/ULi, now NVIDIA, M5261/M5263 PCI FastEthernet
controller which is found on ULi M1563 South Bridge & M1689 Bridge.
These controllers look like a tulip clone.
M5263 controller does not support MII bitbang so use DC_ROM
register to access MII registers.  Like other tulip variants, ULi
controller uses a setup frame to configure RX filter and uses new
setup frame format.  It's not clear to me whether the controller
supports a hash based multicast filtering so this patch uses 14
perfect multicast filter to filter multicast frames.  If number of
multicast addresses is greater than 14, controller is put into a
mode that receives all multicast frames.
Due to lack of access to M5261, this change was not tested with
M5261 but it probably works.  Many thanks to Marco who provided
remote access to M5263.

Tested by: Marco Steinbach <coco <> executive-computing dot de>,
Martin MATO <martin.mato <> orange dot fr>
sys/dev/dc/if_dc.c
sys/dev/dc/if_dcreg.h