IB/hfi1: Move UnsupportedVL bits definitions to the correct header
The UnsupportedVL SendCtrl register bit information is defined in the module rather than the chip register header file. Move the defines to the appropriate header file. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Esse commit está contido em:

commit de
Jason Gunthorpe

pai
6e68c899e6
commit
e04951ebee
@@ -71,14 +71,6 @@ void __cm_reset(struct hfi1_devdata *dd, u64 sendctrl)
|
||||
}
|
||||
}
|
||||
|
||||
/* defined in header release 48 and higher */
|
||||
#ifndef SEND_CTRL_UNSUPPORTED_VL_SHIFT
|
||||
#define SEND_CTRL_UNSUPPORTED_VL_SHIFT 3
|
||||
#define SEND_CTRL_UNSUPPORTED_VL_MASK 0xffull
|
||||
#define SEND_CTRL_UNSUPPORTED_VL_SMASK (SEND_CTRL_UNSUPPORTED_VL_MASK \
|
||||
<< SEND_CTRL_UNSUPPORTED_VL_SHIFT)
|
||||
#endif
|
||||
|
||||
/* global control of PIO send */
|
||||
void pio_send_control(struct hfi1_devdata *dd, int op)
|
||||
{
|
||||
|
Referência em uma nova issue
Block a user