Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / staging / dgnc / dgnc_sysfs.h
1 /*
2  * Copyright 2003 Digi International (www.digi.com)
3  *      Scott H Kilau <Scott_Kilau at digi dot com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2, or (at your option)
8  * any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the
12  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  * PURPOSE.  See the GNU General Public License for more details.
14  */
15
16 #ifndef __DGNC_SYSFS_H
17 #define __DGNC_SYSFS_H
18
19 #include <linux/device.h>
20 #include "dgnc_driver.h"
21
22 struct dgnc_board;
23 struct channel_t;
24 struct un_t;
25 struct pci_driver;
26 struct class_device;
27
28 extern void dgnc_create_ports_sysfiles(struct dgnc_board *bd);
29 extern void dgnc_remove_ports_sysfiles(struct dgnc_board *bd);
30
31 extern void dgnc_create_driver_sysfiles(struct pci_driver *);
32 extern void dgnc_remove_driver_sysfiles(struct pci_driver *);
33
34 extern int dgnc_tty_class_init(void);
35 extern int dgnc_tty_class_destroy(void);
36
37 extern void dgnc_create_tty_sysfs(struct un_t *un, struct device *c);
38 extern void dgnc_remove_tty_sysfs(struct device *c);
39
40 #endif