mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev: Introduce the ap device type
The AP device type initially allows only the setting of type attributes 'apmask' and 'aqmask'. Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
2da206f5a6
commit
773d01e674
@@ -398,3 +398,9 @@ char *path_get_scsi_hctl_dev(const char *hctl)
|
||||
{
|
||||
return path_get("/sys/bus/scsi/devices/%s", hctl);
|
||||
}
|
||||
|
||||
/* Return sysfs path to a bus attribute */
|
||||
char *path_get_bus_attr(const char *bus, const char *attr)
|
||||
{
|
||||
return path_get("/sys/bus/%s/%s", bus, attr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user