diff options
Diffstat (limited to 'drivers/infiniband/hw/qib')
-rw-r--r-- | drivers/infiniband/hw/qib/qib.h | 2 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_file_ops.c | 4 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba6120.c | 4 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba7220.c | 6 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba7322.c | 8 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_init.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_mad.h | 2 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_twsi.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_ud.c | 4 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_user_sdma.c | 2 |
10 files changed, 18 insertions, 18 deletions
diff --git a/drivers/infiniband/hw/qib/qib.h b/drivers/infiniband/hw/qib/qib.h index 73225eee3cc6..769a1d9da4b7 100644 --- a/drivers/infiniband/hw/qib/qib.h +++ b/drivers/infiniband/hw/qib/qib.h | |||
@@ -653,7 +653,7 @@ struct diag_observer_list_elt; | |||
653 | 653 | ||
654 | /* device data struct now contains only "general per-device" info. | 654 | /* device data struct now contains only "general per-device" info. |
655 | * fields related to a physical IB port are in a qib_pportdata struct, | 655 | * fields related to a physical IB port are in a qib_pportdata struct, |
656 | * described above) while fields only used by a particualr chip-type are in | 656 | * described above) while fields only used by a particular chip-type are in |
657 | * a qib_chipdata struct, whose contents are opaque to this file. | 657 | * a qib_chipdata struct, whose contents are opaque to this file. |
658 | */ | 658 | */ |
659 | struct qib_devdata { | 659 | struct qib_devdata { |
diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c index 75bfad16c114..406fca50d036 100644 --- a/drivers/infiniband/hw/qib/qib_file_ops.c +++ b/drivers/infiniband/hw/qib/qib_file_ops.c | |||
@@ -1539,7 +1539,7 @@ done_chk_sdma: | |||
1539 | 1539 | ||
1540 | /* | 1540 | /* |
1541 | * If process has NOT already set it's affinity, select and | 1541 | * If process has NOT already set it's affinity, select and |
1542 | * reserve a processor for it, as a rendevous for all | 1542 | * reserve a processor for it, as a rendezvous for all |
1543 | * users of the driver. If they don't actually later | 1543 | * users of the driver. If they don't actually later |
1544 | * set affinity to this cpu, or set it to some other cpu, | 1544 | * set affinity to this cpu, or set it to some other cpu, |
1545 | * it just means that sooner or later we don't recommend | 1545 | * it just means that sooner or later we don't recommend |
@@ -1657,7 +1657,7 @@ static int qib_do_user_init(struct file *fp, | |||
1657 | * 0 to 1. So for those chips, we turn it off and then back on. | 1657 | * 0 to 1. So for those chips, we turn it off and then back on. |
1658 | * This will (very briefly) affect any other open ctxts, but the | 1658 | * This will (very briefly) affect any other open ctxts, but the |
1659 | * duration is very short, and therefore isn't an issue. We | 1659 | * duration is very short, and therefore isn't an issue. We |
1660 | * explictly set the in-memory tail copy to 0 beforehand, so we | 1660 | * explicitly set the in-memory tail copy to 0 beforehand, so we |
1661 | * don't have to wait to be sure the DMA update has happened | 1661 | * don't have to wait to be sure the DMA update has happened |
1662 | * (chip resets head/tail to 0 on transition to enable). | 1662 | * (chip resets head/tail to 0 on transition to enable). |
1663 | */ | 1663 | */ |
diff --git a/drivers/infiniband/hw/qib/qib_iba6120.c b/drivers/infiniband/hw/qib/qib_iba6120.c index 774dea897e9c..7de4b7ebffc5 100644 --- a/drivers/infiniband/hw/qib/qib_iba6120.c +++ b/drivers/infiniband/hw/qib/qib_iba6120.c | |||
@@ -1799,7 +1799,7 @@ static int qib_6120_setup_reset(struct qib_devdata *dd) | |||
1799 | /* | 1799 | /* |
1800 | * Keep chip from being accessed until we are ready. Use | 1800 | * Keep chip from being accessed until we are ready. Use |
1801 | * writeq() directly, to allow the write even though QIB_PRESENT | 1801 | * writeq() directly, to allow the write even though QIB_PRESENT |
1802 | * isnt' set. | 1802 | * isn't' set. |
1803 | */ | 1803 | */ |
1804 | dd->flags &= ~(QIB_INITTED | QIB_PRESENT); | 1804 | dd->flags &= ~(QIB_INITTED | QIB_PRESENT); |
1805 | dd->int_counter = 0; /* so we check interrupts work again */ | 1805 | dd->int_counter = 0; /* so we check interrupts work again */ |
@@ -2171,7 +2171,7 @@ static void rcvctrl_6120_mod(struct qib_pportdata *ppd, unsigned int op, | |||
2171 | * Init the context registers also; if we were | 2171 | * Init the context registers also; if we were |
2172 | * disabled, tail and head should both be zero | 2172 | * disabled, tail and head should both be zero |
2173 | * already from the enable, but since we don't | 2173 | * already from the enable, but since we don't |
2174 | * know, we have to do it explictly. | 2174 | * know, we have to do it explicitly. |
2175 | */ | 2175 | */ |
2176 | val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt); | 2176 | val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt); |
2177 | qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt); | 2177 | qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt); |
diff --git a/drivers/infiniband/hw/qib/qib_iba7220.c b/drivers/infiniband/hw/qib/qib_iba7220.c index de799f17cb9e..74fe0360bec7 100644 --- a/drivers/infiniband/hw/qib/qib_iba7220.c +++ b/drivers/infiniband/hw/qib/qib_iba7220.c | |||
@@ -2111,7 +2111,7 @@ static int qib_setup_7220_reset(struct qib_devdata *dd) | |||
2111 | /* | 2111 | /* |
2112 | * Keep chip from being accessed until we are ready. Use | 2112 | * Keep chip from being accessed until we are ready. Use |
2113 | * writeq() directly, to allow the write even though QIB_PRESENT | 2113 | * writeq() directly, to allow the write even though QIB_PRESENT |
2114 | * isnt' set. | 2114 | * isn't' set. |
2115 | */ | 2115 | */ |
2116 | dd->flags &= ~(QIB_INITTED | QIB_PRESENT); | 2116 | dd->flags &= ~(QIB_INITTED | QIB_PRESENT); |
2117 | dd->int_counter = 0; /* so we check interrupts work again */ | 2117 | dd->int_counter = 0; /* so we check interrupts work again */ |
@@ -2479,7 +2479,7 @@ static int qib_7220_set_ib_cfg(struct qib_pportdata *ppd, int which, u32 val) | |||
2479 | * we command the link down. As with width, only write the | 2479 | * we command the link down. As with width, only write the |
2480 | * actual register if the link is currently down, otherwise | 2480 | * actual register if the link is currently down, otherwise |
2481 | * takes effect on next link change. Since setting is being | 2481 | * takes effect on next link change. Since setting is being |
2482 | * explictly requested (via MAD or sysfs), clear autoneg | 2482 | * explicitly requested (via MAD or sysfs), clear autoneg |
2483 | * failure status if speed autoneg is enabled. | 2483 | * failure status if speed autoneg is enabled. |
2484 | */ | 2484 | */ |
2485 | ppd->link_speed_enabled = val; | 2485 | ppd->link_speed_enabled = val; |
@@ -2778,7 +2778,7 @@ static void rcvctrl_7220_mod(struct qib_pportdata *ppd, unsigned int op, | |||
2778 | * Init the context registers also; if we were | 2778 | * Init the context registers also; if we were |
2779 | * disabled, tail and head should both be zero | 2779 | * disabled, tail and head should both be zero |
2780 | * already from the enable, but since we don't | 2780 | * already from the enable, but since we don't |
2781 | * know, we have to do it explictly. | 2781 | * know, we have to do it explicitly. |
2782 | */ | 2782 | */ |
2783 | val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt); | 2783 | val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt); |
2784 | qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt); | 2784 | qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt); |
diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c index 4a2d21e15a70..55de3cf3441c 100644 --- a/drivers/infiniband/hw/qib/qib_iba7322.c +++ b/drivers/infiniband/hw/qib/qib_iba7322.c | |||
@@ -3299,7 +3299,7 @@ static int qib_do_7322_reset(struct qib_devdata *dd) | |||
3299 | /* | 3299 | /* |
3300 | * Keep chip from being accessed until we are ready. Use | 3300 | * Keep chip from being accessed until we are ready. Use |
3301 | * writeq() directly, to allow the write even though QIB_PRESENT | 3301 | * writeq() directly, to allow the write even though QIB_PRESENT |
3302 | * isnt' set. | 3302 | * isn't' set. |
3303 | */ | 3303 | */ |
3304 | dd->flags &= ~(QIB_INITTED | QIB_PRESENT | QIB_BADINTR); | 3304 | dd->flags &= ~(QIB_INITTED | QIB_PRESENT | QIB_BADINTR); |
3305 | dd->flags |= QIB_DOING_RESET; | 3305 | dd->flags |= QIB_DOING_RESET; |
@@ -3727,7 +3727,7 @@ static int qib_7322_set_ib_cfg(struct qib_pportdata *ppd, int which, u32 val) | |||
3727 | /* | 3727 | /* |
3728 | * As with width, only write the actual register if the | 3728 | * As with width, only write the actual register if the |
3729 | * link is currently down, otherwise takes effect on next | 3729 | * link is currently down, otherwise takes effect on next |
3730 | * link change. Since setting is being explictly requested | 3730 | * link change. Since setting is being explicitly requested |
3731 | * (via MAD or sysfs), clear autoneg failure status if speed | 3731 | * (via MAD or sysfs), clear autoneg failure status if speed |
3732 | * autoneg is enabled. | 3732 | * autoneg is enabled. |
3733 | */ | 3733 | */ |
@@ -4163,7 +4163,7 @@ static void rcvctrl_7322_mod(struct qib_pportdata *ppd, unsigned int op, | |||
4163 | * Init the context registers also; if we were | 4163 | * Init the context registers also; if we were |
4164 | * disabled, tail and head should both be zero | 4164 | * disabled, tail and head should both be zero |
4165 | * already from the enable, but since we don't | 4165 | * already from the enable, but since we don't |
4166 | * know, we have to do it explictly. | 4166 | * know, we have to do it explicitly. |
4167 | */ | 4167 | */ |
4168 | val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt); | 4168 | val = qib_read_ureg32(dd, ur_rcvegrindextail, ctxt); |
4169 | qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt); | 4169 | qib_write_ureg(dd, ur_rcvegrindexhead, val, ctxt); |
@@ -7483,7 +7483,7 @@ static int serdes_7322_init_new(struct qib_pportdata *ppd) | |||
7483 | /* Baseline Wander Correction Gain [13:4-0] (leave as default) */ | 7483 | /* Baseline Wander Correction Gain [13:4-0] (leave as default) */ |
7484 | /* Baseline Wander Correction Gain [3:7-5] (leave as default) */ | 7484 | /* Baseline Wander Correction Gain [3:7-5] (leave as default) */ |
7485 | /* Data Rate Select [5:7-6] (leave as default) */ | 7485 | /* Data Rate Select [5:7-6] (leave as default) */ |
7486 | /* RX Parralel Word Width [3:10-8] (leave as default) */ | 7486 | /* RX Parallel Word Width [3:10-8] (leave as default) */ |
7487 | 7487 | ||
7488 | /* RX REST */ | 7488 | /* RX REST */ |
7489 | /* Single- or Multi-channel reset */ | 7489 | /* Single- or Multi-channel reset */ |
diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index ffefb78b8949..a01f3fce8eb3 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c | |||
@@ -346,7 +346,7 @@ done: | |||
346 | * @dd: the qlogic_ib device | 346 | * @dd: the qlogic_ib device |
347 | * | 347 | * |
348 | * sanity check at least some of the values after reset, and | 348 | * sanity check at least some of the values after reset, and |
349 | * ensure no receive or transmit (explictly, in case reset | 349 | * ensure no receive or transmit (explicitly, in case reset |
350 | * failed | 350 | * failed |
351 | */ | 351 | */ |
352 | static int init_after_reset(struct qib_devdata *dd) | 352 | static int init_after_reset(struct qib_devdata *dd) |
diff --git a/drivers/infiniband/hw/qib/qib_mad.h b/drivers/infiniband/hw/qib/qib_mad.h index 147aff9117d7..7840ab593bcf 100644 --- a/drivers/infiniband/hw/qib/qib_mad.h +++ b/drivers/infiniband/hw/qib/qib_mad.h | |||
@@ -73,7 +73,7 @@ struct ib_mad_notice_attr { | |||
73 | 73 | ||
74 | struct { | 74 | struct { |
75 | __be16 reserved; | 75 | __be16 reserved; |
76 | __be16 lid; /* LID where change occured */ | 76 | __be16 lid; /* LID where change occurred */ |
77 | u8 reserved2; | 77 | u8 reserved2; |
78 | u8 local_changes; /* low bit - local changes */ | 78 | u8 local_changes; /* low bit - local changes */ |
79 | __be32 new_cap_mask; /* new capability mask */ | 79 | __be32 new_cap_mask; /* new capability mask */ |
diff --git a/drivers/infiniband/hw/qib/qib_twsi.c b/drivers/infiniband/hw/qib/qib_twsi.c index 6f31ca5039db..ddde72e11edb 100644 --- a/drivers/infiniband/hw/qib/qib_twsi.c +++ b/drivers/infiniband/hw/qib/qib_twsi.c | |||
@@ -41,7 +41,7 @@ | |||
41 | * QLogic_IB "Two Wire Serial Interface" driver. | 41 | * QLogic_IB "Two Wire Serial Interface" driver. |
42 | * Originally written for a not-quite-i2c serial eeprom, which is | 42 | * Originally written for a not-quite-i2c serial eeprom, which is |
43 | * still used on some supported boards. Later boards have added a | 43 | * still used on some supported boards. Later boards have added a |
44 | * variety of other uses, most board-specific, so teh bit-boffing | 44 | * variety of other uses, most board-specific, so the bit-boffing |
45 | * part has been split off to this file, while the other parts | 45 | * part has been split off to this file, while the other parts |
46 | * have been moved to chip-specific files. | 46 | * have been moved to chip-specific files. |
47 | * | 47 | * |
diff --git a/drivers/infiniband/hw/qib/qib_ud.c b/drivers/infiniband/hw/qib/qib_ud.c index 4a51fd1e9cb7..828609fa4d28 100644 --- a/drivers/infiniband/hw/qib/qib_ud.c +++ b/drivers/infiniband/hw/qib/qib_ud.c | |||
@@ -116,7 +116,7 @@ static void qib_ud_loopback(struct qib_qp *sqp, struct qib_swqe *swqe) | |||
116 | } | 116 | } |
117 | 117 | ||
118 | /* | 118 | /* |
119 | * A GRH is expected to preceed the data even if not | 119 | * A GRH is expected to precede the data even if not |
120 | * present on the wire. | 120 | * present on the wire. |
121 | */ | 121 | */ |
122 | length = swqe->length; | 122 | length = swqe->length; |
@@ -520,7 +520,7 @@ void qib_ud_rcv(struct qib_ibport *ibp, struct qib_ib_header *hdr, | |||
520 | goto drop; | 520 | goto drop; |
521 | 521 | ||
522 | /* | 522 | /* |
523 | * A GRH is expected to preceed the data even if not | 523 | * A GRH is expected to precede the data even if not |
524 | * present on the wire. | 524 | * present on the wire. |
525 | */ | 525 | */ |
526 | wc.byte_len = tlen + sizeof(struct ib_grh); | 526 | wc.byte_len = tlen + sizeof(struct ib_grh); |
diff --git a/drivers/infiniband/hw/qib/qib_user_sdma.c b/drivers/infiniband/hw/qib/qib_user_sdma.c index 66208bcd7c13..82442085cbe6 100644 --- a/drivers/infiniband/hw/qib/qib_user_sdma.c +++ b/drivers/infiniband/hw/qib/qib_user_sdma.c | |||
@@ -239,7 +239,7 @@ static int qib_user_sdma_num_pages(const struct iovec *iov) | |||
239 | } | 239 | } |
240 | 240 | ||
241 | /* | 241 | /* |
242 | * Truncate length to page boundry. | 242 | * Truncate length to page boundary. |
243 | */ | 243 | */ |
244 | static int qib_user_sdma_page_length(unsigned long addr, unsigned long len) | 244 | static int qib_user_sdma_page_length(unsigned long addr, unsigned long len) |
245 | { | 245 | { |