Ralink Ethernet MAC support patch

Aleksandr Rybalko ray at freebsd.org
Fri Jul 1 08:47:54 UTC 2011


On Fri, 1 Jul 2011 16:34:15 +0800
Adrian Chadd <adrian at freebsd.org> wrote:

>> Can you verify that _tx_ works when you do an ifconfig down/up ?
>> 

Yes, I see packets on PC side:

11:46:01.346450 IP 192.168.0.1 > 192.168.0.90: ICMP echo request, id
61697, seq 31, length 64 
11:46:01.346467 IP 192.168.0.90 > 192.168.0.1: ICMP echo reply, id
61697, seq 31, length 64

192.168.0.1 - is RT3052F box
192.168.0.90 - big brother (PC)


>> 
>> Adrian
>> 
>> On 30 June 2011 20:22, Aleksandr Rybalko <ray at freebsd.org> wrote:
>> > Hi folks,
>> >
>> > I have a patch that enable support of Ethernet MAC on most Ralink
>> > system-on-chip.
>> >
>> > I use it more than half year and it works well. But still have some
>> > problem, one of it: I still not found why driver stop receive
>> > frames after ifconfig rt0 down/ifconfig rt0 up. Maybe somebody
>> > want to test and/or help me with development.
>> >
>> > Driver still don't support VLAN/PPPoE offload, but able to
>> > transmit at 88Mbps on 384MHz MIPS32 SoC.
>> >
>> > Usage:
>> > # Enable if_rt
>> > device          rt
>> >
>> > # Enable debug messages
>> > options         IF_RT_DEBUG
>> > # Enable PHY support (untested because I don't seen such devices
>> > # with PHYs attached to it yet, only attached to internal switch in
>> > # RT305xF SoCs)
>> > options         IF_RT_PHY_SUPPORT              opt_if_rt.h
>> > # count of allocated dma ring buffers
>> > options         IF_RT_RING_DATA_COUNT          opt_if_rt.h
>> >
>> > I will glad to see any comments/feedback about it.
>> >
>> > URL: http://my.ddteam.net/files/2011-06-30_if_rt.patch
>> >
>> > --
>> > Aleksandr Rybalko <ray at freebsd.org>
>> >
>> > _______________________________________________
>> > freebsd-net at freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> > To unsubscribe, send any mail to
>> > "freebsd-net-unsubscribe at freebsd.org"
>> >


-- 
Aleksandr Rybalko <ray at freebsd.org>


More information about the freebsd-net mailing list