summaryrefslogtreecommitdiff
path: root/namedev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-13 14:43:24 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:27:34 -0700
commit7efa217db0db946e68e6274e2b9cbe0a973ec47a (patch)
tree80c697681846807293352b05ee2e5b9e9ef7af79 /namedev.h
parentd4a32aa2e4804de9189574213749616dda57faa7 (diff)
[PATCH] add NAME{ignore_remove} attribute
Some broken ide drivers are generating high event traffic, with add/remove events. With this attribute, it can be specified, that the node is always available. It may be used in conjunction with the new DRIVER= match to catch specific kernel device drivers.
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 7a98d66c24..8e552c8568 100644
--- a/namedev.h
+++ b/namedev.h
@@ -52,6 +52,7 @@ struct sysfs_class_device;
#define FIELD_MODE "MODE"
#define ATTR_PARTITIONS "all_partitions"
+#define ATTR_IGNORE_REMOVE "ignore_remove"
#define PARTITIONS_COUNT 15
#define MAX_SYSFS_PAIRS 5
@@ -90,6 +91,7 @@ struct config_device {
char group[GROUP_SIZE];
unsigned int mode;
int partitions;
+ int ignore_remove;
char config_file[NAME_SIZE];
int config_line;
};