DragonFly commits List (threaded) for 2010-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: Bring in udev & libdevattr
commit 3a3826b3871c8c2f480bcba820c6da8f86700143
Author: Alex Hornung <ahornung@gmail.com>
Date: Sat Jun 12 16:12:07 2010 +0000
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!
Summary of changes:
lib/libdevattr/Makefile | 11 +
lib/libdevattr/devattr.c | 319 +++++++++++++++
lib/libdevattr/devattr.h | 151 +++++++
lib/libdevattr/devattr_device.c | 282 +++++++++++++
lib/libdevattr/devattr_enumerate.c | 331 ++++++++++++++++
lib/libdevattr/devattr_monitor.c | 365 +++++++++++++++++
lib/libdevattr/devattr_test.c | 83 ++++
lib/libdevattr/mktest | 7 +
sys/conf/files | 1 +
sys/dev/drm/i915_drv.h | 2 +-
sys/kern/kern_udev.c | 747 ++++++++++++++++++++++++++++++++++
sys/kern/vfs_conf.c | 19 +-
sys/sys/conf.h | 2 +
sys/sys/devfs.h | 6 +-
sys/sys/udev.h | 75 ++++
sys/vfs/devfs/devfs_core.c | 20 +-
usr.sbin/udevd/Makefile | 8 +
usr.sbin/udevd/mktest | 7 +
usr.sbin/udevd/test_udevd.c | 770 ++++++++++++++++++++++++++++++++++++
usr.sbin/udevd/udevd.c | 365 +++++++++++++++++
usr.sbin/udevd/udevd.h | 119 ++++++
usr.sbin/udevd/udevd_client.c | 231 +++++++++++
usr.sbin/udevd/udevd_monitor.c | 485 +++++++++++++++++++++++
usr.sbin/udevd/udevd_pdev.c | 138 +++++++
usr.sbin/udevd/udevd_socket.c | 157 ++++++++
25 files changed, 4682 insertions(+), 19 deletions(-)
create mode 100644 lib/libdevattr/Makefile
create mode 100644 lib/libdevattr/devattr.c
create mode 100644 lib/libdevattr/devattr.h
create mode 100644 lib/libdevattr/devattr_device.c
create mode 100644 lib/libdevattr/devattr_enumerate.c
create mode 100644 lib/libdevattr/devattr_monitor.c
create mode 100644 lib/libdevattr/devattr_test.c
create mode 100644 lib/libdevattr/mktest
create mode 100644 sys/kern/kern_udev.c
create mode 100644 sys/sys/udev.h
create mode 100644 usr.sbin/udevd/Makefile
create mode 100644 usr.sbin/udevd/mktest
create mode 100644 usr.sbin/udevd/test_udevd.c
create mode 100644 usr.sbin/udevd/udevd.c
create mode 100644 usr.sbin/udevd/udevd.h
create mode 100644 usr.sbin/udevd/udevd_client.c
create mode 100644 usr.sbin/udevd/udevd_monitor.c
create mode 100644 usr.sbin/udevd/udevd_pdev.c
create mode 100644 usr.sbin/udevd/udevd_socket.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3a3826b3871c8c2f480bcba820c6da8f86700143
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]