diff options
author | brucec <brucec@FreeBSD.org> | 2011-02-21 09:01:34 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2011-02-21 09:01:34 +0000 |
commit | 6d9b42b4862ca331b22065d875de9cad9da72658 (patch) | |
tree | 1f08a200604ea39c38fc67b8558b5638a6dfba0d /sys | |
parent | 879ce9c16d5491279b3bcbf139b4b4a967fb3fab (diff) | |
download | FreeBSD-src-6d9b42b4862ca331b22065d875de9cad9da72658.zip FreeBSD-src-6d9b42b4862ca331b22065d875de9cad9da72658.tar.gz |
Fix typos - remove duplicate "the".
PR: bin/154928
Submitted by: Eitan Adler <lists at eitanadler.com>
MFC after: 3 days
Diffstat (limited to 'sys')
67 files changed, 73 insertions, 73 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 5c755cd..c3f9fd9 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -235,7 +235,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, diff --git a/sys/arm/xscale/i80321/iq80321.c b/sys/arm/xscale/i80321/iq80321.c index 7f94879..04ef8b9 100644 --- a/sys/arm/xscale/i80321/iq80321.c +++ b/sys/arm/xscale/i80321/iq80321.c @@ -139,7 +139,7 @@ iq80321_attach(device_t dev) device_get_name(dev)); /* - * We have mapped the the PCI I/O windows in the early + * We have mapped the PCI I/O windows in the early * bootstrap phase. */ sc->sc_iow_vaddr = IQ80321_IOW_VBASE; diff --git a/sys/boot/ficl/words.c b/sys/boot/ficl/words.c index ddeb1af..48e073d 100644 --- a/sys/boot/ficl/words.c +++ b/sys/boot/ficl/words.c @@ -1293,7 +1293,7 @@ static void ifCoIm(FICL_VM *pVM) ** compiles an "else"... ** 1) Compile a branch and a patch address; the address gets patched ** by "endif" to point past the "else" code. -** 2) Pop the the "if" patch address +** 2) Pop the "if" patch address ** 3) Patch the "if" branch to point to the current compile address. ** 4) Push the "else" patch address. ("endif" patches this to jump past ** the "else" code. diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index f603ed8..aa77a18 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -317,7 +317,7 @@ xpt_schedule_dev_allocq(struct cam_eb *bus, struct cam_ed *dev) CAMQ_GET_PRIO(&dev->drvq))) == 0)) { /* * The priority of a device waiting for CCB resources - * is that of the the highest priority peripheral driver + * is that of the highest priority peripheral driver * enqueued. */ retval = xpt_schedule_dev(&bus->sim->devq->alloc_queue, @@ -340,7 +340,7 @@ xpt_schedule_dev_sendq(struct cam_eb *bus, struct cam_ed *dev) (cam_ccbq_frozen_top(&dev->ccbq) == 0)) { /* * The priority of a device waiting for controller - * resources is that of the the highest priority CCB + * resources is that of the highest priority CCB * enqueued. */ retval = diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c index 13871b9..331f9a2 100644 --- a/sys/cam/scsi/scsi_sa.c +++ b/sys/cam/scsi/scsi_sa.c @@ -2654,7 +2654,7 @@ retry: struct scsi_dev_conf_page *cp = &ntcs->dconf; /* * We don't really know whether this device supports - * Data Compression if the the algorithm field is + * Data Compression if the algorithm field is * zero. Just say we do. */ *comp_supported = TRUE; diff --git a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c index f86f535..52da1b7 100644 --- a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c +++ b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c @@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_int type) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: diff --git a/sys/cddl/dev/dtrace/i386/dtrace_subr.c b/sys/cddl/dev/dtrace/i386/dtrace_subr.c index be23808..c5ea277 100644 --- a/sys/cddl/dev/dtrace/i386/dtrace_subr.c +++ b/sys/cddl/dev/dtrace/i386/dtrace_subr.c @@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_int type) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * Check if DTrace has enabled 'no-fault' mode: diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c index 6c449b1..b57145c 100644 --- a/sys/compat/ndis/subr_ntoskrnl.c +++ b/sys/compat/ndis/subr_ntoskrnl.c @@ -3355,7 +3355,7 @@ KeSetEvent(nt_kevent *kevent, uint32_t increment, uint8_t kwait) * setting the state to signalled since we're supposed * to automatically clear synchronization events anyway). * - * If it's a notification event, or the the first + * If it's a notification event, or the first * waiter is doing a WAITTYPE_ALL wait, go through * the full wait satisfaction process. */ diff --git a/sys/dev/advansys/adwcam.c b/sys/dev/advansys/adwcam.c index 7e3b4f4..fdee3fd 100644 --- a/sys/dev/advansys/adwcam.c +++ b/sys/dev/advansys/adwcam.c @@ -1,5 +1,5 @@ /*- - * CAM SCSI interface for the the Advanced Systems Inc. + * CAM SCSI interface for the Advanced Systems Inc. * Second Generation SCSI controllers. * * Product specific probe and attach routines can be found in: diff --git a/sys/dev/aic7xxx/aic79xx_osm.h b/sys/dev/aic7xxx/aic79xx_osm.h index 692f3f9..db790df 100644 --- a/sys/dev/aic7xxx/aic79xx_osm.h +++ b/sys/dev/aic7xxx/aic79xx_osm.h @@ -103,7 +103,7 @@ * The number of dma segments supported. The sequencer can handle any number * of physically contiguous S/G entrys. To reduce the driver's memory * consumption, we limit the number supported to be sufficient to handle - * the largest mapping supported by the the legacy kernel MAXPHYS setting of + * the largest mapping supported by the legacy kernel MAXPHYS setting of * 128K. This can be increased once some testing is done. Assuming the * transfer is as fragmented as possible and unaligned, this turns out to * be the number of paged sized transfers in MAXPHYS plus an extra element diff --git a/sys/dev/aic7xxx/aic7xxx_osm.h b/sys/dev/aic7xxx/aic7xxx_osm.h index 388cf9e..9a2939e 100644 --- a/sys/dev/aic7xxx/aic7xxx_osm.h +++ b/sys/dev/aic7xxx/aic7xxx_osm.h @@ -115,7 +115,7 @@ extern devclass_t ahc_devclass; * The number of dma segments supported. The sequencer can handle any number * of physically contiguous S/G entrys. To reduce the driver's memory * consumption, we limit the number supported to be sufficient to handle - * the largest mapping supported by the the legacy kernel MAXPHYS setting of + * the largest mapping supported by the legacy kernel MAXPHYS setting of * 128K. This can be increased once some testing is done. Assuming the * be the number of paged sized transfers in MAXPHYS plus an extra element * to handle any unaligned residual. The sequencer fetches SG elements diff --git a/sys/dev/asr/i2omsg.h b/sys/dev/asr/i2omsg.h index 833bd91..a938e38 100644 --- a/sys/dev/asr/i2omsg.h +++ b/sys/dev/asr/i2omsg.h @@ -183,7 +183,7 @@ PRAGMA_PACK_PUSH #define I2O_VERSION_OFFSET_SGL_TRL_OFFSET_MASK 0xF0 /* Defines for the Message Flags Field. */ -/* Please Note the the FAIL bit is only set in the Transport Fail Message. */ +/* Please Note the FAIL bit is only set in the Transport Fail Message. */ #define I2O_MESSAGE_FLAGS_STATIC 0x01 #define I2O_MESSAGE_FLAGS_64BIT_CONTEXT 0x02 #define I2O_MESSAGE_FLAGS_MULTIPLE 0x10 diff --git a/sys/dev/bktr/bktr_card.c b/sys/dev/bktr/bktr_card.c index 00526de..e59ebbe 100644 --- a/sys/dev/bktr/bktr_card.c +++ b/sys/dev/bktr/bktr_card.c @@ -570,7 +570,7 @@ static int locate_eeprom_address( bktr_ptr_t bktr) { * * However some makes of card (eg Hauppauge) come with a configuration eeprom * which tells us the make of the card. Most eeproms also tell us the - * tuner type and other features of the the cards. + * tuner type and other features of the cards. * * The current probe code works as follows * A) If the card uses a Bt878/879: diff --git a/sys/dev/ctau/ctau.c b/sys/dev/ctau/ctau.c index 9b4f404..6a6b65d 100644 --- a/sys/dev/ctau/ctau.c +++ b/sys/dev/ctau/ctau.c @@ -1734,7 +1734,7 @@ ct_board_opt_t ct_board_opt_dflt = { 0, /* board control register 2 */ { /* DMA priority control register */ PCR_PRIO_ROTATE, - 0, /* all channels share the the bus hold */ + 0, /* all channels share the bus hold */ 0, /* hold the bus until all transfers done */ }, CFG_A, /* E1/G.703 config: two independent channels */ diff --git a/sys/dev/ctau/ctddk.h b/sys/dev/ctau/ctddk.h index be0a092..2d53dee 100644 --- a/sys/dev/ctau/ctddk.h +++ b/sys/dev/ctau/ctddk.h @@ -206,7 +206,7 @@ typedef struct { typedef struct { unsigned prio : 3; /* priority of channels */ unsigned noshare : 1; /* 1 - chan holds the bus until end of data */ - /* 0 - all channels share the the bus hold */ + /* 0 - all channels share the bus hold */ unsigned release : 1; /* 1 - release the bus between transfers */ /* 0 - hold the bus until all transfers done */ } ct_pcr_t; diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c index 2638006..f094846 100644 --- a/sys/dev/cxgb/cxgb_main.c +++ b/sys/dev/cxgb/cxgb_main.c @@ -1908,7 +1908,7 @@ cxgb_uninit_synchronized(struct port_info *pi) /* * Clear this port's bit from the open device map, and then drain all * the tasks that can access/manipulate this port's port_info or ifp. - * We disable this port's interrupts here and so the the slow/ext + * We disable this port's interrupts here and so the slow/ext * interrupt tasks won't be enqueued. The tick task will continue to * be enqueued every second but the runs after this drain will not see * this port in the open device map. @@ -2858,7 +2858,7 @@ cxgb_extension_ioctl(struct cdev *dev, unsigned long cmd, caddr_t data, u64 buf[32]; /* - * Use these to avoid modifying len/addr in the the return + * Use these to avoid modifying len/addr in the return * struct */ uint32_t len = t->len, addr = t->addr; diff --git a/sys/dev/drm/mach64_dma.c b/sys/dev/drm/mach64_dma.c index 9aa0faa..4ac09e8 100644 --- a/sys/dev/drm/mach64_dma.c +++ b/sys/dev/drm/mach64_dma.c @@ -173,7 +173,7 @@ static int mach64_ring_idle(drm_mach64_private_t *dev_priv) } /** - * Reset the the ring buffer descriptors. + * Reset the ring buffer descriptors. * * \sa mach64_do_engine_reset() */ diff --git a/sys/dev/drm/r300_reg.h b/sys/dev/drm/r300_reg.h index 8a13c31..6df4611 100644 --- a/sys/dev/drm/r300_reg.h +++ b/sys/dev/drm/r300_reg.h @@ -353,7 +353,7 @@ __FBSDID("$FreeBSD$"); # define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0 # define R300_PVS_CNTL_1_POS_END_SHIFT 10 # define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20 -/* Addresses are relative the the vertex program parameters area. */ +/* Addresses are relative the vertex program parameters area. */ #define R300_VAP_PVS_CNTL_2 0x22D4 # define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0 # define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16 diff --git a/sys/dev/e1000/e1000_82575.c b/sys/dev/e1000/e1000_82575.c index 03c70e0..db5609b 100644 --- a/sys/dev/e1000/e1000_82575.c +++ b/sys/dev/e1000/e1000_82575.c @@ -1986,7 +1986,7 @@ out: * e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits * @hw: pointer to the HW structure * - * This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on + * This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on * the values found in the EEPROM. This addresses an issue in which these * bits are not restored from EEPROM after reset. **/ diff --git a/sys/dev/e1000/e1000_ich8lan.c b/sys/dev/e1000/e1000_ich8lan.c index b2882ee..8218908 100644 --- a/sys/dev/e1000/e1000_ich8lan.c +++ b/sys/dev/e1000/e1000_ich8lan.c @@ -3218,7 +3218,7 @@ out: * @hw: pointer to the HW structure * * ICH8 use the PCI Express bus, but does not contain a PCI Express Capability - * register, so the the bus width is hard coded. + * register, so the bus width is hard coded. **/ static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) { diff --git a/sys/dev/ep/if_epreg.h b/sys/dev/ep/if_epreg.h index f3c269f..9453891 100644 --- a/sys/dev/ep/if_epreg.h +++ b/sys/dev/ep/if_epreg.h @@ -113,7 +113,7 @@ /************************************************************************** * * * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * * * diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index ed621b2..01998ec 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -1261,7 +1261,7 @@ fdmisccmd(struct fd_data *fd, u_int cmd, void *data) /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; diff --git a/sys/dev/ixgb/ixgb_ee.c b/sys/dev/ixgb/ixgb_ee.c index 861a99a..4ce650e 100644 --- a/sys/dev/ixgb/ixgb_ee.c +++ b/sys/dev/ixgb/ixgb_ee.c @@ -325,7 +325,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw *hw) * hw - Struct containing variables accessed by shared code * * Reads the first 64 16 bit words of the EEPROM and sums the values read. - * If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is + * If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is * valid. * * Returns: diff --git a/sys/dev/malo/if_malohal.h b/sys/dev/malo/if_malohal.h index 80c27ac..fb962cc 100644 --- a/sys/dev/malo/if_malohal.h +++ b/sys/dev/malo/if_malohal.h @@ -133,7 +133,7 @@ struct malo_hal_hwstats { /* * Set Antenna Configuration (legacy operation). * - * The RX antenna can be selected using the the bitmask + * The RX antenna can be selected using the bitmask * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) * (diversity?XXX) */ diff --git a/sys/dev/mwl/mwlhal.h b/sys/dev/mwl/mwlhal.h index ab6b7d0..25b8b07 100644 --- a/sys/dev/mwl/mwlhal.h +++ b/sys/dev/mwl/mwlhal.h @@ -291,7 +291,7 @@ int mwl_hal_setradio(struct mwl_hal *mh, int onoff, MWL_HAL_PREAMBLE preamble); /* * Set Antenna Configuration (legacy operation). * - * The RX antenna can be selected using the the bitmask + * The RX antenna can be selected using the bitmask * ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.) * (diversity?XXX) */ diff --git a/sys/dev/nxge/xgehal/xgehal-device.c b/sys/dev/nxge/xgehal/xgehal-device.c index 882aaf7..43f944a 100644 --- a/sys/dev/nxge/xgehal/xgehal-device.c +++ b/sys/dev/nxge/xgehal/xgehal-device.c @@ -4418,7 +4418,7 @@ xge_hal_device_status(xge_hal_device_t *hldev, u64 *hw_status) #ifndef XGE_HAL_HERC_EMULATION /* * Andrew: in PCI 33 mode, the P_PLL is not used, and therefore, - * the the P_PLL_LOCK bit in the adapter_status register will + * the P_PLL_LOCK bit in the adapter_status register will * not be asserted. */ if (!(tmp64 & XGE_HAL_ADAPTER_STATUS_P_PLL_LOCK) && diff --git a/sys/dev/nxge/xgehal/xgehal-ring-fp.c b/sys/dev/nxge/xgehal/xgehal-ring-fp.c index e25a265..349d685 100644 --- a/sys/dev/nxge/xgehal/xgehal-ring-fp.c +++ b/sys/dev/nxge/xgehal/xgehal-ring-fp.c @@ -801,7 +801,7 @@ xge_hal_ring_dtr_free(xge_hal_channel_h channelh, xge_hal_dtr_h dtrh) * xge_hal_ring_is_next_dtr_completed - Check if the next dtr is completed * @channelh: Channel handle. * - * Checks if the the _next_ completed descriptor is in host memory + * Checks if the _next_ completed descriptor is in host memory * * Returns: XGE_HAL_OK - success. * XGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors diff --git a/sys/dev/random/randomdev_soft.c b/sys/dev/random/randomdev_soft.c index cef64ab..c720902 100644 --- a/sys/dev/random/randomdev_soft.c +++ b/sys/dev/random/randomdev_soft.c @@ -347,7 +347,7 @@ random_yarrow_write(void *buf, int count) /* * Break the input up into HARVESTSIZE chunks. The writer has too - * much control here, so "estimate" the the entropy as zero. + * much control here, so "estimate" the entropy as zero. */ for (i = 0; i < count; i += HARVESTSIZE) { chunk = HARVESTSIZE; diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c index 5b9591a..f4e24af 100644 --- a/sys/dev/sound/pci/es137x.c +++ b/sys/dev/sound/pci/es137x.c @@ -584,7 +584,7 @@ eschan1370_setspeed(kobj_t obj, void *data, uint32_t speed) /* * DAC1 does not support continuous rate settings. * Pick the nearest and use it since FEEDER_RATE will - * do the the proper conversion for us. + * do the proper conversion for us. */ es->ctrl &= ~CTRL_WTSRSEL; if (speed < 8268) { diff --git a/sys/dev/sym/sym_fw1.h b/sys/dev/sym/sym_fw1.h index 1a4d010..aa1c7a4 100644 --- a/sys/dev/sym/sym_fw1.h +++ b/sys/dev/sym/sym_fw1.h @@ -262,7 +262,7 @@ static const struct SYM_FWA_SCR SYM_FWA_SCR = { * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ }/*-------------------------< GETJOB_BEGIN >---------------------*/,{ /* diff --git a/sys/dev/sym/sym_fw2.h b/sys/dev/sym/sym_fw2.h index d006c9c..9785703 100644 --- a/sys/dev/sym/sym_fw2.h +++ b/sys/dev/sym/sym_fw2.h @@ -252,7 +252,7 @@ static const struct SYM_FWA_SCR SYM_FWA_SCR = { * The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS * is a critical path. If it is partially executed, it then * may happen that the job address is not yet in the DSA - * and the the next queue position points to the next JOB. + * and the next queue position points to the next JOB. */ SCR_LOAD_ABS (dsa, 4), PADDR_B (startpos), diff --git a/sys/dev/uart/uart_dev_ns8250.c b/sys/dev/uart/uart_dev_ns8250.c index b93e254..3cdd5ad 100644 --- a/sys/dev/uart/uart_dev_ns8250.c +++ b/sys/dev/uart/uart_dev_ns8250.c @@ -693,7 +693,7 @@ ns8250_bus_probe(struct uart_softc *sc) /* * We should have a sufficiently clean "pipe" to determine the * size of the FIFOs. We send as much characters as is reasonable - * and wait for the the overflow bit in the LSR register to be + * and wait for the overflow bit in the LSR register to be * asserted, counting the characters as we send them. Based on * that count we know the FIFO size. */ diff --git a/sys/dev/usb/usb_process.c b/sys/dev/usb/usb_process.c index febc3a1..0509ec2 100644 --- a/sys/dev/usb/usb_process.c +++ b/sys/dev/usb/usb_process.c @@ -462,7 +462,7 @@ usb_proc_drain(struct usb_process *up) /*------------------------------------------------------------------------* * usb_proc_rewakeup * - * This function is called to re-wakeup the the given USB + * This function is called to re-wakeup the given USB * process. This usually happens after that the USB system has been in * polling mode, like during a panic. This function must be called * having "up->up_mtx" locked. diff --git a/sys/dev/vx/if_vxreg.h b/sys/dev/vx/if_vxreg.h index b876782..08ac408 100644 --- a/sys/dev/vx/if_vxreg.h +++ b/sys/dev/vx/if_vxreg.h @@ -112,7 +112,7 @@ /************************************************************************** * These are the registers for the 3Com 3c509 and their bit patterns when * - * applicable. They have been taken out the the "EtherLink III Parallel * + * applicable. They have been taken out the "EtherLink III Parallel * * Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual * * from 3com. * **************************************************************************/ diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c index 64be427..53ad7f3 100644 --- a/sys/dev/wpi/if_wpi.c +++ b/sys/dev/wpi/if_wpi.c @@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$"); * state and told to load boot firmware. The boot firmware loads an init and a * main binary firmware image into SRAM on the card via DMA. * Once the firmware is loaded, the driver/hw then - * communicate by way of circular dma rings via the the SRAM to the firmware. + * communicate by way of circular dma rings via the SRAM to the firmware. * * There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings. * The 4 tx data rings allow for prioritization QoS. diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 43cf65e..0248a30 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -368,7 +368,7 @@ fdesc_open(ap) return (0); /* - * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the the file + * XXX Kludge: set td->td_proc->p_dupfd to contain the value of the file * descriptor being sought for duplication. The error return ensures * that the vnode for this device will be released by vn_open. Open * will detect this special error and take the actions in dupfdopen. diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index 300b71c..600aa0f 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -1530,7 +1530,7 @@ msdosfs_readdir(ap) /* * msdosfs_readdir() won't operate properly on regular files since - * it does i/o only with the the filesystem vnode, and hence can + * it does i/o only with the filesystem vnode, and hence can * retrieve the wrong block from the buffer cache for a plain file. * So, fail attempts to readdir() on a plain file. */ diff --git a/sys/geom/geom_vfs.c b/sys/geom/geom_vfs.c index e50e17b..9eaf6b1 100644 --- a/sys/geom/geom_vfs.c +++ b/sys/geom/geom_vfs.c @@ -109,7 +109,7 @@ g_vfs_strategy(struct bufobj *bo, struct buf *bp) /* G_VALID_CONSUMER(cp); We likely lack topology lock */ /* - * If the the provider has orphaned us, just return EXIO. + * If the provider has orphaned us, just return EXIO. */ if (cp->provider == NULL) { bp->b_error = ENXIO; diff --git a/sys/geom/part/g_part_ebr.c b/sys/geom/part/g_part_ebr.c index 0976017..7bf0c55 100644 --- a/sys/geom/part/g_part_ebr.c +++ b/sys/geom/part/g_part_ebr.c @@ -591,7 +591,7 @@ g_part_ebr_write(struct g_part_table *basetable, struct g_consumer *cp) while (baseentry != NULL && baseentry->gpe_deleted) baseentry = LIST_NEXT(baseentry, gpe_entry); - /* Wipe-out the the first EBR when there are no slices. */ + /* Wipe-out the first EBR when there are no slices. */ if (baseentry == NULL) { error = g_write_data(cp, 0, buf, pp->sectorsize); goto out; diff --git a/sys/geom/sched/gs_scheduler.h b/sys/geom/sched/gs_scheduler.h index 31e47e6..9ebc1a9 100644 --- a/sys/geom/sched/gs_scheduler.h +++ b/sys/geom/sched/gs_scheduler.h @@ -144,7 +144,7 @@ struct g_sched_class { /* * Manipulate the classifier's data. g_sched_get_class() gets a reference - * to the the class corresponding to bp in gp, allocating and initializing + * to the class corresponding to bp in gp, allocating and initializing * it if necessary. g_sched_put_class() releases the reference. * The returned value points to the private data for the class. */ diff --git a/sys/gnu/fs/xfs/xfs_dir_leaf.c b/sys/gnu/fs/xfs/xfs_dir_leaf.c index 28f431c..f89cde1 100644 --- a/sys/gnu/fs/xfs/xfs_dir_leaf.c +++ b/sys/gnu/fs/xfs/xfs_dir_leaf.c @@ -2153,7 +2153,7 @@ xfs_dir_leaf_getdents_int( } /* - * Format a dirent64 structure and copy it out the the user's buffer. + * Format a dirent64 structure and copy it out the user's buffer. */ int xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa) @@ -2185,7 +2185,7 @@ xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa) } /* - * Format a dirent64 structure and copy it out the the user's buffer. + * Format a dirent64 structure and copy it out the user's buffer. */ int xfs_dir_put_dirent64_uio(xfs_dir_put_args_t *pa) diff --git a/sys/gnu/fs/xfs/xfs_itable.c b/sys/gnu/fs/xfs/xfs_itable.c index 37a6524..b8f9f6f 100644 --- a/sys/gnu/fs/xfs/xfs_itable.c +++ b/sys/gnu/fs/xfs/xfs_itable.c @@ -777,7 +777,7 @@ xfs_inumbers( xfs_buf_relse(agbp); agbp = NULL; /* - * Move up the the last inode in the current + * Move up the last inode in the current * chunk. The lookup_ge will always get * us the first inode in the next chunk. */ diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index 9fede68..3752679 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -255,7 +255,7 @@ trap(struct trapframe *frame) * A trap can occur while DTrace executes a probe. Before * executing the probe, DTrace blocks re-scheduling and sets * a flag in it's per-cpu flags to indicate that it doesn't - * want to fault. On returning from the the probe, the no-fault + * want to fault. On returning from the probe, the no-fault * flag is cleared and finally re-scheduling is enabled. * * If the DTrace kernel module has registered a trap handler, diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c index 3f961a2..7f90a02 100644 --- a/sys/kern/subr_unit.c +++ b/sys/kern/subr_unit.c @@ -41,7 +41,7 @@ * * If a mutex is not provided when the unit number space is created, a * default global mutex is used. The advantage to passing a mutex in, is - * that the the alloc_unrl() function can be called with the mutex already + * that the alloc_unrl() function can be called with the mutex already * held (it will not be released by alloc_unrl()). * * The allocation function alloc_unr{l}() never sleeps (but it may block on @@ -52,7 +52,7 @@ * * A userland test program is included. * - * Memory usage is a very complex function of the the exact allocation + * Memory usage is a very complex function of the exact allocation * pattern, but always very compact: * * For the very typical case where a single unbroken run of unit * numbers are allocated 44 bytes are used on i386. diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index e1c00fe..01de5ed 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -1175,7 +1175,7 @@ witness_checkorder(struct lock_object *lock, int flags, const char *file, mtx_assert(&w_mtx, MA_OWNED); /* - * If we know that the the lock we are acquiring comes after + * If we know that the lock we are acquiring comes after * the lock we most recently acquired in the lock order tree, * then there is no need for any further checks. */ diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 4e9ff6e..871132c 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m) } /* - * Attach the the cluster from *m to *n, set up m_ext in *n + * Attach the cluster from *m to *n, set up m_ext in *n * and bump the refcount of the cluster. */ static void diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c index 3b858de..f20e159 100644 --- a/sys/mips/mips/pmap.c +++ b/sys/mips/mips/pmap.c @@ -2018,7 +2018,7 @@ validate: pmap_update_page(pmap, va, newpte); /* - * Sync I & D caches for executable pages. Do this only if the the + * Sync I & D caches for executable pages. Do this only if the * target pmap belongs to the current process. Otherwise, an * unresolvable TLB miss may occur. */ @@ -2152,7 +2152,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_offset_t va, vm_page_t m, else { *pte |= PTE_RO; /* - * Sync I & D caches. Do this only if the the target pmap + * Sync I & D caches. Do this only if the target pmap * belongs to the current process. Otherwise, an * unresolvable TLB miss may occur. */ if (pmap == &curproc->p_vmspace->vm_pmap) { diff --git a/sys/mips/rmi/fmn.c b/sys/mips/rmi/fmn.c index f42dfea..f7686cb 100644 --- a/sys/mips/rmi/fmn.c +++ b/sys/mips/rmi/fmn.c @@ -99,7 +99,7 @@ static int msgring_maxthreads = 3; TUNABLE_INT("hw.fmn.maxthreads", &msgring_maxthreads); /* - * The device drivers can register a handler for the the messages sent + * The device drivers can register a handler for the messages sent * from a station (corresponding to the device). */ struct tx_stn_handler { @@ -148,7 +148,7 @@ xlr_msgring_cpu_init(void) * For sending FMN messages, we need credits on the destination * bucket. Program the credits this core has on the 128 possible * destination buckets. - * We cannot use a loop here, because the the first argument has + * We cannot use a loop here, because the first argument has * to be a constant integer value. */ MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters); diff --git a/sys/mips/sibyte/sb_zbpci.c b/sys/mips/sibyte/sb_zbpci.c index 243ed08..f4df353 100644 --- a/sys/mips/sibyte/sb_zbpci.c +++ b/sys/mips/sibyte/sb_zbpci.c @@ -110,7 +110,7 @@ zbpci_attach(device_t dev) panic("%s: port_rman", __func__); /* - * Reserve the the physical memory that is used to read/write to the + * Reserve the physical memory that is used to read/write to the * pci config space but don't activate it. We are using a page worth * of KVA as a window over this region. */ diff --git a/sys/net/if_media.c b/sys/net/if_media.c index 3928136..22bdc82 100644 --- a/sys/net/if_media.c +++ b/sys/net/if_media.c @@ -235,7 +235,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd) /* * If no change, we're done. * XXX Automedia may invole software intervention. - * Keep going in case the the connected media changed. + * Keep going in case the connected media changed. * Similarly, if best match changed (kernel debugger?). */ if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) && diff --git a/sys/net/route.c b/sys/net/route.c index 90885b0..f38d6a6 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -539,7 +539,7 @@ rtredirect_fib(struct sockaddr *dst, goto done; /* * Create a new entry if we just got back a wildcard entry - * or the the lookup failed. This is necessary for hosts + * or the lookup failed. This is necessary for hosts * which use routing redirects generated by smart gateways * to dynamically build the routing tables. */ diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c index f07da3a..e90cab2 100644 --- a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c +++ b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c @@ -560,7 +560,7 @@ ng_btsocket_rfcomm_connect(struct socket *so, struct sockaddr *nam, soclose(l2so); /* we don't need new L2CAP socket */ /* - * Check if we already have the same DLCI the the same session + * Check if we already have the same DLCI the same session */ mtx_lock(&s->session_mtx); diff --git a/sys/netgraph/ng_source.c b/sys/netgraph/ng_source.c index 5bacf79..e1828ac 100644 --- a/sys/netgraph/ng_source.c +++ b/sys/netgraph/ng_source.c @@ -604,7 +604,7 @@ ng_source_disconnect(hook_p hook) } /* - * Set sc->output_ifp to point to the the struct ifnet of the interface + * Set sc->output_ifp to point to the struct ifnet of the interface * reached via our output hook. */ static int diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 569047e..764046a 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -810,7 +810,7 @@ reply: /* * Also check that the node which sent the ARP packet - * is on the the interface we expect it to be on. This + * is on the interface we expect it to be on. This * avoids ARP chaos if an interface is connected to the * wrong network. */ diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 6e1153d..e3aae04 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1031,7 +1031,7 @@ found: * segment. If it provides all of our data, drop us, otherwise * stick new segment in the proper place. * - * If some of the data is dropped from the the preceding + * If some of the data is dropped from the preceding * segment, then it's checksum is invalidated. */ if (p) { diff --git a/sys/netinet/ipfw/ip_fw_private.h b/sys/netinet/ipfw/ip_fw_private.h index ac55433..13df9c9 100644 --- a/sys/netinet/ipfw/ip_fw_private.h +++ b/sys/netinet/ipfw/ip_fw_private.h @@ -90,7 +90,7 @@ struct ip_fw_args { /* * On return, it points to the matching rule. * On entry, rule.slot > 0 means the info is valid and - * contains the the starting rule for an ipfw search. + * contains the starting rule for an ipfw search. * If chain_id == chain->id && slot >0 then jump to that slot. * Otherwise, we locate the first rule >= rulenum:rule_id */ diff --git a/sys/netinet/libalias/alias_sctp.c b/sys/netinet/libalias/alias_sctp.c index 3bd5331..bb0f9cc 100644 --- a/sys/netinet/libalias/alias_sctp.c +++ b/sys/netinet/libalias/alias_sctp.c @@ -1929,7 +1929,7 @@ UP_process(struct libalias *la, int direction, struct sctp_nat_assoc *assoc, str * @brief Process SCTP message while association is in the process of closing * * This function waits for a SHUT-COMP to close the association. Depending on - * the the setting of sysctl_holddown_timer it may not remove the association + * the setting of sysctl_holddown_timer it may not remove the association * immediately, but leave it up until SN_X_T(la). Only SHUT-COMP, SHUT-ACK, and * ABORT packets are permitted in this state. All other packets are dropped. * diff --git a/sys/netinet/tcp_offload.h b/sys/netinet/tcp_offload.h index 48f35ff..313185f 100644 --- a/sys/netinet/tcp_offload.h +++ b/sys/netinet/tcp_offload.h @@ -56,7 +56,7 @@ * * It is assumed that individuals deploying TOE will want connections * to be offloaded without software changes so all connections on an - * interface providing TOE are offloaded unless the the SO_NO_OFFLOAD + * interface providing TOE are offloaded unless the SO_NO_OFFLOAD * flag is set on the socket. * * diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index ca52cc7..909381a 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1383,7 +1383,7 @@ tcp_ctlinput(int cmd, struct sockaddr *sa, void *vip) mtu = V_tcp_minmss + sizeof(struct tcpiphdr); /* - * Only cache the the MTU if it + * Only cache the MTU if it * is smaller than the interface * or route MTU. tcp_mtudisc() * will do right thing by itself. diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index 39de21c..ede3702 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -524,7 +524,7 @@ syncache_chkrst(struct in_conninfo *inc, struct tcphdr *th) * used, or we are under memory pressure, a valid RST * may not find a syncache entry. In that case we're * done and no SYN|ACK retransmissions will happen. - * Otherwise the the RST was misdirected or spoofed. + * Otherwise the RST was misdirected or spoofed. */ if (sc == NULL) { if ((s = tcp_log_addrs(inc, th, NULL, NULL))) diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 42df4fe..aab950d 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -397,7 +397,7 @@ tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th, } /* - * Drop the the segment if it does not contain an ACK. + * Drop the segment if it does not contain an ACK. */ if ((thflags & TH_ACK) == 0) goto drop; diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h index eadfc09..7abbfa40 100644 --- a/sys/netinet6/in6.h +++ b/sys/netinet6/in6.h @@ -78,7 +78,7 @@ /* * IPv6 port allocation rules should mirror the IPv4 rules and are controlled - * by the the net.inet.ip.portrange sysctl tree. The following defines exist + * by the net.inet.ip.portrange sysctl tree. The following defines exist * for compatibility with userland applications that need them. */ #if __BSD_VISIBLE diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index 8373f45..fd65d72 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -2378,7 +2378,7 @@ fdmisccmd(struct cdev *dev, u_int cmd, void *data) /* * Set up a bio request for fdstrategy(). bio_offset is faked - * so that fdstrategy() will seek to the the requested + * so that fdstrategy() will seek to the requested * cylinder, and use the desired head. */ bp->bio_cmd = cmd; diff --git a/sys/sparc64/include/iommureg.h b/sys/sparc64/include/iommureg.h index f4d0349..10a107d 100644 --- a/sys/sparc64/include/iommureg.h +++ b/sys/sparc64/include/iommureg.h @@ -194,7 +194,7 @@ * Unfortunately, sabres on UltraSPARC IIi and IIe processors does not use * this scheme to determine the IOVA base address. Instead, bits 31-29 are * used to check against the Target Address Space register in the IIi and - * the the IOMMU is used if they hit. God knows what goes on in the IIe. + * the IOMMU is used if they hit. God knows what goes on in the IIe. * */ diff --git a/sys/sparc64/pci/sbbc.c b/sys/sparc64/pci/sbbc.c index 0aa1df3..be95f05 100644 --- a/sys/sparc64/pci/sbbc.c +++ b/sys/sparc64/pci/sbbc.c @@ -335,7 +335,7 @@ sbbc_pci_attach(device_t dev) rid = SBBC_PCI_BAR; /* * Note that we don't activate the resource so it's not mapped twice - * but only once by the the firmware. + * but only once by the firmware. */ sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0); if (sc->sc_res == NULL) { diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c index b9e5d94..38239b8 100644 --- a/sys/sparc64/sparc64/trap.c +++ b/sys/sparc64/sparc64/trap.c @@ -433,7 +433,7 @@ trap_cecc(void) cache_flush(); /* Ensure the caches are still turned on (should be). */ cache_enable(PCPU_GET(impl)); - /* Clear the the error from the AFSR. */ + /* Clear the error from the AFSR. */ stxa_sync(0, ASI_AFSR, ldxa(0, ASI_AFSR)); corrected_ecc++; printf("corrected ECC error\n"); diff --git a/sys/sys/aac_ioctl.h b/sys/sys/aac_ioctl.h index 69af10e..1c04a7c 100644 --- a/sys/sys/aac_ioctl.h +++ b/sys/sys/aac_ioctl.h @@ -117,7 +117,7 @@ union aac_statrequest { /* Do the native version of the ioctls. Since the BSD encoding scheme * conflicts with the 'standard' AAC encoding scheme, the resulting numbers * will be different. The '8' comes from the fact that the previous scheme - * used 12 bits for the number, with the the 12th bit being the only set + * used 12 bits for the number, with the 12th bit being the only set * bit above bit 8. Thus the value of 8, with the lower 8 bits holding the * command number. 9 is used for the odd overflow case. */ |