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
c49e48e9
Commit
c49e48e9
authored
Feb 27, 2002
by
Christopher Leech
Committed by
Jeff Garzik
Feb 27, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded and possibly incorrect PPC-specific code
from e1000 net driver.
parent
e3d6bff5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
drivers/net/e1000/e1000_main.c
drivers/net/e1000/e1000_main.c
+0
-12
No files found.
drivers/net/e1000/e1000_main.c
View file @
c49e48e9
...
@@ -783,12 +783,6 @@ e1000_configure_tx(struct e1000_adapter *adapter)
...
@@ -783,12 +783,6 @@ e1000_configure_tx(struct e1000_adapter *adapter)
E1000_WRITE_REG
(
&
adapter
->
shared
,
TCTL
,
tctl
);
E1000_WRITE_REG
(
&
adapter
->
shared
,
TCTL
,
tctl
);
#ifdef CONFIG_PPC
if
(
adapter
->
shared
.
mac_type
>=
e1000_82543
)
{
E1000_WRITE_REG
(
&
adapter
->
shared
,
TXDCTL
,
0x00020000
);
}
#endif
/* Setup Transmit Descriptor Settings for this adapter */
/* Setup Transmit Descriptor Settings for this adapter */
adapter
->
txd_cmd
=
E1000_TXD_CMD_IFCS
;
adapter
->
txd_cmd
=
E1000_TXD_CMD_IFCS
;
...
@@ -927,12 +921,6 @@ e1000_configure_rx(struct e1000_adapter *adapter)
...
@@ -927,12 +921,6 @@ e1000_configure_rx(struct e1000_adapter *adapter)
E1000_WRITE_REG
(
&
adapter
->
shared
,
RXCSUM
,
rxcsum
);
E1000_WRITE_REG
(
&
adapter
->
shared
,
RXCSUM
,
rxcsum
);
}
}
#ifdef CONFIG_PPC
if
(
adapter
->
shared
.
mac_type
>=
e1000_82543
)
{
E1000_WRITE_REG
(
&
adapter
->
shared
,
RXDCTL
,
0x00020000
);
}
#endif
/* Enable Receives */
/* Enable Receives */
E1000_WRITE_REG
(
&
adapter
->
shared
,
RCTL
,
rctl
);
E1000_WRITE_REG
(
&
adapter
->
shared
,
RCTL
,
rctl
);
...
...
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