eudev-project / eudev

Repository for eudev development
GNU General Public License v2.0
521 stars 145 forks source link

ata path_id #243

Closed yodayox closed 1 year ago

yodayox commented 1 year ago

dropped on the way log time ago and nobody seems to care about.. https://forums.gentoo.org/viewtopic-t-1053170.html so restored by.. me, as follow: --- a/src/udev/udev-builtin-path_id.c 2022-06-14 02:44:42.000000000 +0300 +++ b/src/udev/udev-builtin-path_id.c 2022-11-27 11:58:38.190434094 +0200 @@ -390,6 +390,55 @@ return hostdev; }

+static struct udev_device handle_scsi_ata(struct udev_device parent, char path, char compat_path) {

-static struct udev_device handle_scsi(struct udev_device parent, char *path, bool supported_parent) { +static struct udev_device handle_scsi(struct udev_device parent, char path, char compat_path, bool supported_parent) { const char devtype; const char name; const char id; @@ -465,19 +514,8 @@ goto out; }

@@ -581,6 +619,7 @@ char *path = NULL; bool supported_transport = false; bool supported_parent = false;

in order to be shipped in next version of eudev

bbonev commented 1 year ago

Duplicate of #242