Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111927
b: refs/heads/master
c: 630b25c
h: refs/heads/master
i:
  111925: c1d9af1
  111923: 80eb996
  111919: ba8c352
v: v3
  • Loading branch information
Brandeburg, Jesse authored and Jeff Garzik committed Sep 25, 2008
1 parent bdb30ea commit f4df441
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 434 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b22596726bd37c7a4df4a43406a9a60f617d3d02
refs/heads/master: 630b25cdf4e3f8c0a11eb04fc8436cc36653cd58
9 changes: 0 additions & 9 deletions trunk/drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1938,15 +1938,6 @@ config E1000
To compile this driver as a module, choose M here. The module
will be called e1000.

config E1000_DISABLE_PACKET_SPLIT
bool "Disable Packet Split for PCI express adapters"
depends on E1000
help
Say Y here if you want to use the legacy receive path for PCI express
hardware.

If in doubt, say N.

config E1000E
tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support"
depends on PCI && (!SPARC32 || BROKEN)
Expand Down
17 changes: 0 additions & 17 deletions trunk/drivers/net/e1000/e1000.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ do { \
#endif

#define E1000_MNG_VLAN_NONE (-1)
/* Number of packet split data buffers (not including the header buffer) */
#define PS_PAGE_BUFFERS (MAX_PS_BUFFERS - 1)

/* wrapper around a pointer to a socket buffer,
* so a DMA handle can be stored along with the buffer */
Expand All @@ -168,14 +166,6 @@ struct e1000_buffer {
u16 next_to_watch;
};

struct e1000_ps_page {
struct page *ps_page[PS_PAGE_BUFFERS];
};

struct e1000_ps_page_dma {
u64 ps_page_dma[PS_PAGE_BUFFERS];
};

struct e1000_tx_ring {
/* pointer to the descriptor ring memory */
void *desc;
Expand Down Expand Up @@ -213,9 +203,6 @@ struct e1000_rx_ring {
unsigned int next_to_clean;
/* array of buffer information structs */
struct e1000_buffer *buffer_info;
/* arrays of page information for packet split */
struct e1000_ps_page *ps_page;
struct e1000_ps_page_dma *ps_page_dma;

/* cpu for rx queue */
int cpu;
Expand All @@ -228,8 +215,6 @@ struct e1000_rx_ring {
((((R)->next_to_clean > (R)->next_to_use) \
? 0 : (R)->count) + (R)->next_to_clean - (R)->next_to_use - 1)

#define E1000_RX_DESC_PS(R, i) \
(&(((union e1000_rx_desc_packet_split *)((R).desc))[i]))
#define E1000_RX_DESC_EXT(R, i) \
(&(((union e1000_rx_desc_extended *)((R).desc))[i]))
#define E1000_GET_DESC(R, i, type) (&(((struct type *)((R).desc))[i]))
Expand Down Expand Up @@ -311,10 +296,8 @@ struct e1000_adapter {
u32 rx_int_delay;
u32 rx_abs_int_delay;
bool rx_csum;
unsigned int rx_ps_pages;
u32 gorcl;
u64 gorcl_old;
u16 rx_ps_bsize0;

/* OS defined structs */
struct net_device *netdev;
Expand Down
Loading

0 comments on commit f4df441

Please sign in to comment.