[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141013175143.GA30743@roeck-us.net>
Date: Mon, 13 Oct 2014 10:51:43 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Alexander Duyck <alexander.h.duyck@...el.com>
Cc: netdev@...r.kernel.org, f.fainelli@...il.com,
kernel@...tstofly.org, davem@...emloft.net
Subject: Re: [2/2] dsa: Replace mii_bus with a generic host device
On Mon, Sep 15, 2014 at 01:00:27PM -0400, Alexander Duyck wrote:
> This change makes it so that instead of passing and storing a mii_bus we
> instead pass and store a host_dev. From there we can test to determine the
> exact type of device, and can verify it is the correct device for our switch.
>
> So for example it would be possible to pass a device pointer from a pci_dev
> and instead of checking for a PHY ID we could check for a vendor and/or device
> ID.
>
Hi Alexander,
We are thinking about porting a PCIe based switch to use the DSA infrastructure,
so this patch is coming quite handy.
Have you been working on a port or a PCIe based chip to DSA yourself, by any
chance ? If yes, could you possibly share the current state ?
That might save us some time.
Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists