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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [miscdevice.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _LINUX_MISCDEVICE_H
2
#define _LINUX_MISCDEVICE_H
3
 
4
#define BUSMOUSE_MINOR 0
5
#define PSMOUSE_MINOR  1
6
#define MS_BUSMOUSE_MINOR 2
7
#define ATIXL_BUSMOUSE_MINOR 3
8
#define AMIGAMOUSE_MINOR 4
9
#define ATARIMOUSE_MINOR 5
10
#define SUN_MOUSE_MINOR 6
11
#define MISC_DYNAMIC_MINOR 255
12
 
13
extern int misc_init(void);
14
 
15
struct miscdevice
16
{
17
        int minor;
18
        const char *name;
19
        struct file_operations *fops;
20
        struct miscdevice * next, * prev;
21
};
22
 
23
extern int misc_register(struct miscdevice * misc);
24
extern int misc_deregister(struct miscdevice * misc);
25
 
26
#endif

powered by: WebSVN 2.1.0

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