diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-08-24 16:56:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:53:48 -0400 |
commit | 501e4d247a7e35a4d3aa8e6973794b1586f6cb30 (patch) | |
tree | 4a9aa06c5cacb2e67d83b4daf4506599815c4aef /drivers/net/via-velocity.h | |
parent | f5279ffdce9bcff938451303126971098e23aab3 (diff) |
via-velocity: use standard VLAN interface (resend)
The via-velocity is using a non-standard VLAN interface configured
via module parameters (yuck).
Replace with the standard acceleration interface.
It solves a number of problems with being able to handle multiple
vlans, and dynamically reconfigure.
This is compile tested only, don't have this board.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/via-velocity.h')
-rw-r--r-- | drivers/net/via-velocity.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h index b9e114d36c0f..af17161286ae 100644 --- a/drivers/net/via-velocity.h +++ b/drivers/net/via-velocity.h | |||
@@ -1701,7 +1701,7 @@ struct velocity_opt { | |||
1701 | int numrx; /* Number of RX descriptors */ | 1701 | int numrx; /* Number of RX descriptors */ |
1702 | int numtx; /* Number of TX descriptors */ | 1702 | int numtx; /* Number of TX descriptors */ |
1703 | enum speed_opt spd_dpx; /* Media link mode */ | 1703 | enum speed_opt spd_dpx; /* Media link mode */ |
1704 | int vid; /* vlan id */ | 1704 | |
1705 | int DMA_length; /* DMA length */ | 1705 | int DMA_length; /* DMA length */ |
1706 | int rx_thresh; /* RX_THRESH */ | 1706 | int rx_thresh; /* RX_THRESH */ |
1707 | int flow_cntl; | 1707 | int flow_cntl; |
@@ -1727,6 +1727,7 @@ struct velocity_info { | |||
1727 | dma_addr_t tx_bufs_dma; | 1727 | dma_addr_t tx_bufs_dma; |
1728 | u8 *tx_bufs; | 1728 | u8 *tx_bufs; |
1729 | 1729 | ||
1730 | struct vlan_group *vlgrp; | ||
1730 | u8 ip_addr[4]; | 1731 | u8 ip_addr[4]; |
1731 | enum chip_type chip_id; | 1732 | enum chip_type chip_id; |
1732 | 1733 | ||