| 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_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 | |
|