There are two messages in driver code which are not correct.
Fix both of them to clarify boot runs.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mt7621_reset_port(port);
val = read_config(pcie, slot, PCIE_FTS_NUM);
- dev_info(dev, "Port %d N_FTS = %x\n", (unsigned int)val, slot);
+ dev_info(dev, "Port %d N_FTS = %x\n", slot, (unsigned int)val);
err = phy_init(port->phy);
if (err) {
port->slot);
continue;
}
- dev_info(dev, "PCIE%d enabled\n", slot);
+ dev_info(dev, "PCIE%d enabled\n", num_slots_enabled);
num_slots_enabled++;
}
}