Commit 89c3b37a authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull IDE update from David Miller:
 "Finally deprecate the legacy IDE layer"

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide:
  ide: officially deprecated the legacy IDE driver
parents 92fab77b 7ad19a99
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;