Re: [PATCH v2 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-15 Thread Andrew Lunn
> +++ b/drivers/net/ethernet/ni/Kconfig > @@ -0,0 +1,27 @@ > +# > +# National Instuments network device configuration > +# > + > +config NET_VENDOR_NI > + bool "National Instruments Devices" > + default y > + ---help--- > + If you have a network (Ethernet) device belonging to this

Re: [PATCH v2 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-14 Thread Florian Fainelli
On 07/14/2017 01:48 PM, Moritz Fischer wrote: > Add support for the National Instruments XGE 1/10G network device. > > It uses the EEPROM on the board via NVMEM. > > Signed-off-by: Moritz Fischer > --- > + > +static void nixge_handle_link_change(struct net_device *ndev) > +{ > + struct nixg

[PATCH v2 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-14 Thread Moritz Fischer
Add support for the National Instruments XGE 1/10G network device. It uses the EEPROM on the board via NVMEM. Signed-off-by: Moritz Fischer --- Changes from v1: - Added dependency on ARCH_ZYNQ (Kbuild) - Removed unused variables - Use of_phy_connect as suggested - Removed masking of (un)support