.. | .. |
---|
156 | 156 | struct lance_init_block init; |
---|
157 | 157 | struct lance_tx_head tx_head[TX_RING_SIZE]; |
---|
158 | 158 | struct lance_rx_head rx_head[RX_RING_SIZE]; |
---|
159 | | - char packet_area[0]; /* packet data follow after the |
---|
| 159 | + char packet_area[]; /* packet data follow after the |
---|
160 | 160 | * init block and the ring |
---|
161 | 161 | * descriptors and are located |
---|
162 | 162 | * at runtime */ |
---|
.. | .. |
---|
346 | 346 | static int lance_close( struct net_device *dev ); |
---|
347 | 347 | static void set_multicast_list( struct net_device *dev ); |
---|
348 | 348 | static int lance_set_mac_address( struct net_device *dev, void *addr ); |
---|
349 | | -static void lance_tx_timeout (struct net_device *dev); |
---|
| 349 | +static void lance_tx_timeout (struct net_device *dev, unsigned int txqueue); |
---|
350 | 350 | |
---|
351 | 351 | /************************* End of Prototypes **************************/ |
---|
352 | 352 | |
---|
.. | .. |
---|
727 | 727 | /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */ |
---|
728 | 728 | |
---|
729 | 729 | |
---|
730 | | -static void lance_tx_timeout (struct net_device *dev) |
---|
| 730 | +static void lance_tx_timeout (struct net_device *dev, unsigned int txqueue) |
---|
731 | 731 | { |
---|
732 | 732 | struct lance_private *lp = netdev_priv(dev); |
---|
733 | 733 | struct lance_ioreg *IO = lp->iobase; |
---|