diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index aae3356913..e84317c2f5 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -5115,6 +5115,18 @@ nm_device_get_ip_iface_identifier(NMDevice *self, return NM_DEVICE_GET_CLASS(self)->get_ip_iface_identifier(self, iid); } +const char * +nm_device_get_s390_subchannels(NMDevice *self) +{ + NMDeviceClass *klass; + + g_return_val_if_fail(NM_IS_DEVICE(self), NULL); + + klass = NM_DEVICE_GET_CLASS(self); + + return klass->get_s390_subchannels ? klass->get_s390_subchannels(self) : NULL; +} + const char * nm_device_get_driver(NMDevice *self) { diff --git a/src/core/devices/nm-device.h b/src/core/devices/nm-device.h index 35a8d1cd49..b096d23ac1 100644 --- a/src/core/devices/nm-device.h +++ b/src/core/devices/nm-device.h @@ -460,6 +460,7 @@ gboolean nm_device_is_real(NMDevice *dev); const char *nm_device_get_ip_iface(NMDevice *dev); const char *nm_device_get_ip_iface_from_platform(NMDevice *dev); int nm_device_get_ip_ifindex(const NMDevice *dev); +const char *nm_device_get_s390_subchannels(NMDevice *self); const char *nm_device_get_driver(NMDevice *dev); const char *nm_device_get_driver_version(NMDevice *dev); const char *nm_device_get_type_desc(NMDevice *dev);