IB/qib: Remove IB latency turnoff
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Tue, 11 Jan 2011 01:42:19 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:19 +0000 (17:42 -0800)
This is required for hardware testing.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_iba7322.c

index 584d443..9031cd8 100644 (file)
@@ -7271,8 +7271,6 @@ static int serdes_7322_init(struct qib_pportdata *ppd)
        ibsd_wr_allchans(ppd, 20, (4 << 13), BMASK(15, 13)); /* SDR */
 
        data = qib_read_kreg_port(ppd, krp_serdesctrl);
-       /* Turn off IB latency mode */
-       data &= ~SYM_MASK(IBSerdesCtrl_0, IB_LAT_MODE);
        qib_write_kreg_port(ppd, krp_serdesctrl, data |
                SYM_MASK(IBSerdesCtrl_0, RXLOSEN));