File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,8 @@ struct ntb_info_regs {
301301 u8 partition_count ;
302302 u8 partition_id ;
303303 u16 reserved1 ;
304- u64 ep_map ;
304+ u32 ep_map_low ;
305+ u32 ep_map_high ;
305306 u16 requester_id ;
306307 u16 reserved2 ;
307308 u32 reserved3 [4 ];
Original file line number Diff line number Diff line change @@ -904,7 +904,9 @@ static int switchtec_ntb_init_sndev(struct switchtec_ntb *sndev)
904904 tpart_vec <<= 32 ;
905905 tpart_vec |= ioread32 (& sndev -> mmio_ntb -> ntp_info [self ].target_part_low );
906906
907- part_map = ioread64 (& sndev -> mmio_ntb -> ep_map );
907+ part_map = ioread32 (& sndev -> mmio_ntb -> ep_map_high );
908+ part_map <<= 32 ;
909+ part_map |= ioread32 (& sndev -> mmio_ntb -> ep_map_low );
908910 tpart_vec &= part_map ;
909911 part_map &= ~(1 << sndev -> self_partition );
910912
You can’t perform that action at this time.
0 commit comments