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
000e8d1d
Commit
000e8d1d
authored
Jul 19, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPARC64: Fix fallout from sparc32 updates.
parent
2c6fcd47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
drivers/sbus/sbus.c
drivers/sbus/sbus.c
+9
-0
No files found.
drivers/sbus/sbus.c
View file @
000e8d1d
...
...
@@ -16,7 +16,9 @@
#include <asm/oplib.h>
#include <asm/bpp.h>
#include <asm/irq.h>
#ifdef CONFIG_SPARC32
#include <asm/pcic.h>
/* pcic_present */
#endif
struct
sbus_bus
*
sbus_root
=
NULL
;
...
...
@@ -335,10 +337,17 @@ static int __init sbus_init(void)
(
nd
=
prom_getchild
(
iommund
))
==
0
||
(
nd
=
prom_searchsiblings
(
nd
,
"sbus"
))
==
0
)
{
#ifdef CONFIG_PCI
#ifdef CONFIG_SPARC32
if
(
!
pcic_present
())
{
prom_printf
(
"Neither SBUS nor PCI found.
\n
"
);
prom_halt
();
}
#else
if
(
!
pcibios_present
())
{
prom_printf
(
"Neither SBUS nor PCI found.
\n
"
);
prom_halt
();
}
#endif
return
0
;
#else
/* No reason to run further - the data access trap will occur. */
...
...
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