- increase version number to 0.10
- run indent script on netdev.c
This commit is contained in:
parent
26216d7727
commit
be89551e21
|
|
@ -28,7 +28,7 @@
|
|||
#include "../ecdev.h"
|
||||
|
||||
#define DRV_EXTRAVERSION "-ec"
|
||||
#define DRV_VERSION "0.9" DRV_EXTRAVERSION
|
||||
#define DRV_VERSION "0.10" DRV_EXTRAVERSION
|
||||
#define DRV_DESCRIPTION "Beckhoff CCAT Ethernet/EtherCAT Network Driver"
|
||||
|
||||
#undef pr_fmt
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ static netdev_tx_t ccat_eth_start_xmit(struct sk_buff *skb,
|
|||
|
||||
/* Queue frame into CCAT TX-FIFO, CCAT ignores the first 8 bytes of the tx descriptor */
|
||||
addr_and_length = offsetof(struct ccat_eth_frame, length);
|
||||
addr_and_length += ((void*)fifo->next - fifo->dma.virt);
|
||||
addr_and_length += ((void *)fifo->next - fifo->dma.virt);
|
||||
addr_and_length += ((skb->len + CCAT_ETH_FRAME_HEAD_LEN) / 8) << 24;
|
||||
iowrite32(addr_and_length, priv->reg.tx_fifo);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue