[PATCH] [UPDATED] tsec: Allow Ten Bit Interface to be configurable

Joe Hamman joe.hamman at embeddedspecialties.com
Tue Aug 14 22:47:51 EST 2007


Hi Kumar,

Or do you think it should be added to gianfar_mdio_data?  Easier, but does
it belong there?

Thanks,
Joe


> -----Original Message-----
> From: linuxppc-embedded-
> bounces+joe.hamman=embeddedspecialties.com at ozlabs.org [mailto:linuxppc-
> embedded-bounces+joe.hamman=embeddedspecialties.com at ozlabs.org] On Behalf
> Of Joe Hamman
> Sent: Monday, August 13, 2007 10:30 PM
> To: 'Kumar Gala'
> Cc: linuxppc-embedded at ozlabs.org
> Subject: RE: [PATCH] [UPDATED] tsec: Allow Ten Bit Interface to be
> configurable
> 
> 
> > -----Original Message-----
> > From: Kumar Gala [mailto:galak at kernel.crashing.org]
> > Sent: Monday, August 13, 2007 10:10 PM
> > To: joe.hamman at embeddedspecialties.com
> > Cc: linuxppc-embedded at ozlabs.org
> > Subject: Re: [PATCH] [UPDATED] tsec: Allow Ten Bit Interface to be
> > configurable
> >
> >
> > On Aug 13, 2007, at 5:37 PM, Joe Hamman wrote:
> >
> > > Allow the address of the Ten Bit Interface (TBI) to be changed in the
> > > event of a conflict with another device.
> > >
> > > Signed-off by: Joe Hamman <joe.hamman at embeddedspecialties.com>
> > > ---
> > >
> > > Please ignore the last patch - I missed a cut & paste error on the
> > > range
> > > that my testing didn't catch.
> >
> > I think we'd rather this came from the device tree.
> >
> Duh, that makes sense ;-)
> 
> Has there been any discussion yet?  Maybe something like this:
> 
> 		mdio at 24520 {
> 			#address-cells = <1>;
> 			#size-cells = <0>;
> 			device_type = "mdio";
> 			compatible = "gianfar";
> 			reg = <24520 20>;
> 			phy0: ethernet-phy at 0 {
> 				interrupt-parent = <&mpic>;
> 				interrupts = <a 1>;
> 				reg = <0>;
> 				device_type = "ethernet-phy";
> 			};
> 			phy1: ethernet-phy at 1 {
> 				interrupt-parent = <&mpic>;
> 				interrupts = <a 1>;
> 				reg = <1>;
> 				device_type = "ethernet-phy";
> 			};
> 			phy2: ethernet-phy at 2 {
> 				interrupt-parent = <&mpic>;
> 				interrupts = <a 1>;
> 				reg = <2>;
> 				device_type = "ethernet-phy";
> 			};
> 			phy3: ethernet-phy at 3 {
> 				interrupt-parent = <&mpic>;
> 				interrupts = <a 1>;
> 				reg = <3>;
> 				device_type = "ethernet-phy";
> 			};
> 			tbi:  ethernet-tbi at 1f {
> 				reg = <1f>;
> 				device_type = "ethernet-tbi";
> 			};
> 		};
> 
> Thanks,
> Joe
> 
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded



More information about the Linuxppc-embedded mailing list