mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[ramips] missing header file changes, and fix mtu value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18220 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -375,7 +375,7 @@ ramips_eth_probe(struct net_device *dev)
|
|||||||
dev->stop = ramips_eth_stop;
|
dev->stop = ramips_eth_stop;
|
||||||
dev->hard_start_xmit = ramips_eth_hard_start_xmit;
|
dev->hard_start_xmit = ramips_eth_hard_start_xmit;
|
||||||
dev->set_mac_address = ramips_eth_set_mac_addr;
|
dev->set_mac_address = ramips_eth_set_mac_addr;
|
||||||
dev->mtu = MAX_RX_LENGTH;
|
dev->mtu = 1500;
|
||||||
dev->tx_timeout = ramips_eth_timeout;
|
dev->tx_timeout = ramips_eth_timeout;
|
||||||
dev->watchdog_timeo = TX_TIMEOUT;
|
dev->watchdog_timeo = TX_TIMEOUT;
|
||||||
spin_lock_init(&priv->page_lock);
|
spin_lock_init(&priv->page_lock);
|
||||||
|
|||||||
@@ -197,6 +197,7 @@ struct raeth_priv
|
|||||||
|
|
||||||
unsigned int skb_free_idx;
|
unsigned int skb_free_idx;
|
||||||
|
|
||||||
|
spinlock_t page_lock;
|
||||||
struct ramips_eth_platform_data *plat;
|
struct ramips_eth_platform_data *plat;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user