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
e05f4f17
Commit
e05f4f17
authored
Jan 18, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Jan 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sn: Minor clean up for ml_iograph.c
From: Pat Gefre <pfg@sgi.com> Minor clean up for ml_iograph.c
parent
f94e5d50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
arch/ia64/sn/io/sn2/ml_iograph.c
arch/ia64/sn/io/sn2/ml_iograph.c
+5
-9
No files found.
arch/ia64/sn/io/sn2/ml_iograph.c
View file @
e05f4f17
...
@@ -567,16 +567,12 @@ io_init_node(cnodeid_t cnodeid)
...
@@ -567,16 +567,12 @@ io_init_node(cnodeid_t cnodeid)
* accordingly. In particular, SN00 has direct connected bridge,
* accordingly. In particular, SN00 has direct connected bridge,
* and hence widget id is Not 0.
* and hence widget id is Not 0.
*/
*/
widget_partnum
=
(((
*
(
volatile
int32_t
*
)(
NODE_SWIN_BASE
(
COMPACT_TO_NASID_NODEID
(
cnodeid
),
0
)
+
WIDGET_ID
)))
&
WIDGET_PART_NUM
)
>>
WIDGET_PART_NUM_SHFT
;
widget_partnum
=
(((
*
(
volatile
int32_t
*
)(
NODE_SWIN_BASE
(
COMPACT_TO_NASID_NODEID
(
cnodeid
),
0
)
+
WIDGET_ID
)))
&
WIDGET_PART_NUM
)
>>
WIDGET_PART_NUM_SHFT
;
if
((
widget_partnum
==
XBOW_WIDGET_PART_NUM
)
||
if
(
widget_partnum
==
BRIDGE_WIDGET_PART_NUM
||
widget_partnum
==
XBRIDGE_WIDGET_PART_NUM
){
npdap
->
basew_id
=
(((
*
(
volatile
int32_t
*
)(
NODE_SWIN_BASE
(
COMPACT_TO_NASID_NODEID
(
cnodeid
),
0
)
+
BRIDGE_WID_CONTROL
)))
&
WIDGET_WIDGET_ID
);
DBG
(
"io_init_node: Found XBRIDGE widget_partnum= 0x%x
\n
"
,
widget_partnum
);
}
else
if
((
widget_partnum
==
XBOW_WIDGET_PART_NUM
)
||
(
widget_partnum
==
XXBOW_WIDGET_PART_NUM
)
||
(
widget_partnum
==
XXBOW_WIDGET_PART_NUM
)
||
(
widget_partnum
==
PXBOW_WIDGET_PART_NUM
)
)
{
(
widget_partnum
==
PXBOW_WIDGET_PART_NUM
)
)
{
/*
/*
...
...
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