16 #include <linux/string.h>
17 #include <linux/pci.h>
22 #define DLPAR_KOBJ_NAME "control"
27 #define ADD_SLOT_ATTR_NAME add_slot
28 #define REMOVE_SLOT_ATTR_NAME remove_slot
30 #define MAX_DRC_NAME_LEN 64
42 memcpy(drc_name, buf, nbytes);
44 end =
strchr(drc_name,
'\n');
73 memcpy(drc_name, buf, nbytes);
75 end =
strchr(drc_name,
'\n');
99 static struct attribute *default_attrs[] = {
101 &remove_slot_attr.
attr,
106 .attrs = default_attrs,
109 static struct kobject *dlpar_kobj;