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
6e61d0d3
Commit
6e61d0d3
authored
Oct 16, 2003
by
Chas Williams
Committed by
Stephen Hemminger
Oct 16, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: sdh should be off by default.
parent
754f80fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/atm/he.c
drivers/atm/he.c
+2
-3
No files found.
drivers/atm/he.c
View file @
6e61d0d3
...
@@ -157,7 +157,7 @@ static short nvpibits = -1;
...
@@ -157,7 +157,7 @@ static short nvpibits = -1;
static
short
nvcibits
=
-
1
;
static
short
nvcibits
=
-
1
;
static
short
rx_skb_reserve
=
16
;
static
short
rx_skb_reserve
=
16
;
static
short
irq_coalesce
=
1
;
static
short
irq_coalesce
=
1
;
static
short
sdh
=
1
;
static
short
sdh
=
0
;
static
struct
atmdev_ops
he_ops
=
static
struct
atmdev_ops
he_ops
=
{
{
...
@@ -1547,11 +1547,10 @@ he_start(struct atm_dev *dev)
...
@@ -1547,11 +1547,10 @@ he_start(struct atm_dev *dev)
if
(
sdh
)
{
if
(
sdh
)
{
/* this really should be in suni.c but for now... */
/* this really should be in suni.c but for now... */
int
val
;
int
val
;
val
=
he_phy_get
(
he_dev
->
atm_dev
,
SUNI_TPOP_APM
);
val
=
he_phy_get
(
he_dev
->
atm_dev
,
SUNI_TPOP_APM
);
val
=
(
val
&
~
SUNI_TPOP_APM_S
)
|
(
0x2
<<
SUNI_TPOP_APM_S_SHIFT
);
val
=
(
val
&
~
SUNI_TPOP_APM_S
)
|
(
SUNI_TPOP_S_SDH
<<
SUNI_TPOP_APM_S_SHIFT
);
he_phy_put
(
he_dev
->
atm_dev
,
val
,
SUNI_TPOP_APM
);
he_phy_put
(
he_dev
->
atm_dev
,
val
,
SUNI_TPOP_APM
);
}
}
...
...
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