From: OTRS Notification Master Date: Tue, 23 Jan 2007 05:00:07 +0100 Subject: [U-Boot-Users] [DNX#2007012342000033] [PATCH 1/2] Add support for 802.3ae [...] Message-ID: <1169524807.750260.782903014@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2007012342000033] was created: > On 1/22/07, Ben Warren wrote: > > Hello, > > > > This patch adds 'IEEE 802.3ae clause 25' capabilities to the MIIPHY > > driver, which is needed for communicating with some 10GbE PHYs. There > > are two main differences between this and the standard 802.3 PHY > > framing: > > > > 1. 802.3ae devices use a start bit sequence of '00' instead of '01' > > 2. Register addressing is indirect. Read and write requests must be > > preceded by an 'address' write, which sets page and offset. The 'read' > > opcode is now auto-incrementing. A new 'fixed read' opcode is used for > > successive reads of a single address. > > > + } else if (op == 'R') { > > + if (miiphy_read_fixed (devname, addr, reg, &data) != 0) { > > + puts ("Error reading from the PHY\n"); > > + rcode = 1; > > + } else { > > + printf ("%04X\n", data & 0x0000FFFF); > > + } > > > + "device - list available devices\n" > > + "mii device - set current device\n" > > + "mii info - display MII PHY info\n" > > + "mii read - read MII PHY register\n" > > + "mii write - write MII PHY register\n" > > + "mii Read - read MII PHY (fixed-address)\n" > > + "mii address - set MII PHY page and offset\n" > > IMHO it's not a good idea to have 'Read' and 'read' do something > different. How about 'fread' instead. > > -- > Hardware, n.: > The parts of a computer system that can be kicked. Your U-Boot support team