static struct net_device *skge_devinit(struct skge_hw *hw, int port) 
static struct net_device *skge_devinit(struct skge_hw *hw, int port, int highmem) 
static struct net_device *skge_devinit(struct skge_hw *hw, int port){	struct skge_port *skge;	struct net_device *dev = alloc_etherdev(sizeof(*skge));	if (!dev) {		printk(KERN_ERR "skge etherdev alloc failed");		return NULL;	}	SET_MODULE_OWNER(dev);	SET_NETDEV_DEV(dev, &hw->pdev->dev);	dev->open = skge_up;	dev->stop = skge_down;	dev->hard_start_xmit = skge_xmit_frame;	dev->get_stats = skge_get_stats;	if (hw->chip_id == CHIP_ID_GENESIS)		dev->set_multicast_list = genesis_set_multicast;	else		dev->set_multicast_list = yukon_set_multicast;	dev->set_mac_address = skge_set_mac_address;	dev->change_mtu = skge_change_mtu;	SET_ETHTOOL_OPS(dev, &skge_ethtool_ops);	dev->tx_timeout = skge_tx_timeout;	dev->watchdog_timeo = TX_WATCHDOG;	dev->poll = skge_poll;	dev->weight = NAPI_WEIGHT;#ifdef CONFIG_NET_POLL_CONTROLLER	dev->poll_controller = skge_netpoll;#endif	dev->irq = hw->pdev->irq;	dev->features = NETIF_F_LLTX;	skge = netdev_priv(dev);	skge->netdev = dev;	skge->hw = hw;	skge->msg_enable = netif_msg_init(debug, default_msg);	skge->tx_ring.count = DEFAULT_TX_RING_SIZE;	skge->rx_ring.count = DEFAULT_RX_RING_SIZE;	/* Auto speed and flow control */	skge->autoneg = AUTONEG_ENABLE;	skge->flow_control = FLOW_MODE_SYMMETRIC;	skge->duplex = -1;	skge->speed = -1;	skge->advertising = skge_modes(hw);	hw->dev[port] = dev;	skge->port = port;	spin_lock_init(&skge->tx_lock);	init_timer(&skge->link_check);	skge->link_check.function = skge_link_timer;	skge->link_check.data = (unsigned long) skge;	init_timer(&skge->led_blink);	skge->led_blink.function = skge_blink_timer;	skge->led_blink.data = (unsigned long) skge;	if (hw->chip_id != CHIP_ID_GENESIS) {		dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG;		skge->rx_csum = 1;	}	/* read the mac address */	memcpy_fromio(dev->dev_addr, hw->regs + B2_MAC_1 + port*8, ETH_ALEN);	/* device is off until link detection */	netif_carrier_off(dev);	netif_stop_queue(dev);	return dev;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/981d0377d94f4d611f1c73429c0c32b35b56855f/skge.c/clean/drivers/net/skge.c