mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 18:42:25 -04:00
ionic: link in the new hw timestamp code
These are changes to compile and link the new code, but no new feature support is available or advertised yet. Signed-off-by: Allen Hubbe <allenbh@pensando.io> Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
fee6efce56
commit
61db421da3
@@ -79,6 +79,8 @@ int ionic_dev_setup(struct ionic *ionic)
|
||||
idev->intr_status = bar->vaddr + IONIC_BAR0_INTR_STATUS_OFFSET;
|
||||
idev->intr_ctrl = bar->vaddr + IONIC_BAR0_INTR_CTRL_OFFSET;
|
||||
|
||||
idev->hwstamp_regs = &idev->dev_info_regs->hwstamp;
|
||||
|
||||
sig = ioread32(&idev->dev_info_regs->signature);
|
||||
if (sig != IONIC_DEV_INFO_SIGNATURE) {
|
||||
dev_err(dev, "Incompatible firmware signature %x", sig);
|
||||
|
||||
Reference in New Issue
Block a user