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
Kirill Smelkov
linux
Commits
f9c57480
Commit
f9c57480
authored
Mar 11, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e100 net driver updates from Intel:
* fix zerocopy * add suspend/resume
parent
50b1b006
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
293 additions
and
45 deletions
+293
-45
drivers/net/e100/e100.h
drivers/net/e100/e100.h
+12
-0
drivers/net/e100/e100_main.c
drivers/net/e100/e100_main.c
+280
-44
drivers/net/e100/e100_phy.c
drivers/net/e100/e100_phy.c
+1
-1
No files found.
drivers/net/e100/e100.h
View file @
f9c57480
...
...
@@ -766,6 +766,8 @@ typedef enum _non_tx_cmd_state_t {
#define IPCB_INSERTVLAN_ENABLE BIT_1
#define IPCB_IP_ACTIVATION_DEFAULT IPCB_HARDWAREPARSING_ENABLE
#define FOLD_CSUM(_XSUM) ((((_XSUM << 16) | (_XSUM >> 16)) + _XSUM) >> 16)
/* Transmit Buffer Descriptor (TBD)*/
typedef
struct
_tbd_t
{
u32
tbd_buf_addr
;
/* Physical Transmit Buffer Address */
...
...
@@ -1008,6 +1010,11 @@ struct e100_private {
u32
wolopts
;
u16
ip_lbytes
;
#endif
#ifdef CONFIG_PM
u32
pci_state
[
16
];
#endif
};
#define E100_AUTONEG 0
...
...
@@ -1030,4 +1037,9 @@ extern unsigned char e100_selftest(struct e100_private *bdp, u32 *st_timeout,
extern
unsigned
char
e100_get_link_state
(
struct
e100_private
*
bdp
);
extern
unsigned
char
e100_wait_scb
(
struct
e100_private
*
bdp
);
extern
void
e100_deisolate_driver
(
struct
e100_private
*
bdp
,
u8
recover
,
u8
full_reset
);
extern
unsigned
char
e100_hw_reset_recover
(
struct
e100_private
*
bdp
,
u32
reset_cmd
);
#endif
drivers/net/e100/e100_main.c
View file @
f9c57480
This diff is collapsed.
Click to expand it.
drivers/net/e100/e100_phy.c
View file @
f9c57480
...
...
@@ -769,7 +769,7 @@ e100_set_fc(struct e100_private *bdp)
* Arguments: bdp - Pointer to the e100_private structure for the board
*
* Returns: true if link state was changed
*
B_FLASE
otherwise
*
false
otherwise
*
*/
unsigned
char
...
...
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