Skip to content

Commit

Permalink
net: calxedaxgmac: set outstanding AXI bus transactions to 8
Browse files Browse the repository at this point in the history
Increase the number of outstanding read and write AXI transactions from 1
to 8 for better performance.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Rob Herring authored and David S. Miller committed Jul 11, 2012
1 parent 7c40091 commit e36ce6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/calxeda/xgmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ static int xgmac_hw_init(struct net_device *dev)
writel(DMA_INTR_DEFAULT_MASK, ioaddr + XGMAC_DMA_INTR_ENA);

/* XGMAC requires AXI bus init. This is a 'magic number' for now */
writel(0x000100E, ioaddr + XGMAC_DMA_AXI_BUS);
writel(0x0077000E, ioaddr + XGMAC_DMA_AXI_BUS);

ctrl |= XGMAC_CONTROL_DDIC | XGMAC_CONTROL_JE | XGMAC_CONTROL_ACS |
XGMAC_CONTROL_CAR;
Expand Down

0 comments on commit e36ce6e

Please sign in to comment.