diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index 2530686f6893..a8a56276ff1d 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h | |||
@@ -503,6 +503,8 @@ struct ipath_devdata { | |||
503 | u8 ipath_pci_cacheline; | 503 | u8 ipath_pci_cacheline; |
504 | /* LID mask control */ | 504 | /* LID mask control */ |
505 | u8 ipath_lmc; | 505 | u8 ipath_lmc; |
506 | /* Rx Polarity inversion (compensate for ~tx on partner) */ | ||
507 | u8 ipath_rx_pol_inv; | ||
506 | 508 | ||
507 | /* local link integrity counter */ | 509 | /* local link integrity counter */ |
508 | u32 ipath_lli_counter; | 510 | u32 ipath_lli_counter; |
@@ -567,6 +569,7 @@ void ipath_get_faststats(unsigned long); | |||
567 | int ipath_set_linkstate(struct ipath_devdata *, u8); | 569 | int ipath_set_linkstate(struct ipath_devdata *, u8); |
568 | int ipath_set_mtu(struct ipath_devdata *, u16); | 570 | int ipath_set_mtu(struct ipath_devdata *, u16); |
569 | int ipath_set_lid(struct ipath_devdata *, u32, u8); | 571 | int ipath_set_lid(struct ipath_devdata *, u32, u8); |
572 | int ipath_set_rx_pol_inv(struct ipath_devdata *dd, u8 new_pol_inv); | ||
570 | 573 | ||
571 | /* for use in system calls, where we want to know device type, etc. */ | 574 | /* for use in system calls, where we want to know device type, etc. */ |
572 | #define port_fp(fp) ((struct ipath_portdata *) (fp)->private_data) | 575 | #define port_fp(fp) ((struct ipath_portdata *) (fp)->private_data) |