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
db71a5a2
Commit
db71a5a2
authored
Aug 17, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More EISA/MCA fixups for removal of 'name' member in device struct.
parent
db82f17d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
drivers/eisa/virtual_root.c
drivers/eisa/virtual_root.c
+0
-3
drivers/mca/mca-proc.c
drivers/mca/mca-proc.c
+3
-3
No files found.
drivers/eisa/virtual_root.c
View file @
db71a5a2
...
...
@@ -29,9 +29,6 @@ static int force_probe = EISA_FORCE_PROBE_DEFAULT;
static
struct
platform_device
eisa_root_dev
=
{
.
name
=
"eisa"
,
.
id
=
0
,
.
dev
=
{
.
name
=
"Virtual EISA Bridge"
,
},
};
static
struct
eisa_root_device
eisa_bus_root
=
{
...
...
drivers/mca/mca-proc.c
View file @
db71a5a2
...
...
@@ -39,7 +39,7 @@ static int get_mca_info_helper(struct mca_device *mca_dev, char *page, int len)
for
(
j
=
0
;
j
<
8
;
j
++
)
len
+=
sprintf
(
page
+
len
,
"%02x "
,
mca_dev
?
mca_dev
->
pos
[
j
]
:
0xff
);
len
+=
sprintf
(
page
+
len
,
" %s
\n
"
,
mca_dev
?
mca_dev
->
dev
.
name
:
""
);
len
+=
sprintf
(
page
+
len
,
" %s
\n
"
,
mca_dev
?
mca_dev
->
name
:
""
);
return
len
;
}
...
...
@@ -108,12 +108,12 @@ static int mca_default_procfn(char* buf, struct mca_device *mca_dev)
}
else
if
(
slot
==
MCA_MOTHERBOARD
)
{
len
+=
sprintf
(
buf
+
len
,
"Motherboard
\n
"
);
}
if
(
mca_dev
->
dev
.
name
[
0
])
{
if
(
mca_dev
->
name
[
0
])
{
/* Drivers might register a name without /proc handler... */
len
+=
sprintf
(
buf
+
len
,
"Adapter Name: %s
\n
"
,
mca_dev
->
dev
.
name
);
mca_dev
->
name
);
}
else
{
len
+=
sprintf
(
buf
+
len
,
"Adapter Name: Unknown
\n
"
);
}
...
...
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