2 * Copyright 2003 Digi International (www.digi.com)
3 * Scott H Kilau <Scott_Kilau at digi dot com>
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)
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.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 * NOTE: THIS IS A SHARED HEADER. DO NOT CHANGE CODING STYLE!!!
22 #ifndef __DGAP_SYSFS_H
23 #define __DGAP_SYSFS_H
25 #include "dgap_driver.h"
27 #include <linux/device.h>
35 extern void dgap_create_ports_sysfiles(struct board_t *bd);
36 extern void dgap_remove_ports_sysfiles(struct board_t *bd);
38 extern void dgap_create_driver_sysfiles(struct pci_driver *);
39 extern void dgap_remove_driver_sysfiles(struct pci_driver *);
41 extern int dgap_tty_class_init(void);
42 extern int dgap_tty_class_destroy(void);
44 extern void dgap_create_tty_sysfs(struct un_t *un, struct device *c);
45 extern void dgap_remove_tty_sysfs(struct device *c);