Skip to content

Commit

Permalink
r8169: Kill SafeMtu macro
Browse files Browse the repository at this point in the history
After d58d46b (r8169: jumbo fixes.) max frame len is stored in
rtl_chip_infos[].jumbo_max for each chip and SafeMtu should be gone.

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Kirill Smelkov authored and David S. Miller committed Nov 3, 2012
1 parent 94e187c commit 4d44a9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/realtek/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ static const int multicast_filter_limit = 32;

#define MAX_READ_REQUEST_SHIFT 12
#define TX_DMA_BURST 7 /* Maximum PCI burst, '7' is unlimited */
#define SafeMtu 0x1c20 /* ... actually life sucks beyond ~7k */
#define InterFrameGap 0x03 /* 3 means InterFrameGap = the shortest one */

#define R8169_REGS_SIZE 256
Expand Down

0 comments on commit 4d44a9a

Please sign in to comment.