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
7737ac5e
Commit
7737ac5e
authored
Sep 25, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Patch by Christoph Hellwig: kill .hcl entry in SN hwgfs.
parent
f4f53e5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
76 deletions
+0
-76
arch/ia64/sn/io/hwgfs/hcl.c
arch/ia64/sn/io/hwgfs/hcl.c
+0
-76
No files found.
arch/ia64/sn/io/hwgfs/hcl.c
View file @
7737ac5e
...
...
@@ -53,73 +53,12 @@ static unsigned int hcl_debug = HCL_DEBUG_NONE;
static
unsigned
int
boot_options
=
OPTION_NONE
;
#endif
/*
* Some Global definitions.
*/
vertex_hdl_t
hcl_handle
;
invplace_t
invplace_none
=
{
GRAPH_VERTEX_NONE
,
GRAPH_VERTEX_PLACE_NONE
,
NULL
};
/*
* HCL device driver.
* The purpose of this device driver is to provide a facility
* for User Level Apps e.g. hinv, ioconfig etc. an ioctl path
* to manipulate label entries without having to implement
* system call interfaces. This methodology will enable us to
* make this feature module loadable.
*/
static
int
hcl_open
(
struct
inode
*
inode
,
struct
file
*
filp
)
{
if
(
hcl_debug
)
{
printk
(
"HCL: hcl_open called.
\n
"
);
}
return
(
0
);
}
static
int
hcl_close
(
struct
inode
*
inode
,
struct
file
*
filp
)
{
if
(
hcl_debug
)
{
printk
(
"HCL: hcl_close called.
\n
"
);
}
return
(
0
);
}
static
int
hcl_ioctl
(
struct
inode
*
inode
,
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
)
{
if
(
hcl_debug
)
{
printk
(
"HCL: hcl_ioctl called.
\n
"
);
}
switch
(
cmd
)
{
default:
if
(
hcl_debug
)
{
printk
(
"HCL: hcl_ioctl cmd = 0x%x
\n
"
,
cmd
);
}
}
return
(
0
);
}
struct
file_operations
hcl_fops
=
{
.
owner
=
(
struct
module
*
)
0
,
.
ioctl
=
hcl_ioctl
,
.
open
=
hcl_open
,
.
release
=
hcl_close
,
};
/*
* init_hcl() - Boot time initialization.
*
...
...
@@ -146,21 +85,6 @@ int __init init_hcl(void)
if
(
rv
)
printk
(
"WARNING: init_hcl: Failed to create hwgraph_root. Error = %d.
\n
"
,
rv
);
/*
* Create the hcl driver to support inventory entry manipulations.
*
*/
hcl_handle
=
hwgraph_register
(
hwgraph_root
,
".hcl"
,
0
,
0
,
0
,
0
,
S_IFCHR
|
S_IRUSR
|
S_IWUSR
|
S_IRGRP
,
0
,
0
,
&
hcl_fops
,
NULL
);
if
(
hcl_handle
==
NULL
)
{
panic
(
"HCL: Unable to create HCL Driver in init_hcl().
\n
"
);
return
(
0
);
}
/*
* Initialize the HCL string table.
*/
...
...
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