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
2a137fd0
Commit
2a137fd0
authored
Jul 22, 2003
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: In clock_probe(), treat m5819p just like m5819.
parent
4c6ae316
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
arch/sparc64/kernel/time.c
arch/sparc64/kernel/time.c
+5
-2
No files found.
arch/sparc64/kernel/time.c
View file @
2a137fd0
...
@@ -792,6 +792,7 @@ void __init clock_probe(void)
...
@@ -792,6 +792,7 @@ void __init clock_probe(void)
strcmp
(
model
,
"mk48t08"
)
&&
strcmp
(
model
,
"mk48t08"
)
&&
strcmp
(
model
,
"mk48t59"
)
&&
strcmp
(
model
,
"mk48t59"
)
&&
strcmp
(
model
,
"m5819"
)
&&
strcmp
(
model
,
"m5819"
)
&&
strcmp
(
model
,
"m5819p"
)
&&
strcmp
(
model
,
"ds1287"
))
{
strcmp
(
model
,
"ds1287"
))
{
if
(
cbus
!=
NULL
)
{
if
(
cbus
!=
NULL
)
{
prom_printf
(
"clock_probe: Central bus lacks timer chip.
\n
"
);
prom_printf
(
"clock_probe: Central bus lacks timer chip.
\n
"
);
...
@@ -850,7 +851,8 @@ void __init clock_probe(void)
...
@@ -850,7 +851,8 @@ void __init clock_probe(void)
}
}
if
(
!
strcmp
(
model
,
"ds1287"
)
||
if
(
!
strcmp
(
model
,
"ds1287"
)
||
!
strcmp
(
model
,
"m5819"
))
{
!
strcmp
(
model
,
"m5819"
)
||
!
strcmp
(
model
,
"m5819p"
))
{
ds1287_regs
=
edev
->
resource
[
0
].
start
;
ds1287_regs
=
edev
->
resource
[
0
].
start
;
}
else
{
}
else
{
mstk48t59_regs
=
edev
->
resource
[
0
].
start
;
mstk48t59_regs
=
edev
->
resource
[
0
].
start
;
...
@@ -870,7 +872,8 @@ void __init clock_probe(void)
...
@@ -870,7 +872,8 @@ void __init clock_probe(void)
prom_halt
();
prom_halt
();
}
}
if
(
!
strcmp
(
model
,
"ds1287"
)
||
if
(
!
strcmp
(
model
,
"ds1287"
)
||
!
strcmp
(
model
,
"m5819"
))
{
!
strcmp
(
model
,
"m5819"
)
||
!
strcmp
(
model
,
"m5819p"
))
{
ds1287_regs
=
isadev
->
resource
.
start
;
ds1287_regs
=
isadev
->
resource
.
start
;
}
else
{
}
else
{
mstk48t59_regs
=
isadev
->
resource
.
start
;
mstk48t59_regs
=
isadev
->
resource
.
start
;
...
...
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