Blame acpi_genetlink.h

Packit Service 26469c
#ifndef __ACPI_GENETLINK_H__
Packit Service 26469c
#define __ACPI_GENETLINK_H__ 1
Packit Service 26469c
Packit Service 26469c
#include <linux/types.h>
Packit Service 26469c
Packit Service 26469c
struct acpi_genl_event {
Packit Service 26469c
        char device_class[20];
Packit Service 26469c
        char bus_id[15];
Packit Service 26469c
        __u32 type;
Packit Service 26469c
        __u32 data;
Packit Service 26469c
};
Packit Service 26469c
Packit Service 26469c
/* attributes of acpi_genl_family */
Packit Service 26469c
enum {
Packit Service 26469c
        ACPI_GENL_ATTR_UNSPEC,
Packit Service 26469c
        ACPI_GENL_ATTR_EVENT,   /* ACPI event info needed by user space */
Packit Service 26469c
        __ACPI_GENL_ATTR_MAX,
Packit Service 26469c
};
Packit Service 26469c
#define ACPI_GENL_ATTR_MAX (__ACPI_GENL_ATTR_MAX - 1)
Packit Service 26469c
Packit Service 26469c
/* commands supported by the acpi_genl_family */
Packit Service 26469c
enum {
Packit Service 26469c
        ACPI_GENL_CMD_UNSPEC,
Packit Service 26469c
        ACPI_GENL_CMD_EVENT,    /* kernel->user notifications for ACPI events */        __ACPI_GENL_CMD_MAX,
Packit Service 26469c
};
Packit Service 26469c
#define ACPI_GENL_CMD_MAX (__ACPI_GENL_CMD_MAX - 1)
Packit Service 26469c
#define GENL_MAX_FAM_OPS        256
Packit Service 26469c
#define GENL_MAX_FAM_GRPS       256
Packit Service 26469c
Packit Service 26469c
#define ACPI_EVENT_FAMILY_NAME		"acpi_event"
Packit Service 26469c
#define ACPI_EVENT_MCAST_GROUP_NAME	"acpi_mc_group"
Packit Service 26469c
Packit Service 26469c
#endif