From c27e69116d3ef0ea069a3c5146009ced08a0238b Mon Sep 17 00:00:00 2001 From: "patmans@us.ibm.com" Date: Tue, 14 Oct 2003 23:32:17 -0700 Subject: [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. --- namedev.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'namedev.h') 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; -- cgit v1.2.3-54-g00ecf