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
2bc43c92
Commit
2bc43c92
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: klgraph.c clean up
From: Pat Gefre <pfg@sgi.com> klgraph.c clean up
parent
4e8caa8f
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
151 deletions
+107
-151
arch/ia64/sn/io/hwgfs/hcl.c
arch/ia64/sn/io/hwgfs/hcl.c
+2
-2
arch/ia64/sn/io/platform_init/irix_io_init.c
arch/ia64/sn/io/platform_init/irix_io_init.c
+0
-6
arch/ia64/sn/io/sn2/klgraph.c
arch/ia64/sn/io/sn2/klgraph.c
+105
-143
No files found.
arch/ia64/sn/io/hwgfs/hcl.c
View file @
2bc43c92
...
@@ -750,7 +750,7 @@ hwgraph_inventory_remove( vertex_hdl_t de,
...
@@ -750,7 +750,7 @@ hwgraph_inventory_remove( vertex_hdl_t de,
* "/" but rather it just stops right before /dev ..
* "/" but rather it just stops right before /dev ..
*/
*/
int
int
hwgraph_vertex_name_get
(
vertex_hdl_t
vhdl
,
char
*
buf
,
uint
buflen
)
hwgraph_vertex_name_get
(
vertex_hdl_t
vhdl
,
char
*
buf
,
u
nsigned
int
buflen
)
{
{
char
*
locbuf
;
char
*
locbuf
;
int
pos
;
int
pos
;
...
@@ -785,7 +785,7 @@ hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, uint buflen)
...
@@ -785,7 +785,7 @@ hwgraph_vertex_name_get(vertex_hdl_t vhdl, char *buf, uint buflen)
#define DEVNAME_UNKNOWN "UnknownDevice"
#define DEVNAME_UNKNOWN "UnknownDevice"
char
*
char
*
vertex_to_name
(
vertex_hdl_t
vhdl
,
char
*
buf
,
uint
buflen
)
vertex_to_name
(
vertex_hdl_t
vhdl
,
char
*
buf
,
u
nsigned
int
buflen
)
{
{
if
(
hwgraph_vertex_name_get
(
vhdl
,
buf
,
buflen
)
==
GRAPH_SUCCESS
)
if
(
hwgraph_vertex_name_get
(
vhdl
,
buf
,
buflen
)
==
GRAPH_SUCCESS
)
return
(
buf
);
return
(
buf
);
...
...
arch/ia64/sn/io/platform_init/irix_io_init.c
View file @
2bc43c92
...
@@ -26,12 +26,6 @@ extern vertex_hdl_t hwgraph_root;
...
@@ -26,12 +26,6 @@ extern vertex_hdl_t hwgraph_root;
extern
void
io_module_init
(
void
);
extern
void
io_module_init
(
void
);
extern
int
pci_bus_to_hcl_cvlink
(
void
);
extern
int
pci_bus_to_hcl_cvlink
(
void
);
/* #define DEBUG_IO_INIT 1 */
#ifdef DEBUG_IO_INIT
#define DBG(x...) printk(x)
#else
#define DBG(x...)
#endif
/* DEBUG_IO_INIT */
/*
/*
* This routine is responsible for the setup of all the IRIX hwgraph style
* This routine is responsible for the setup of all the IRIX hwgraph style
...
...
arch/ia64/sn/io/sn2/klgraph.c
View file @
2bc43c92
This diff is collapsed.
Click to expand it.
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