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
ee28db29
Commit
ee28db29
authored
Mar 22, 2003
by
Chas Williams
Committed by
David S. Miller
Mar 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM] s/uni driver overwrites 8-/16-bit mode.
parent
e66f82b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
drivers/atm/suni.c
drivers/atm/suni.c
+1
-1
drivers/atm/suni.h
drivers/atm/suni.h
+1
-0
No files found.
drivers/atm/suni.c
View file @
ee28db29
...
@@ -297,7 +297,7 @@ int suni_init(struct atm_dev *dev)
...
@@ -297,7 +297,7 @@ int suni_init(struct atm_dev *dev)
mri
=
GET
(
MRI
);
/* reset SUNI */
mri
=
GET
(
MRI
);
/* reset SUNI */
PUT
(
mri
|
SUNI_MRI_RESET
,
MRI
);
PUT
(
mri
|
SUNI_MRI_RESET
,
MRI
);
PUT
(
mri
,
MRI
);
PUT
(
mri
,
MRI
);
PUT
(
0
,
MT
);
/* disable all tests */
PUT
(
(
GET
(
MT
)
&
SUNI_MT_DS27_53
)
,
MT
);
/* disable all tests */
REG_CHANGE
(
SUNI_TPOP_APM_S
,
SUNI_TPOP_APM_S_SHIFT
,
SUNI_TPOP_S_SONET
,
REG_CHANGE
(
SUNI_TPOP_APM_S
,
SUNI_TPOP_APM_S_SHIFT
,
SUNI_TPOP_S_SONET
,
TPOP_APM
);
/* use SONET */
TPOP_APM
);
/* use SONET */
REG_CHANGE
(
SUNI_TACP_IUCHP_CLP
,
0
,
SUNI_TACP_IUCHP_CLP
,
REG_CHANGE
(
SUNI_TACP_IUCHP_CLP
,
0
,
SUNI_TACP_IUCHP_CLP
,
...
...
drivers/atm/suni.h
View file @
ee28db29
...
@@ -198,6 +198,7 @@
...
@@ -198,6 +198,7 @@
#define SUNI_MT_IOTST 0x04
/* RW, enable test mode */
#define SUNI_MT_IOTST 0x04
/* RW, enable test mode */
#define SUNI_MT_DBCTRL 0x08
/* W, control data bus by CSB pin */
#define SUNI_MT_DBCTRL 0x08
/* W, control data bus by CSB pin */
#define SUNI_MT_PMCTST 0x10
/* W, PMC test mode */
#define SUNI_MT_PMCTST 0x10
/* W, PMC test mode */
#define SUNI_MT_DS27_53 0x80
/* RW, select between 8- or 16- bit */
#define SUNI_IDLE_PATTERN 0x6a
/* idle pattern */
#define SUNI_IDLE_PATTERN 0x6a
/* idle pattern */
...
...
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