summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-30 00:26:38 +0000
committerpfg <pfg@FreeBSD.org>2016-04-30 00:26:38 +0000
commit3a9fc3c9d551a96758e6a8f5ef579640c8faee84 (patch)
tree43c11f9671a081b7623d4359fca6d559b4dc78fd /sys/boot/i386
parent979921fbb70543a572272cdbcdeb037ddb836af4 (diff)
downloadFreeBSD-src-3a9fc3c9d551a96758e6a8f5ef579640c8faee84.zip
FreeBSD-src-3a9fc3c9d551a96758e6a8f5ef579640c8faee84.tar.gz
sys/boot: spelling fixes in comments.
No functional change.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/libfirewire/dconsole.c2
-rw-r--r--sys/boot/i386/libfirewire/fwohci.c4
-rw-r--r--sys/boot/i386/libi386/amd64_tramp.S2
-rw-r--r--sys/boot/i386/libi386/pxe.h6
-rw-r--r--sys/boot/i386/zfsboot/zfsboot.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/sys/boot/i386/libfirewire/dconsole.c b/sys/boot/i386/libfirewire/dconsole.c
index 16645e2..1528faf 100644
--- a/sys/boot/i386/libfirewire/dconsole.c
+++ b/sys/boot/i386/libfirewire/dconsole.c
@@ -53,7 +53,7 @@ uint32_t dcons_paddr;
* that is mapped at the very early boot state.
* - We expect identiy map only for regions before KERNLOAD
* (i386:4MB amd64:1MB).
- * - It seems that heap in conventional memory(640KB) is not sufficent
+ * - It seems that heap in conventional memory(640KB) is not sufficient
* and we move it to high address as LOADER_SUPPORT_BZIP2.
* - BSS is placed in conventional memory.
*/
diff --git a/sys/boot/i386/libfirewire/fwohci.c b/sys/boot/i386/libfirewire/fwohci.c
index 326e44b..567abcf 100644
--- a/sys/boot/i386/libfirewire/fwohci.c
+++ b/sys/boot/i386/libfirewire/fwohci.c
@@ -217,7 +217,7 @@ fwohci_reset(struct fwohci_softc *sc, device_t dev)
/* Disable interrupts */
OWRITE(sc, FWOHCI_INTMASKCLR, ~0);
- /* FLUSH FIFO and reset Transmitter/Reciever */
+ /* FLUSH FIFO and reset Transmitter/Receiver */
OWRITE(sc, OHCI_HCCCTL, OHCI_HCC_RESET);
if (firewire_debug)
device_printf(dev, "resetting OHCI...");
@@ -297,7 +297,7 @@ fwohci_init(struct fwohci_softc *sc, device_t dev)
return (ENXIO);
#if 0
-/* SID recieve buffer must align 2^11 */
+/* SID receive buffer must align 2^11 */
#define OHCI_SIDSIZE (1 << 11)
sc->sid_buf = fwdma_malloc(&sc->fc, OHCI_SIDSIZE, OHCI_SIDSIZE,
&sc->sid_dma, BUS_DMA_WAITOK);
diff --git a/sys/boot/i386/libi386/amd64_tramp.S b/sys/boot/i386/libi386/amd64_tramp.S
index fe0cf83..6359b90 100644
--- a/sys/boot/i386/libi386/amd64_tramp.S
+++ b/sys/boot/i386/libi386/amd64_tramp.S
@@ -96,7 +96,7 @@ amd64_tramp:
orl $CR0_PG, %eax
movl %eax, %cr0
- /* Now we're in compatability mode. set %cs for long mode */
+ /* Now we're in compatibility mode. set %cs for long mode */
movl $VTOP(gdtdesc), %eax
movl VTOP(entry_hi), %esi
movl VTOP(entry_lo), %edi
diff --git a/sys/boot/i386/libi386/pxe.h b/sys/boot/i386/libi386/pxe.h
index 651bdcd..9729562 100644
--- a/sys/boot/i386/libi386/pxe.h
+++ b/sys/boot/i386/libi386/pxe.h
@@ -226,7 +226,7 @@ typedef struct {
#define PXENV_UNDI_SET_STATION_ADDRESS 0x000A
typedef struct {
PXENV_STATUS_t Status;
- MAC_ADDR StationAddress; /* Temp MAC addres to use */
+ MAC_ADDR StationAddress; /* Temp MAC address to use */
} PACKED t_PXENV_UNDI_SET_STATION_ADDR;
#define PXENV_UNDI_SET_PACKET_FILTER 0x000B
@@ -330,7 +330,7 @@ typedef struct {
PXENV_STATUS_t Status;
uint16_t FuncFlag; /* PXENV_UNDI_ISR_OUT_xxx */
uint16_t BufferLength; /* Length of Frame */
- uint16_t FrameLength; /* Total length of reciever frame */
+ uint16_t FrameLength; /* Total length of receiver frame */
uint16_t FrameHeaderLength; /* Length of the media header in Frame */
SEGOFF16_t Frame; /* receive buffer */
uint8_t ProtType; /* Protocol type */
@@ -344,7 +344,7 @@ typedef struct {
# define PXENV_UNDI_ISR_OUT_NOT_OUTS 1
/*
- * one of these will bre returnd for PXEND_UNDI_ISR_IN_PROCESS
+ * one of these will bre returned for PXEND_UNDI_ISR_IN_PROCESS
* and PXENV_UNDI_ISR_IN_GET_NEXT
*/
# define PXENV_UNDI_ISR_OUT_DONE 0
diff --git a/sys/boot/i386/zfsboot/zfsboot.c b/sys/boot/i386/zfsboot/zfsboot.c
index 71d6cfa..928e41a 100644
--- a/sys/boot/i386/zfsboot/zfsboot.c
+++ b/sys/boot/i386/zfsboot/zfsboot.c
@@ -451,7 +451,7 @@ probe_drive(struct dsk *dsk)
}
/*
- * Probe all GPT partitions for the presense of ZFS pools. We
+ * Probe all GPT partitions for the presence of ZFS pools. We
* return the spa_t for the first we find (if requested). This
* will have the effect of booting from the first pool on the
* disk.
OpenPOWER on IntegriCloud