Remove contractions.
Approved by: jimharris Sponsored by: Intel
This commit is contained in:
parent
538779c1a0
commit
2a6e50d2ce
@ -104,7 +104,7 @@ struct ntb_transport_qp {
|
||||
|
||||
bool client_ready;
|
||||
bool qp_link;
|
||||
uint8_t qp_num; /* Only 64 QP's are allowed. 0-63 */
|
||||
uint8_t qp_num; /* Only 64 QPs are allowed. 0-63 */
|
||||
|
||||
struct ntb_rx_info *rx_info;
|
||||
struct ntb_rx_info *remote_rx_info;
|
||||
@ -297,7 +297,7 @@ ntb_setup_interface()
|
||||
|
||||
net_softc.ntb = devclass_get_softc(devclass_find("ntb_hw"), 0);
|
||||
if (net_softc.ntb == NULL) {
|
||||
printf("ntb: Can't find devclass\n");
|
||||
printf("ntb: Cannot find devclass\n");
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
@ -410,7 +410,7 @@ ntb_start(struct ifnet *ifp)
|
||||
m_length(m_head, NULL));
|
||||
if (rc != 0) {
|
||||
CTR1(KTR_NTB,
|
||||
"TX: couldn't tx mbuf %p. Returning to snd q",
|
||||
"TX: could not tx mbuf %p. Returning to snd q",
|
||||
m_head);
|
||||
if (rc == EAGAIN) {
|
||||
ifp->if_drv_flags |= IFF_DRV_OACTIVE;
|
||||
@ -505,7 +505,7 @@ ntb_transport_free(void *transport)
|
||||
|
||||
callout_drain(&nt->link_work);
|
||||
|
||||
/* verify that all the qp's are freed */
|
||||
/* verify that all the qps are freed */
|
||||
for (i = 0; i < nt->max_qps; i++)
|
||||
if (!test_bit(i, &nt->qp_bitmap))
|
||||
ntb_transport_free_queue(&nt->qps[i]);
|
||||
@ -719,7 +719,7 @@ ntb_transport_tx_enqueue(struct ntb_transport_qp *qp, void *cb, void *data,
|
||||
|
||||
entry = ntb_list_rm(&qp->ntb_tx_free_q_lock, &qp->tx_free_q);
|
||||
if (entry == NULL) {
|
||||
CTR0(KTR_NTB, "TX: couldn't get entry from tx_free_q");
|
||||
CTR0(KTR_NTB, "TX: could not get entry from tx_free_q");
|
||||
return (ENOMEM);
|
||||
}
|
||||
CTR1(KTR_NTB, "TX: got entry %p from tx_free_q", entry);
|
||||
|
@ -842,7 +842,7 @@ configure_xeon_secondary_side_bars(struct ntb_softc *ntb)
|
||||
}
|
||||
}
|
||||
|
||||
/* SOC doesn't have link status interrupt, poll on that platform */
|
||||
/* SOC does not have link status interrupt, poll on that platform */
|
||||
static void
|
||||
ntb_handle_heartbeat(void *arg)
|
||||
{
|
||||
@ -935,7 +935,7 @@ ntb_handle_link_event(struct ntb_softc *ntb, int link_state)
|
||||
device_printf(ntb->device, "Link Down\n");
|
||||
ntb->link_status = NTB_LINK_DOWN;
|
||||
event = NTB_EVENT_HW_LINK_DOWN;
|
||||
/* Don't modify link width/speed, we need it in link recovery */
|
||||
/* Do not modify link width/speed, we need it in link recovery */
|
||||
}
|
||||
|
||||
/* notify the upper layer if we have an event change */
|
||||
|
Loading…
x
Reference in New Issue
Block a user