diff options
author | patmans@us.ibm.com <patmans@us.ibm.com> | 2003-10-14 23:32:17 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:40 -0700 |
commit | c27e69116d3ef0ea069a3c5146009ced08a0238b (patch) | |
tree | b90831fad9f7a0238e60e70ae66409bc5ca79fc4 /namedev.h | |
parent | dbfc520c605dee3244dbbfd563e908901324689b (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |