OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [char/] [mem.c] - Diff between revs 199 and 582

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 199 Rev 582
Line 404... Line 404...
        NULL            /* fsync */
        NULL            /* fsync */
};
};
 
 
int chr_dev_init(void)
int chr_dev_init(void)
{
{
printk("chr_dev_init1\n");
 
        if (register_chrdev(MEM_MAJOR,"mem",&memory_fops))
        if (register_chrdev(MEM_MAJOR,"mem",&memory_fops))
                printk("unable to get major %d for memory devs\n", MEM_MAJOR);
                printk("unable to get major %d for memory devs\n", MEM_MAJOR);
printk("chr_dev_init2\n");
 
        rand_initialize();
        rand_initialize();
printk("chr_dev_init3\n");
 
        tty_init();
        tty_init();
printk("chr_dev_init4\n");
 
#ifdef CONFIG_PRINTER
#ifdef CONFIG_PRINTER
        lp_init();
        lp_init();
#endif
#endif
#if defined (CONFIG_BUSMOUSE) || defined(CONFIG_UMISC) || \
#if defined (CONFIG_BUSMOUSE) || defined(CONFIG_UMISC) || \
    defined (CONFIG_PSMOUSE) || defined (CONFIG_MS_BUSMOUSE) || \
    defined (CONFIG_PSMOUSE) || defined (CONFIG_MS_BUSMOUSE) || \
Line 443... Line 439...
        watchdog_init();
        watchdog_init();
#endif
#endif
#ifdef CONFIG_LCDTXT
#ifdef CONFIG_LCDTXT
        lcdtxt_init();
        lcdtxt_init();
#endif
#endif
printk("chr_dev_init5\n");
 
        return 0;
        return 0;
}
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.