port_netdev      1564 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	struct net_device *port_netdev;
port_netdev      1567 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_netdev = alloc_etherdev(sizeof(struct ethsw_port_priv));
port_netdev      1568 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	if (!port_netdev) {
port_netdev      1573 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_priv = netdev_priv(port_netdev);
port_netdev      1574 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_priv->netdev = port_netdev;
port_netdev      1583 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	SET_NETDEV_DEV(port_netdev, dev);
port_netdev      1584 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_netdev->netdev_ops = &ethsw_port_ops;
port_netdev      1585 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_netdev->ethtool_ops = &ethsw_port_ethtool_ops;
port_netdev      1588 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_netdev->min_mtu = ETH_MIN_MTU;
port_netdev      1589 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	port_netdev->max_mtu = ETHSW_MAX_FRAME_LENGTH;
port_netdev      1595 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	err = register_netdev(port_netdev);
port_netdev      1606 drivers/staging/fsl-dpaa2/ethsw/ethsw.c 	free_netdev(port_netdev);