File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -315,7 +315,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v);
315315/* driver code in driver/parisc */
316316extern void gsc_init (void );
317317extern void processor_init (void );
318- extern void ccio_init (void );
319318extern void iosapic_init (void );
320319extern void lba_init (void );
321320extern void sba_init (void );
Original file line number Diff line number Diff line change @@ -290,16 +290,6 @@ static int __init parisc_init(void)
290290 lba_init ();
291291#endif
292292
293- /* CCIO before any potential subdevices */
294- #if defined(CONFIG_IOMMU_CCIO )
295- ccio_init ();
296- #endif
297-
298- /*
299- * Need to register Asp & Wax before the EISA adapters for the IRQ
300- * regions. EISA must come before PCI to be sure it gets IRQ region
301- * 0.
302- */
303293#if defined(CONFIG_GSC_LASI ) || defined(CONFIG_GSC_WAX )
304294 gsc_init ();
305295#endif
Original file line number Diff line number Diff line change 88** (c) Copyright 2000 Ryan Bradetich
99** (c) Copyright 2000 Hewlett-Packard Company
1010**
11- **
12- **
1311** "Real Mode" operation refers to U2/Uturn chip operation.
1412** U2/Uturn were designed to perform coherency checks w/o using
1513** the I/O MMU - basically what x86 does.
1614**
17- ** Philipp Rumpf has a "Real Mode" driver for PCX-W machines at:
18- ** CVSROOT=:pserver:anonymous@198.186.203.37:/cvsroot/linux-parisc
19- ** cvs -z3 co linux/arch/parisc/kernel/dma-rm.c
20- **
21- ** I've rewritten his code to work under TPG's tree. See ccio-rm-dma.c.
22- **
2315** Drawbacks of using Real Mode are:
2416** o outbound DMA is slower - U2 won't prefetch data (GSC+ XQL signal).
2517** 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)
15821574 *
15831575 * Register this driver.
15841576 */
1585- void __init ccio_init (void )
1577+ static int __init ccio_init (void )
15861578{
1587- register_parisc_driver (& ccio_driver );
1579+ return register_parisc_driver (& ccio_driver );
15881580}
1589-
1581+ arch_initcall ( ccio_init );
You can’t perform that action at this time.
0 commit comments