NTB: ntb_hw_idt: Set NTB_TOPO_SWITCH topology
PATCH 1/1 NTB: ntb_hw_idt: Set NTB_TOPO_SWITCH topology
Since Switchtec patch there has been a new topology added to the NTB API. It's called NTB_TOPO_SWITCH and dedicated for PCIe switch chips. Even though topo field isn't used within the IDT driver much, lets set it for the sake of unification.
--- drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ntb/hw/idt/ntb_hw_idt.c +1 -1
@@ -2070,7 +2070,7 @@ static int idt_register_device(struct idt_ntb_dev *ndev)/* Initialize the rest of NTB device structure and register it */ ndev->ntb.ops = &idt_ntb_ops; - ndev->ntb.topo =NTB_TOPO_PRI ; + ndev->ntb.topo =NTB_TOPO_SWITCH ; ret =ntb_register_device (&ndev->ntb);if (ret !=0 ) {
Signature · 1 line
2.12.0
Quoted 7 lines · Serge Semin
Since Switchtec patch there has been a new topology added to the NTB API. It's called
NTB_TOPO_SWITCHand dedicated for PCIe switch chips. Even though topo field isn't used within the IDT driver much, lets set it for the sake of unification.Signed-off-by Serge Semin <[email protected]>Acked-by Serge Semin <[email protected]>
You don't need to Ack your own patches ;)
Quoted 8 lines · Logan Gunthorpe
Quoted 5 lines · Serge Semin
Since Switchtec patch there has been a new topology added to the NTB API. It's called
NTB_TOPO_SWITCHand dedicated for PCIe switch chips. Even though topo field isn't used within the IDT driver much, lets set it for the sake of unification.
Quoted 5 lines
Quoted 2 lines
Signed-off-by Serge Semin <[email protected]>Acked-by Serge Semin <[email protected]>You don't need to Ack your own patches ;)
It goes to the subsystem maintained by me. I tested the change, so am responsible for the results.
Quoted 8 lines
Reviewed-by Logan Gunthorpe <[email protected]>Signature · 5 lines
You received this message because you are subscribed to the Google Groups "linux-ntb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/linux-ntb/05386287-e0c2-5dd3-4e9b-6f64c61f8405%40deltatee.com. For more options, visit https://groups.google.com/d/optout.
Quoted 8 lines · Serge Semin
Quoted 5 lines
Quoted 2 lines
Signed-off-by Serge Semin <[email protected]>Acked-by Serge Semin <[email protected]>You don't need to Ack your own patches ;)
It goes to the subsystem maintained by me. I tested the change, so am responsible for the results.
Yes, but it goes without saying that a patch you wrote, you ack.
Logan