Pseudo PHY and fake PHY ID
Alexandr Rybalko
ray at dlink.ua
Thu Mar 4 09:14:28 UTC 2010
On Wed, 3 Mar 2010 13:05:33 +0100
Bernd Walter <ticso at cicely7.cicely.de> wrote:
>> On Wed, Mar 03, 2010 at 12:26:04PM +0200, Alexandr Rybalko wrote:
>> > On Tue, 2 Mar 2010 22:17:03 +0100
>> > Bernd Walter <ticso at cicely7.cicely.de> wrote:
>> >
>> > >> On Tue, Mar 02, 2010 at 06:02:42PM +0200, Alexandr Rybalko wrote:
>> > >> > Hi,
>> > >> >
>> > >> > I making correct driver for SoC switch which is Pseudo PHY on bfe interface.
>> > >> > Someone can point me correct way to fake PHY ID for make it possible auto attach bfeswitch pseudo PHY driver?
>> > >>
>> > >> Has the switch an MDIO connection?
>> >
>> > Yes.
>> >
>> > >> I wrote the rtlswitch pseudo PHY driver for the RTL8305SC , which AFAIK still
>> > >> is the only one.
>> > >> The switch identifies without problem via identifiers, but it occupies multiple
>> > >> addresses and to avoid other drivers to claim the other IDs the rtlswitch
>> > >> driver claims all, but only attaches one time.
>> >
>> > My problem different, switch use one PHY address, but they (as I know) don`t provide identification.
>> > And I have to devices
>> > one on BCM5354 they have one bfe and one switch
>> > second on BCM5350 they have two bfe and one switch
>> > So I can`t only set hardcoded link bfe to bfeswitch.
>> > I need way for keeping auto probe and to know how fake switch id depend on outer info.
>>
>> I don't know details since there doesn't seem to be a public accessible
>> datasheet, but it looks like it is a fixed combo, so I would suggest to
>> take a look into the rl/rlphy implementation, which had to solve a
>> similar problem.
>> The RTL8201 PHY family exists in two different styles.
>> One are discrete chips and others are embedded with MAC.
>> The RTL8139 for example include an RTL8201, but unlike the discrete
>> versions the intenal PHY won't identify.
>>
>> --
>> B.Walter <bernd at bwct.de> http://www.bwct.de
>> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Not the same problem, but near. Thanks!
--
Рыбалко Александр
Консультант D-Link Украина
More information about the freebsd-hardware
mailing list