dgnc_sysfs.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. #ifndef __DGNC_SYSFS_H
  16. #define __DGNC_SYSFS_H
  17. #include <linux/device.h>
  18. #include "dgnc_driver.h"
  19. struct dgnc_board;
  20. struct channel_t;
  21. struct un_t;
  22. struct pci_driver;
  23. struct class_device;
  24. void dgnc_create_ports_sysfiles(struct dgnc_board *bd);
  25. void dgnc_remove_ports_sysfiles(struct dgnc_board *bd);
  26. void dgnc_create_driver_sysfiles(struct pci_driver *);
  27. void dgnc_remove_driver_sysfiles(struct pci_driver *);
  28. int dgnc_tty_class_init(void);
  29. int dgnc_tty_class_destroy(void);
  30. void dgnc_create_tty_sysfs(struct un_t *un, struct device *c);
  31. void dgnc_remove_tty_sysfs(struct device *c);
  32. #endif