Hi all, here's my second attempt the align the libata object naming with sysfs. Key point is to introduce an 'ata' bus, which serves to collect all libata object (ata_port, ata_link, and ata_device). To facilitate that the name of the 'ata_port' object changes from 'ata' to 'port'. To provide backwards compability I've added config option CONFIG_ATA_SYSFS_COMPAT to create a compat symlink in the PCI sysfs device directory with the name of 'ata'. As usual, comments and reviews are welcome. Changes to v2: - Dropped patch to change PMP naming - created compability symlink instead of full sysfs objects Hannes Reinecke (2): libata: rework sysfs naming libata: CONFIG_ATA_SYSFS_COMPAT drivers/ata/Kconfig | 10 +++++++ drivers/ata/libata-transport.c | 41 ++++++++++++++++++++++++-- include/linux/libata.h | 54 ++++++++++------------------------ 3 files changed, 64 insertions(+), 41 deletions(-) -- 2.29.2