summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-02 18:38:30 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:05 -0700
commit19feb35100f602d2e9e4148d9e22548dae5a01d3 (patch)
treec789c364196b2091db31ed0fc671f609874155e8 /namedev.h
parent5c6f0fb0dcd999b96097b38311df439a85b6b799 (diff)
[PATCH] split out the namedev config parsing logic to namedev_parse.c
Diffstat (limited to 'namedev.h')
-rw-r--r--namedev.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/namedev.h b/namedev.h
index 5ea843e9b7..1405d07e04 100644
--- a/namedev.h
+++ b/namedev.h
@@ -45,6 +45,12 @@ enum config_type {
#define ID_SIZE 50
#define PLACE_SIZE 50
+#define TYPE_LABEL "LABEL"
+#define TYPE_NUMBER "NUMBER"
+#define TYPE_TOPOLOGY "TOPOLOGY"
+#define TYPE_REPLACE "REPLACE"
+#define TYPE_CALLOUT "CALLOUT"
+#define CALLOUT_MAXARG 8
struct config_device {
struct list_head node;
@@ -65,8 +71,15 @@ struct config_device {
mode_t mode;
};
+extern struct list_head config_device_list;
extern int namedev_init(void);
extern int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *dev);
+extern int namedev_init_permissions(void);
+extern int namedev_init_config(void);
+
+extern int add_config_dev(struct config_device *new_dev);
+extern void dump_config_dev(struct config_device *dev);
+extern void dump_config_dev_list(void);
#endif