ide: officially deprecated the legacy IDE driver
authorChristoph Hellwig <hch@lst.de>
Wed, 8 May 2019 18:01:40 +0000 (20:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2019 23:47:23 +0000 (16:47 -0700)
After a recent chat with Dave we agreed to try to finally kill off the
legacy IDE code base.  Set a two year grace period in which we try
to move everyone over.  There are a few pieces of hardware not
supported by libata yet, but for many of them we aren't even sure
if there are any users.  For those that have users we have usually
found a volunteer to add libata support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-probe.c

index 5aeaca24a28f35a9f11744deeab46f9dcb18745d..4ad82498458143b47b72ce8df4019b796d69a30a 100644 (file)
@@ -1437,6 +1437,9 @@ int ide_host_register(struct ide_host *host, const struct ide_port_info *d,
        ide_hwif_t *hwif, *mate = NULL;
        int i, j = 0;
 
+       pr_warn("legacy IDE will be removed in 2021, please switch to libata\n"
+               "Report any missing HW support to linux-ide@vger.kernel.org\n");
+
        ide_host_for_each_port(i, hwif, host) {
                if (hwif == NULL) {
                        mate = NULL;