Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-27 Thread Andy Fleming
On Thu, Sep 22, 2011 at 7:17 PM, Graeme Russ wrote: > Hi Andy > > On Fri, Sep 23, 2011 at 9:36 AM, Andy Fleming wrote: >> On Thu, Sep 22, 2011 at 6:27 PM, Graeme Russ wrote: > > [snip] > >>> Is there any documentation on how I should build a new MAC and PHY driver >>> from scratch (i.e. what is

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-22 Thread Mike Frysinger
On Thursday, September 22, 2011 20:17:33 Graeme Russ wrote: > 2) The Linux network driver framework (at least now) is so >massive that porting a network driver over is practically impossible. >Is the U-Boot network driver framework similar in any way to the Linux >framework such that I

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-22 Thread Graeme Russ
Hi Andy On Fri, Sep 23, 2011 at 9:36 AM, Andy Fleming wrote: > On Thu, Sep 22, 2011 at 6:27 PM, Graeme Russ wrote: [snip] >> Is there any documentation on how I should build a new MAC and PHY driver >> from scratch (i.e. what is the official network driver API) > > There's not really any docum

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-22 Thread Andy Fleming
On Thu, Sep 22, 2011 at 6:27 PM, Graeme Russ wrote: > Hi Mike, > > On Fri, Sep 23, 2011 at 8:21 AM, Mike Frysinger wrote: >> On Wednesday, September 21, 2011 23:12:44 Graeme Russ wrote: >>> On Thu, Sep 22, 2011 at 11:20 AM, Graeme Russ wrote: > > [snip] > >> i believe this is correct.  the intent

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-22 Thread Andy Fleming
On Wed, Sep 21, 2011 at 8:20 PM, Graeme Russ wrote: > Hi All, > > I'm looking at adding a new Gigabit Ethernet driver (Realtek > RTL8211CL) to U-Boot. The datasheet, in addition to register > descriptions, mentions MII/GMII and PHY support (but not much on the > specifics). Now in U-Boot there app

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-22 Thread Graeme Russ
Hi Mike, On Fri, Sep 23, 2011 at 8:21 AM, Mike Frysinger wrote: > On Wednesday, September 21, 2011 23:12:44 Graeme Russ wrote: >> On Thu, Sep 22, 2011 at 11:20 AM, Graeme Russ wrote: [snip] > i believe this is correct. the intention is to be like Linux where you've got > a driver for the MAC,

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-22 Thread Graeme Russ
Hi Mike, On Fri, Sep 23, 2011 at 8:21 AM, Mike Frysinger wrote: > On Wednesday, September 21, 2011 23:12:44 Graeme Russ wrote: >> On Thu, Sep 22, 2011 at 11:20 AM, Graeme Russ wrote: >> I now see why there is no relationship between MII/PHY and PCI as they are >> not connected to the PCI bus - Co

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-22 Thread Mike Frysinger
On Wednesday, September 21, 2011 23:12:44 Graeme Russ wrote: > On Thu, Sep 22, 2011 at 11:20 AM, Graeme Russ wrote: > > descriptions, mentions MII/GMII and PHY support (but not much on the > > specifics). Now in U-Boot there appears to be a common set of code > > relating to PHY and MII. There appe

Re: [U-Boot] Question: Information regarding MII and PHY

2011-09-21 Thread Graeme Russ
Hello again, On Thu, Sep 22, 2011 at 11:20 AM, Graeme Russ wrote: > I'm looking at adding a new Gigabit Ethernet driver (Realtek > RTL8211CL) to U-Boot. The datasheet, in addition to register OK, the RTL8211CL is just the transceiver (PHY?) - The MAC is actually part of an Intel PCH (Platform Co

[U-Boot] Question: Information regarding MII and PHY

2011-09-21 Thread Graeme Russ
Hi All, I'm looking at adding a new Gigabit Ethernet driver (Realtek RTL8211CL) to U-Boot. The datasheet, in addition to register descriptions, mentions MII/GMII and PHY support (but not much on the specifics). Now in U-Boot there appears to be a common set of code relating to PHY and MII. There a