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
63c1ce56
Commit
63c1ce56
authored
Aug 27, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: ccio: Convert CCIO driver to use arch_initcall()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
5f4f870a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
22 deletions
+3
-22
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/processor.h
+0
-1
arch/parisc/kernel/setup.c
arch/parisc/kernel/setup.c
+0
-10
drivers/parisc/ccio-dma.c
drivers/parisc/ccio-dma.c
+3
-11
No files found.
arch/parisc/include/asm/processor.h
View file @
63c1ce56
...
@@ -315,7 +315,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v);
...
@@ -315,7 +315,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v);
/* driver code in driver/parisc */
/* driver code in driver/parisc */
extern
void
gsc_init
(
void
);
extern
void
gsc_init
(
void
);
extern
void
processor_init
(
void
);
extern
void
processor_init
(
void
);
extern
void
ccio_init
(
void
);
extern
void
iosapic_init
(
void
);
extern
void
iosapic_init
(
void
);
extern
void
lba_init
(
void
);
extern
void
lba_init
(
void
);
extern
void
sba_init
(
void
);
extern
void
sba_init
(
void
);
...
...
arch/parisc/kernel/setup.c
View file @
63c1ce56
...
@@ -290,16 +290,6 @@ static int __init parisc_init(void)
...
@@ -290,16 +290,6 @@ static int __init parisc_init(void)
lba_init
();
lba_init
();
#endif
#endif
/* CCIO before any potential subdevices */
#if defined(CONFIG_IOMMU_CCIO)
ccio_init
();
#endif
/*
* Need to register Asp & Wax before the EISA adapters for the IRQ
* regions. EISA must come before PCI to be sure it gets IRQ region
* 0.
*/
#if defined(CONFIG_GSC_LASI) || defined(CONFIG_GSC_WAX)
#if defined(CONFIG_GSC_LASI) || defined(CONFIG_GSC_WAX)
gsc_init
();
gsc_init
();
#endif
#endif
...
...
drivers/parisc/ccio-dma.c
View file @
63c1ce56
...
@@ -8,18 +8,10 @@
...
@@ -8,18 +8,10 @@
** (c) Copyright 2000 Ryan Bradetich
** (c) Copyright 2000 Ryan Bradetich
** (c) Copyright 2000 Hewlett-Packard Company
** (c) Copyright 2000 Hewlett-Packard Company
**
**
**
**
** "Real Mode" operation refers to U2/Uturn chip operation.
** "Real Mode" operation refers to U2/Uturn chip operation.
** U2/Uturn were designed to perform coherency checks w/o using
** U2/Uturn were designed to perform coherency checks w/o using
** the I/O MMU - basically what x86 does.
** the I/O MMU - basically what x86 does.
**
**
** Philipp Rumpf has a "Real Mode" driver for PCX-W machines at:
** CVSROOT=:pserver:anonymous@198.186.203.37:/cvsroot/linux-parisc
** cvs -z3 co linux/arch/parisc/kernel/dma-rm.c
**
** I've rewritten his code to work under TPG's tree. See ccio-rm-dma.c.
**
** Drawbacks of using Real Mode are:
** Drawbacks of using Real Mode are:
** o outbound DMA is slower - U2 won't prefetch data (GSC+ XQL signal).
** o outbound DMA is slower - U2 won't prefetch data (GSC+ XQL signal).
** o Inbound DMA less efficient - U2 can't use DMA_FAST attribute.
** o Inbound DMA less efficient - U2 can't use DMA_FAST attribute.
...
@@ -1582,8 +1574,8 @@ static int __init ccio_probe(struct parisc_device *dev)
...
@@ -1582,8 +1574,8 @@ static int __init ccio_probe(struct parisc_device *dev)
*
*
* Register this driver.
* Register this driver.
*/
*/
void
__init
ccio_init
(
void
)
static
int
__init
ccio_init
(
void
)
{
{
register_parisc_driver
(
&
ccio_driver
);
re
turn
re
gister_parisc_driver
(
&
ccio_driver
);
}
}
arch_initcall
(
ccio_init
);
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