mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
Miscellaneous typo fixes
Submitted by: Gordon Bergling <gbergling_gmail.com> Differential Revision: https://reviews.freebsd.org/D23453
This commit is contained in:
parent
723180da59
commit
5aa0576b33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357664
@ -705,7 +705,7 @@ iavf_if_init(if_ctx_t ctx)
|
||||
}
|
||||
|
||||
/*
|
||||
* iavf_attach() helper function; initalizes the admin queue
|
||||
* iavf_attach() helper function; initializes the admin queue
|
||||
* and attempts to establish contact with the PF by
|
||||
* retrying the initial "API version" message several times
|
||||
* or until the PF responds.
|
||||
|
@ -198,7 +198,7 @@ ether_cmp(void *one, void *two)
|
||||
diff |= *a++ - *b++;
|
||||
#else
|
||||
/*
|
||||
* Most modern CPUs do better with a single expresion.
|
||||
* Most modern CPUs do better with a single expression.
|
||||
* Note that short-cut evaluation is NOT helpful here,
|
||||
* because it just makes the code longer, not faster!
|
||||
*/
|
||||
|
@ -5618,7 +5618,7 @@ dmSubReportRemovals(
|
||||
}
|
||||
|
||||
|
||||
/* this function is called at the end of discovery; reinitalizes oneDeviceData->reported */
|
||||
/* this function is called at the end of discovery; reinitializes oneDeviceData->reported */
|
||||
oneDeviceData->reported = agFALSE;
|
||||
return;
|
||||
}
|
||||
@ -5661,7 +5661,7 @@ dmSubReportChanges(
|
||||
}
|
||||
|
||||
|
||||
/* this function is called at the end of discovery; reinitalizes oneDeviceData->reported */
|
||||
/* this function is called at the end of discovery; reinitializes oneDeviceData->reported */
|
||||
oneDeviceData->reported = agFALSE;
|
||||
return;
|
||||
}
|
||||
|
@ -272,7 +272,7 @@ lpt_port_test(device_t ppbus, u_char data, u_char mask)
|
||||
*
|
||||
* 2) You should be able to write to and read back the same value
|
||||
* to the control port lower 5 bits, the upper 3 bits are reserved
|
||||
* per the IBM PC technical reference manauls and different boards
|
||||
* per the IBM PC technical reference manuals and different boards
|
||||
* do different things with them. Do an alternating zeros, alternating
|
||||
* ones, walking zero, and walking one test to check for stuck bits.
|
||||
*
|
||||
|
@ -708,7 +708,7 @@ const struct puc_cfg puc_pci_devices[] = {
|
||||
* The Advantech PCI-1602 Rev. A use the first two ports of an Oxford
|
||||
* Semiconductor OXuPCI954. Note these boards have a hardware bug in
|
||||
* that they drive the RS-422/485 transmitters after power-on until a
|
||||
* driver initalizes the UARTs.
|
||||
* driver initializes the UARTs.
|
||||
*/
|
||||
{ 0x13fe, 0x1600, 0x1602, 0x0002,
|
||||
"Advantech PCI-1602 Rev. A",
|
||||
|
@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$");
|
||||
* to send any packets.
|
||||
*
|
||||
* Note that this device appears to only support loading the station
|
||||
* address via autload from the EEPROM (i.e. there's no way to manaully
|
||||
* address via autload from the EEPROM (i.e. there's no way to manually
|
||||
* set it).
|
||||
*
|
||||
* (Adam Weinberger wanted me to name this driver if_gir.c.)
|
||||
|
@ -277,7 +277,7 @@ netdump_dumper(void *priv __unused, void *virtual,
|
||||
}
|
||||
|
||||
/*
|
||||
* Perform any initalization needed prior to transmitting the kernel core.
|
||||
* Perform any initialization needed prior to transmitting the kernel core.
|
||||
*/
|
||||
static int
|
||||
netdump_start(struct dumperinfo *di)
|
||||
|
@ -238,7 +238,7 @@ tcp_update_dsack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end)
|
||||
}
|
||||
j = 0;
|
||||
for (i = 0; i < n; i++) {
|
||||
/* we can end up with a stale inital entry */
|
||||
/* we can end up with a stale initial entry */
|
||||
if (SEQ_LT(saved_blks[i].start, saved_blks[i].end)) {
|
||||
tp->sackblks[j++] = saved_blks[i];
|
||||
}
|
||||
|
@ -5856,7 +5856,7 @@ tcp_bbr_tso_size_check(struct tcp_bbr *bbr, uint32_t cts)
|
||||
/*
|
||||
* Not enough data has been acknowledged to make a
|
||||
* judgement unless we are hardware TLS. Set up
|
||||
* the inital TSO based on if we are sending a
|
||||
* the initial TSO based on if we are sending a
|
||||
* full IW at once or not.
|
||||
*/
|
||||
if (bbr->rc_use_google)
|
||||
@ -12361,7 +12361,7 @@ bbr_output_wtime(struct tcpcb *tp, const struct timeval *tv)
|
||||
if (IS_FASTOPEN(tp->t_flags) &&
|
||||
((tp->t_state == TCPS_SYN_RECEIVED) ||
|
||||
(tp->t_state == TCPS_SYN_SENT)) &&
|
||||
SEQ_GT(tp->snd_max, tp->snd_una) && /* inital SYN or SYN|ACK sent */
|
||||
SEQ_GT(tp->snd_max, tp->snd_una) && /* initial SYN or SYN|ACK sent */
|
||||
(tp->t_rxtshift == 0)) { /* not a retransmit */
|
||||
return (0);
|
||||
}
|
||||
|
@ -598,7 +598,7 @@ struct bbr_control {
|
||||
uint32_t rc_reorder_ts; /* Last time we saw reordering Lock(a) */
|
||||
uint32_t rc_init_rwnd; /* Initial rwnd when we transitioned */
|
||||
/*- ---
|
||||
* used only inital and close
|
||||
* used only initial and close
|
||||
*/
|
||||
uint32_t rc_high_rwnd; /* Highest rwnd seen */
|
||||
uint32_t rc_lowest_rtt; /* Smallest RTT we have seen */
|
||||
|
@ -88,7 +88,7 @@ extern struct enc_xform enc_xform_ccm;
|
||||
|
||||
struct aes_icm_ctx {
|
||||
u_int32_t ac_ek[4*(RIJNDAEL_MAXNR + 1)];
|
||||
/* ac_block is initalized to IV */
|
||||
/* ac_block is initialized to IV */
|
||||
u_int8_t ac_block[AESICM_BLOCKSIZE];
|
||||
int ac_nr;
|
||||
};
|
||||
|
@ -908,7 +908,7 @@ print_mask_arg32(bool (*decoder)(FILE *, uint32_t, uint32_t *), FILE *fp,
|
||||
* Add argument padding to subsequent system calls after Quad
|
||||
* syscall arguments as needed. This used to be done by hand in the
|
||||
* decoded_syscalls table which was ugly and error prone. It is
|
||||
* simpler to do the fixup of offsets at initalization time than when
|
||||
* simpler to do the fixup of offsets at initialization time than when
|
||||
* decoding arguments.
|
||||
*/
|
||||
static void
|
||||
|
@ -51,7 +51,7 @@ NETWORK_INITIALIZED=
|
||||
# initialized and returns success.
|
||||
#
|
||||
# The variables (from variable.subr) used to initialize the network are as
|
||||
# follows (all of which are configured either automatically or manaully):
|
||||
# follows (all of which are configured either automatically or manually):
|
||||
#
|
||||
# VAR_IFCONFIG + device_name (e.g., `ifconfig_em0')
|
||||
# Automatically populated but can be overridden in a script. This
|
||||
|
Loading…
Reference in New Issue
Block a user