Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 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. |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef __DGNC_SYSFS_H |
| 17 | #define __DGNC_SYSFS_H |
| 18 | |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 19 | #include <linux/device.h> |
Giedrius Statkevičius | c754ff9 | 2015-03-13 15:56:35 +0200 | [diff] [blame] | 20 | #include "dgnc_driver.h" |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 21 | |
Lidza Louina | 03425f5 | 2013-09-09 15:01:22 -0400 | [diff] [blame] | 22 | struct dgnc_board; |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 23 | struct channel_t; |
| 24 | struct un_t; |
| 25 | struct pci_driver; |
| 26 | struct class_device; |
| 27 | |
Joe Perches | 35bb99b | 2015-08-10 14:51:17 -0700 | [diff] [blame] | 28 | void dgnc_create_ports_sysfiles(struct dgnc_board *bd); |
| 29 | void dgnc_remove_ports_sysfiles(struct dgnc_board *bd); |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 30 | |
Joe Perches | 35bb99b | 2015-08-10 14:51:17 -0700 | [diff] [blame] | 31 | void dgnc_create_driver_sysfiles(struct pci_driver *); |
| 32 | void dgnc_remove_driver_sysfiles(struct pci_driver *); |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 33 | |
Joe Perches | 35bb99b | 2015-08-10 14:51:17 -0700 | [diff] [blame] | 34 | int dgnc_tty_class_init(void); |
| 35 | int dgnc_tty_class_destroy(void); |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 36 | |
Joe Perches | 35bb99b | 2015-08-10 14:51:17 -0700 | [diff] [blame] | 37 | void dgnc_create_tty_sysfs(struct un_t *un, struct device *c); |
| 38 | void dgnc_remove_tty_sysfs(struct device *c); |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 39 | |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 40 | #endif |