diff options
author | Rob Herring <robh@kernel.org> | 2023-07-10 11:40:07 -0600 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-07-11 16:33:01 -0600 |
commit | 0bb8f49cd2cc8cb32ac51189ff9fcbe7ec3d9d65 (patch) | |
tree | 96b939dba03481fef77310dca480f787407e24d8 /net | |
parent | 7e08baf6a89c8758050a3593aedc949f44fe3413 (diff) | |
download | linux-stable-0bb8f49cd2cc8cb32ac51189ff9fcbe7ec3d9d65.tar.gz linux-stable-0bb8f49cd2cc8cb32ac51189ff9fcbe7ec3d9d65.tar.bz2 linux-stable-0bb8f49cd2cc8cb32ac51189ff9fcbe7ec3d9d65.zip |
of: Preserve "of-display" device name for compatibility
Since commit 241d2fb56a18 ("of: Make OF framebuffer device names unique"),
as spotted by Frédéric Bonnard, the historical "of-display" device is
gone: the updated logic creates "of-display.0" instead, then as many
"of-display.N" as required.
This means that offb no longer finds the expected device, which prevents
the Debian Installer from setting up its interface, at least on ppc64el.
Fix this by keeping "of-display" for the first device and "of-display.N"
for subsequent devices.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217328
Link: https://bugs.debian.org/1033058
Fixes: 241d2fb56a18 ("of: Make OF framebuffer device names unique")
Cc: stable@vger.kernel.org
Cc: Cyril Brulebois <cyril@debamax.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Helge Deller <deller@gmx.de>
Acked-by: Helge Deller <deller@gmx.de>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Michal Suchánek <msuchanek@suse.de>
Link: https://lore.kernel.org/r/20230710174007.2291013-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions