diff options
author | Olli Salonen <olli.salonen@iki.fi> | 2016-03-09 17:38:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-07 09:27:18 -0400 |
commit | 9b8537de47f4a4fbca571a393d36ba725c9795f7 (patch) | |
tree | aac72df323ea385ce9548f77d51a1f0a134bc42a | |
parent | 0ed8289bd6fff6eda3d57ff09e4b54fd823930ab (diff) |
[media] smipcie: MAC address printout formatting
Modify the printout for MAC address to be more vendor agnostic.
Print also the port number.
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/pci/smipcie/smipcie-main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/pci/smipcie/smipcie-main.c b/drivers/media/pci/smipcie/smipcie-main.c index 993a2d19bd54..4a9275a331b6 100644 --- a/drivers/media/pci/smipcie/smipcie-main.c +++ b/drivers/media/pci/smipcie/smipcie-main.c | |||
@@ -716,7 +716,8 @@ static int smi_fe_init(struct smi_port *port) | |||
716 | /* init MAC.*/ | 716 | /* init MAC.*/ |
717 | ret = smi_read_eeprom(&dev->i2c_bus[0], 0xc0, mac_ee, 16); | 717 | ret = smi_read_eeprom(&dev->i2c_bus[0], 0xc0, mac_ee, 16); |
718 | dev_info(&port->dev->pci_dev->dev, | 718 | dev_info(&port->dev->pci_dev->dev, |
719 | "DVBSky SMI PCIe MAC= %pM\n", mac_ee + (port->idx)*8); | 719 | "%s port %d MAC: %pM\n", dev->info->name, |
720 | port->idx, mac_ee + (port->idx)*8); | ||
720 | memcpy(adap->proposed_mac, mac_ee + (port->idx)*8, 6); | 721 | memcpy(adap->proposed_mac, mac_ee + (port->idx)*8, 6); |
721 | return ret; | 722 | return ret; |
722 | } | 723 | } |