Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0b1f3ea0
Commit
0b1f3ea0
authored
Nov 08, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Hand-merge module_param() conflicts in s2io net driver.
parents
34fe9c27
cec9f92e
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2024 additions
and
1411 deletions
+2024
-1411
drivers/net/Kconfig
drivers/net/Kconfig
+11
-0
drivers/net/s2io-regs.h
drivers/net/s2io-regs.h
+3
-0
drivers/net/s2io.c
drivers/net/s2io.c
+1851
-1275
drivers/net/s2io.h
drivers/net/s2io.h
+159
-136
No files found.
drivers/net/Kconfig
View file @
0b1f3ea0
...
...
@@ -2191,6 +2191,17 @@ config S2IO_NAPI
If in doubt, say N.
config 2BUFF_MODE
bool "Use 2 Buffer Mode on Rx side."
depends on S2IO
---help---
On enabling the 2 buffer mode, the received frame will be
split into 2 parts before being DMA'ed to the hosts memory.
The parts are the ethernet header and ethernet payload.
This is useful on systems where DMA'ing to to unaligned
physical memory loactions comes with a heavy price.
If not sure please say N.
endmenu
source "drivers/net/tokenring/Kconfig"
...
...
drivers/net/s2io-regs.h
View file @
0b1f3ea0
...
...
@@ -289,6 +289,8 @@ typedef struct _XENA_dev_config {
u64
tda_err_alarm
;
u64
pcc_err_reg
;
#define PCC_FB_ECC_DB_ERR vBIT(0xFF, 16, 8)
u64
pcc_err_mask
;
u64
pcc_err_alarm
;
...
...
@@ -512,6 +514,7 @@ typedef struct _XENA_dev_config {
#define RX_PA_CFG_IGNORE_FRM_ERR BIT(1)
#define RX_PA_CFG_IGNORE_SNAP_OUI BIT(2)
#define RX_PA_CFG_IGNORE_LLC_CTRL BIT(3)
#define RX_PA_CFG_IGNORE_L2_ERR BIT(6)
u8
unused12
[
0x700
-
0x1D8
];
...
...
drivers/net/s2io.c
View file @
0b1f3ea0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
drivers/net/s2io.h
View file @
0b1f3ea0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment