All of lore.kernel.org
 help / color / mirror / Atom feed
* ethernet "bus" number in DTS ?
@ 2018-10-23 16:49 Joakim Tjernlund
  2018-10-23 17:03 ` Florian Fainelli
  2018-10-23 17:08   ` Andrew Lunn
  0 siblings, 2 replies; 16+ messages in thread
From: Joakim Tjernlund @ 2018-10-23 16:49 UTC (permalink / raw)
  To: linuxppc-dev, netdev

SPI (and others) has a way to define bus number in a aliases:
	aliases {
		ethernet4 = &enet4;
		ethernet0 = &enet0;
		ethernet1 = &enet1;
		ethernet2 = &enet2;
		ethernet3 = &enet3;
		spi0 = &spi0
	};
The 0 in the spi0 alias will translate to bus num 0 so one can control the /dev nodes, like /dev/spidev0
I am looking for the same for ethernet devices:
 ethernet4 = &enet4;  /* should become eth4 */
 ethernet0 = &enet0;  /* should become eth0 */
but I cannot find something like that for eth devices.

Could such functionality be added?

 Jocke

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-10-29  3:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23 16:49 ethernet "bus" number in DTS ? Joakim Tjernlund
2018-10-23 17:03 ` Florian Fainelli
2018-10-23 18:02   ` Joakim Tjernlund
2018-10-23 18:20     ` Florian Fainelli
2018-10-23 20:02       ` Joakim Tjernlund
2018-10-23 20:07         ` Florian Fainelli
2018-10-23 22:15           ` Joakim Tjernlund
2018-10-24  6:22       ` Michal Suchánek
2018-10-24  6:22         ` Michal Suchánek
2018-10-26 13:00         ` Joakim Tjernlund
2018-10-26 22:57         ` Florian Fainelli
2018-10-26 22:57           ` Florian Fainelli
2018-10-28 18:25           ` Michal Suchánek
2018-10-28 18:25             ` Michal Suchánek
2018-10-23 17:08 ` Andrew Lunn
2018-10-23 17:08   ` Andrew Lunn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.