Bring in udev & libdevattr
authorAlex Hornung <ahornung@gmail.com>
Sat, 12 Jun 2010 16:12:07 +0000 (16:12 +0000)
committerAlex Hornung <ahornung@gmail.com>
Sun, 13 Jun 2010 07:46:38 +0000 (08:46 +0100)
commit3a3826b3871c8c2f480bcba820c6da8f86700143
treef91f7479077a1fb2e70cde63dd51752e93028d1a
parent2d52bfc6b521f029a52ab72659d2487d869ee16f
Bring in udev & libdevattr

* Bring in kern_udev, libdevattr and udevd from my personal repo. This
  is still WIP, but basic functionality is available and the API is
  stabilizing.

* kern_udev allows the association of certain parameters in form of a
  dictionary to each device in the system and provides notification of
  attach and detach events.

* udevd is a userland daemon which keeps an up to date list of all
  devices and their dictionaries and provides an interface for
  libdevattr to acccess and manipulate these devices and related events.

* libdevattr provides a mostly Linux' libudev compatible API to access
  device dictionaries and events. Beware that it is NOT a full drop-in
  replacement!
25 files changed:
lib/libdevattr/Makefile [new file with mode: 0644]
lib/libdevattr/devattr.c [new file with mode: 0644]
lib/libdevattr/devattr.h [new file with mode: 0644]
lib/libdevattr/devattr_device.c [new file with mode: 0644]
lib/libdevattr/devattr_enumerate.c [new file with mode: 0644]
lib/libdevattr/devattr_monitor.c [new file with mode: 0644]
lib/libdevattr/devattr_test.c [new file with mode: 0644]
lib/libdevattr/mktest [new file with mode: 0644]
sys/conf/files
sys/dev/drm/i915_drv.h
sys/kern/kern_udev.c [new file with mode: 0644]
sys/kern/vfs_conf.c
sys/sys/conf.h
sys/sys/devfs.h
sys/sys/udev.h [new file with mode: 0644]
sys/vfs/devfs/devfs_core.c
usr.sbin/udevd/Makefile [new file with mode: 0644]
usr.sbin/udevd/mktest [new file with mode: 0644]
usr.sbin/udevd/test_udevd.c [new file with mode: 0644]
usr.sbin/udevd/udevd.c [new file with mode: 0644]
usr.sbin/udevd/udevd.h [new file with mode: 0644]
usr.sbin/udevd/udevd_client.c [new file with mode: 0644]
usr.sbin/udevd/udevd_monitor.c [new file with mode: 0644]
usr.sbin/udevd/udevd_pdev.c [new file with mode: 0644]
usr.sbin/udevd/udevd_socket.c [new file with mode: 0644]