summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorpatmans@us.ibm.com <patmans@us.ibm.com>2003-10-14 23:32:17 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:40 -0700
commitc27e69116d3ef0ea069a3c5146009ced08a0238b (patch)
treeb90831fad9f7a0238e60e70ae66409bc5ca79fc4 /namedev.h
parentdbfc520c605dee3244dbbfd563e908901324689b (diff)
[PATCH] add callout config type to udev
This patch adds a callout config type to udev, so external programs can be called to get serial numbers or id's that are not available as a sysfs attribute.
Diffstat (limited to 'namedev.h')
-rw-r--r--namedev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/namedev.h b/namedev.h
index d986a2376d..1f535c4c8b 100644
--- a/namedev.h
+++ b/namedev.h
@@ -40,6 +40,7 @@ enum config_type {
NUMBER = 2,
TOPOLOGY = 3,
REPLACE = 4,
+ CALLOUT = 5,
};
#define BUS_SIZE 30
@@ -60,6 +61,7 @@ struct config_device {
char id[ID_SIZE];
char place[PLACE_SIZE];
char kernel_name[NAME_SIZE];
+ char exec_program[FILE_SIZE];
/* what to set the device to */
struct device_attr attr;