s390/tape: Fix device driver name
authorJan Höppner <hoeppner@linux.ibm.com>
Thu, 19 Feb 2026 11:05:53 +0000 (12:05 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 19 Feb 2026 14:28:00 +0000 (15:28 +0100)
Recent cleanups and code consolidations in the s390 tape device driver
renamed files and function namespaces from tape_34xx to tape_3490 to
better reflect the single support of the IBM 3490E device in the
codebase.

These changes also renamed the driver name to tape_3490, which
consequently broke userspace as the sysfs driver path is now
/sys/bus/ccw/drivers/tape_3490/ instead of
/sys/bus/ccw/drivers/tape_34xx/.

Change the device driver name back to tape_34xx to fix userspace.

Fixes: 9872dae6102e ("s390/tape: Rename tape_34xx.c to tape_3490.c")
Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Tested-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/tape_3490.c

index c4ea32a..7302f11 100644 (file)
@@ -784,7 +784,7 @@ tape_3490_online(struct ccw_device *cdev)
 
 static struct ccw_driver tape_3490_driver = {
        .driver = {
-               .name = "tape_3490",
+               .name = "tape_34xx",
                .owner = THIS_MODULE,
        },
        .ids = tape_3490_ids,