udev.h | udev.h | |||
---|---|---|---|---|
skipping to change at line 95 | skipping to change at line 95 | |||
int partitions; | int partitions; | |||
int ignore_device; | int ignore_device; | |||
int ignore_remove; | int ignore_remove; | |||
char program_result[PATH_SIZE]; | char program_result[PATH_SIZE]; | |||
int test_run; | int test_run; | |||
}; | }; | |||
/* udev_config.c */ | /* udev_config.c */ | |||
extern char udev_root[PATH_SIZE]; | extern char udev_root[PATH_SIZE]; | |||
extern char udev_config_filename[PATH_SIZE]; | extern char udev_config_filename[PATH_SIZE]; | |||
extern char udev_rules_filename[PATH_SIZE]; | extern char udev_rules_dir[PATH_SIZE]; | |||
extern int udev_log_priority; | extern int udev_log_priority; | |||
extern int udev_run; | extern int udev_run; | |||
extern void udev_config_init(void); | extern void udev_config_init(void); | |||
/* udev_device.c */ | /* udev_device.c */ | |||
extern struct udevice *udev_device_init(void); | extern struct udevice *udev_device_init(void); | |||
extern void udev_device_cleanup(struct udevice *udev); | extern void udev_device_cleanup(struct udevice *udev); | |||
extern int udev_device_event(struct udev_rules *rules, struct udevice *udev ); | extern int udev_device_event(struct udev_rules *rules, struct udevice *udev ); | |||
extern dev_t udev_device_get_devt(struct udevice *udev); | extern dev_t udev_device_get_devt(struct udevice *udev); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
udev_rules.h | udev_rules.h | |||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
* | * | |||
*/ | */ | |||
#ifndef UDEV_RULES_H | #ifndef UDEV_RULES_H | |||
#define UDEV_RULES_H | #define UDEV_RULES_H | |||
#include "udev.h" | #include "udev.h" | |||
#include "list.h" | #include "list.h" | |||
#define PAIRS_MAX 5 | #define PAIRS_MAX 5 | |||
#define RULEFILE_SUFFIX ".rules" | #define RULESFILE_SUFFIX ".rules" | |||
enum key_operation { | enum key_operation { | |||
KEY_OP_UNSET, | KEY_OP_UNSET, | |||
KEY_OP_MATCH, | KEY_OP_MATCH, | |||
KEY_OP_NOMATCH, | KEY_OP_NOMATCH, | |||
KEY_OP_ADD, | KEY_OP_ADD, | |||
KEY_OP_ASSIGN, | KEY_OP_ASSIGN, | |||
KEY_OP_ASSIGN_FINAL, | KEY_OP_ASSIGN_FINAL, | |||
}; | }; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
udev_sysdeps.h | udev_sysdeps.h | |||
---|---|---|---|---|
skipping to change at line 67 | skipping to change at line 67 | |||
# define __NR_inotify_add_watch 152 | # define __NR_inotify_add_watch 152 | |||
# define __NR_inotify_rm_watch 156 | # define __NR_inotify_rm_watch 156 | |||
#elif defined (__arm__) | #elif defined (__arm__) | |||
# define __NR_inotify_init __NR_SYSCALL_BASE+316 | # define __NR_inotify_init __NR_SYSCALL_BASE+316 | |||
# define __NR_inotify_add_watch __NR_SYSCALL_BASE+317 | # define __NR_inotify_add_watch __NR_SYSCALL_BASE+317 | |||
# define __NR_inotify_rm_watch __NR_SYSCALL_BASE+318 | # define __NR_inotify_rm_watch __NR_SYSCALL_BASE+318 | |||
#elif defined (__sh__) | #elif defined (__sh__) | |||
# define __NR_inotify_init 290 | # define __NR_inotify_init 290 | |||
# define __NR_inotify_add_watch 291 | # define __NR_inotify_add_watch 291 | |||
# define __NR_inotify_rm_watch 292 | # define __NR_inotify_rm_watch 292 | |||
#elif defined (__m32r__) | ||||
# define __NR_inotify_init 290 | ||||
# define __NR_inotify_add_watch 291 | ||||
# define __NR_inotify_rm_watch 292 | ||||
#elif defined (__hppa__) | #elif defined (__hppa__) | |||
# define __NR_inotify_init 269 | # define __NR_inotify_init 269 | |||
# define __NR_inotify_add_watch 270 | # define __NR_inotify_add_watch 270 | |||
# define __NR_inotify_rm_watch 271 | # define __NR_inotify_rm_watch 271 | |||
#elif defined (__mips__) | #elif defined (__mips__) | |||
# include <sgidefs.h> | # include <sgidefs.h> | |||
# if _MIPS_SIM == _MIPS_SIM_ABI32 | # if _MIPS_SIM == _MIPS_SIM_ABI32 | |||
# define __NR_Linux 4000 | # define __NR_Linux 4000 | |||
# define __NR_inotify_init (__NR_Linux + 284) | # define __NR_inotify_init (__NR_Linux + 284) | |||
# define __NR_inotify_add_watch (__NR_Linux + 285) | # define __NR_inotify_add_watch (__NR_Linux + 285) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||
udev_version.h | udev_version.h | |||
---|---|---|---|---|
/* Generated by make. */ | /* Generated by make. */ | |||
#define UDEV_VERSION "103" | #define UDEV_VERSION "104" | |||
#define UDEV_ROOT "/dev" | #define UDEV_ROOT "/dev" | |||
#define UDEV_CONFIG_FILE "/etc/udev/udev.conf" | #define UDEV_CONFIG_FILE "/etc/udev/udev.conf" | |||
#define UDEV_RULES_FILE "/etc/udev/rules.d" | #define UDEV_RULES_DIR "/etc/udev/rules.d" | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||