Re: [PATCH v10 5/5] [powerpc] Fix up fsl-flexcan device tree binding.
From: Kumar Gala <hidden>
Date: 2011-08-10 17:26:26
Also in:
netdev
quoted
quoted
quoted
quoted
quoted
quoted
So the node names should be can@1c000 { can@1d000 { correct? =20[Bhaskar] As there are two CAN controllers on P1010,So won't it =
be better
quoted
quoted
quoted
quoted
quoted
to distinguish it by can0 and can1 instead by simple "can" ?=20 It looks like the way to do that is to assign a label to those =
devices
quoted
quoted
quoted
quoted
and then associate the label with an alias. I have no idea how =
that
quoted
quoted
quoted
quoted
works under the hood, but it is the way other files are set up. =
Take a
quoted
quoted
quoted
quoted
look at arch/powerpc/boot/dts/bamboo.dts for how they define the =
serial
quoted
quoted
quoted
quoted
interfaces. =20 Grant or Wolfgang, is that the right way to handle the concern =
about
quoted
quoted
quoted
quoted
names or does it have no practical effect with the Linux kernel?=20 It has not effect. The label is just if you need to reference it =
via some other means.
quoted
quoted
=20 Does the alias have an effect?=20 nope=20 Then how does the device number get associated with a particular =
device What do you mean by device number?
and how is user-space ensured a consistent namespace?
that is left to udev rules. - k=