Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
5548ed11
Commit
5548ed11
authored
Jul 10, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86, VisWS: turn into generic arch, install proper PCI quirk
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
5ab74722
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
arch/x86/mach-visws/setup_visws.c
arch/x86/mach-visws/setup_visws.c
+5
-0
arch/x86/pci/visws.c
arch/x86/pci/visws.c
+6
-1
include/asm-x86/setup.h
include/asm-x86/setup.h
+2
-0
No files found.
arch/x86/mach-visws/setup_visws.c
View file @
5548ed11
...
@@ -28,6 +28,11 @@
...
@@ -28,6 +28,11 @@
char
visws_board_type
=
-
1
;
char
visws_board_type
=
-
1
;
char
visws_board_rev
=
-
1
;
char
visws_board_rev
=
-
1
;
int
is_visws_box
(
void
)
{
return
visws_board_type
>=
0
;
}
static
int
__init
visws_time_init_quirk
(
void
)
static
int
__init
visws_time_init_quirk
(
void
)
{
{
printk
(
KERN_INFO
"Starting Cobalt Timer system clock
\n
"
);
printk
(
KERN_INFO
"Starting Cobalt Timer system clock
\n
"
);
...
...
arch/x86/pci/visws.c
View file @
5548ed11
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/init.h>
#include <asm/setup.h>
#include "cobalt.h"
#include "cobalt.h"
#include "lithium.h"
#include "lithium.h"
...
@@ -107,8 +108,12 @@ static int __init pci_visws_init(void)
...
@@ -107,8 +108,12 @@ static int __init pci_visws_init(void)
static
__init
int
pci_subsys_init
(
void
)
static
__init
int
pci_subsys_init
(
void
)
{
{
if
(
!
is_visws_box
())
return
-
1
;
return
-
1
;
pcibios_enable_irq
=
&
pci_visws_enable_irq
;
pcibios_disable_irq
=
&
pci_visws_disable_irq
;
pci_visws_init
();
pci_visws_init
();
pcibios_init
();
pcibios_init
();
...
...
include/asm-x86/setup.h
View file @
5548ed11
...
@@ -10,8 +10,10 @@ void vsmp_init(void);
...
@@ -10,8 +10,10 @@ void vsmp_init(void);
#ifdef CONFIG_X86_VISWS
#ifdef CONFIG_X86_VISWS
extern
void
visws_early_detect
(
void
);
extern
void
visws_early_detect
(
void
);
extern
int
is_visws_box
(
void
);
#else
#else
static
inline
void
visws_early_detect
(
void
)
{
}
static
inline
void
visws_early_detect
(
void
)
{
}
static
inline
int
is_visws_box
(
void
)
{
return
0
;
}
#endif
#endif
/*
/*
...
...
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