[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <005b01d09a36$0b77daa0$22678fe0$@codeaurora.org>
Date: Fri, 29 May 2015 10:36:49 -0700
From: "Mathieu Olivari" <mathieu@...eaurora.org>
To: "'Andrew Lunn'" <andrew@...n.ch>,
"'Florian Fainelli'" <f.fainelli@...il.com>
Cc: <robh+dt@...nel.org>, <pawel.moll@....com>, <mark.rutland@....com>,
<ijc+devicetree@...lion.org.uk>, <galak@...eaurora.org>,
<davem@...emloft.net>, <linux@...ck-us.net>,
<gang.chen.5i5j@...il.com>, <jiri@...nulli.us>,
<leitec@...ticky.com>, <fabf@...net.be>,
<pavel.nakonechny@...tlab.ru>, <joe@...ches.com>,
<sfeldma@...il.com>, <nbd@...nwrt.org>, <juhosg@...nwrt.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>
Subject: RE: [PATCH 3/7] net: dsa: ar8xxx: add regmap support
Alternatively, we could have something similar to what happens for the phy
in the wireless subsystems. Wireless PHYs are not registered as net_device
but they can still be listed, queried or configured through netlink.
Just thinking out loud here.
Thanks,
Mathieu
-----Original Message-----
From: Andrew Lunn [mailto:andrew@...n.ch]
Sent: Thursday, May 28, 2015 7:44 PM
To: Florian Fainelli
Cc: Mathieu Olivari; robh+dt@...nel.org; pawel.moll@....com;
mark.rutland@....com; ijc+devicetree@...lion.org.uk; galak@...eaurora.org;
davem@...emloft.net; linux@...ck-us.net; gang.chen.5i5j@...il.com;
jiri@...nulli.us; leitec@...ticky.com; fabf@...net.be;
pavel.nakonechny@...tlab.ru; joe@...ches.com; sfeldma@...il.com;
nbd@...nwrt.org; juhosg@...nwrt.org; devicetree@...r.kernel.org;
linux-kernel@...r.kernel.org; netdev@...r.kernel.org
Subject: Re: [PATCH 3/7] net: dsa: ar8xxx: add regmap support
> Fair enough, are there other global "things" besides counters that
> could deserve adding maybe some sort of global/master net_device to
> help query switch-wide information?
This was discussed a while back. I like the current abstraction, all
interfaces are real interfaces you can send and receive packets over. This
pseudo interface cannot be used for packet transfer, which seems odd.
Having access to registers for debugging, so debugfs seems like the best
option to me.
Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists