Commit 3a950181 authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: farsync: code indent use tabs where possible

Code indent should use tabs where possible.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d70711da
...@@ -2421,9 +2421,9 @@ fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -2421,9 +2421,9 @@ fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent)
(ent->driver_data == FST_TYPE_T2U)) ? 2 : 4; (ent->driver_data == FST_TYPE_T2U)) ? 2 : 4;
card->state = FST_UNINIT; card->state = FST_UNINIT;
spin_lock_init ( &card->card_lock ); spin_lock_init(&card->card_lock);
for ( i = 0 ; i < card->nports ; i++ ) { for (i = 0; i < card->nports; i++) {
struct net_device *dev = alloc_hdlcdev(&card->ports[i]); struct net_device *dev = alloc_hdlcdev(&card->ports[i]);
hdlc_device *hdlc; hdlc_device *hdlc;
...@@ -2447,9 +2447,9 @@ fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -2447,9 +2447,9 @@ fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent)
* and basic card I/O. * and basic card I/O.
*/ */
dev->mem_start = card->phys_mem dev->mem_start = card->phys_mem
+ BUF_OFFSET ( txBuffer[i][0][0]); + BUF_OFFSET(txBuffer[i][0][0]);
dev->mem_end = card->phys_mem dev->mem_end = card->phys_mem
+ BUF_OFFSET ( txBuffer[i][NUM_TX_BUFFER - 1][LEN_RX_BUFFER - 1]); + BUF_OFFSET(txBuffer[i][NUM_TX_BUFFER - 1][LEN_RX_BUFFER - 1]);
dev->base_addr = card->pci_conf; dev->base_addr = card->pci_conf;
dev->irq = card->irq; dev->irq = card->irq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment