Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
91521485
Commit
91521485
authored
Jun 29, 2006
by
David S. Miller
Committed by
David S. Miller
Jun 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64] clock: Only probe central fhc clock on Enterprise boxes.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
00cde674
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
arch/sparc64/kernel/time.c
arch/sparc64/kernel/time.c
+7
-0
No files found.
arch/sparc64/kernel/time.c
View file @
91521485
...
...
@@ -780,6 +780,13 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
if
(
!
model
||
!
clock_model_matches
(
model
))
return
-
ENODEV
;
/* On an Enterprise system there can be multiple mostek clocks.
* We should only match the one that is on the central FHC bus.
*/
if
(
!
strcmp
(
dp
->
parent
,
"fhc"
)
&&
strcmp
(
dp
->
parent
->
parent
,
"central"
)
!=
0
)
return
-
ENODEV
;
size
=
(
op
->
resource
[
0
].
end
-
op
->
resource
[
0
].
start
)
+
1
;
regs
=
of_ioremap
(
&
op
->
resource
[
0
],
0
,
size
,
"clock"
);
if
(
!
regs
)
...
...
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