diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
commit | eed4bd22add2269ccde27996035581801316c610 (patch) | |
tree | fe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/ppbus | |
parent | 759c5e424131bdbb2db154a8f626569c324004d2 (diff) | |
download | FreeBSD-src-eed4bd22add2269ccde27996035581801316c610.zip FreeBSD-src-eed4bd22add2269ccde27996035581801316c610.tar.gz |
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r-- | sys/dev/ppbus/lpt.c | 2 | ||||
-rw-r--r-- | sys/dev/ppbus/ppb_1284.c | 20 | ||||
-rw-r--r-- | sys/dev/ppbus/vpo.c | 2 | ||||
-rw-r--r-- | sys/dev/ppbus/vpoio.c | 2 |
4 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index 3a28efd2..ce08ccc 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -113,7 +113,7 @@ struct lpt_data { prime once */ u_char sc_control; char sc_flags; -#define LP_POS_INIT 0x04 /* if we are a postive init signal */ +#define LP_POS_INIT 0x04 /* if we are a positive init signal */ #define LP_POS_ACK 0x08 /* if we are a positive going ack */ #define LP_NO_PRIME 0x10 /* don't prime the printer at all */ #define LP_PRIMEOPEN 0x20 /* prime on every open */ diff --git a/sys/dev/ppbus/ppb_1284.c b/sys/dev/ppbus/ppb_1284.c index e909e8e..31f38ce 100644 --- a/sys/dev/ppbus/ppb_1284.c +++ b/sys/dev/ppbus/ppb_1284.c @@ -103,14 +103,14 @@ ppb_1284_get_state(device_t bus) /* * ppb_1284_set_state() * - * Change IEEE1284 state if no error occured + * Change IEEE1284 state if no error occurred */ int ppb_1284_set_state(device_t bus, int state) { struct ppb_data *ppb = DEVTOSOFTC(bus); - /* call ppb_1284_reset_error() if you absolutly want to change + /* call ppb_1284_reset_error() if you absolutely want to change * the state from PPB_ERROR to another */ mtx_assert(ppb->ppc_lock, MA_OWNED); if ((ppb->state != PPB_ERROR) && @@ -191,7 +191,7 @@ ppb_request_mode(int mode, int options) /* * ppb_peripheral_negociate() * - * Negociate the peripheral side + * Negotiate the peripheral side */ int ppb_peripheral_negociate(device_t bus, int mode, int options) @@ -249,7 +249,7 @@ ppb_peripheral_negociate(device_t bus, int mode, int options) #ifdef DEBUG_1284 printf("A"); #endif - /* negociation succeeds */ + /* negotiation succeeds */ } } else { /* Event 5 - mode not supported */ @@ -648,11 +648,11 @@ ppb_1284_read(device_t bus, int mode, char *buffer, /* * ppb_1284_negociate() * - * IEEE1284 negociation phase + * IEEE1284 negotiation phase * * Normal nibble mode or request device id mode (see ppb_1284.h) * - * After negociation, nFAULT is low if data is available + * After negotiation, nFAULT is low if data is available */ int ppb_1284_negociate(device_t bus, int mode, int options) @@ -677,7 +677,7 @@ ppb_1284_negociate(device_t bus, int mode, int options) /* ensure the host is in compatible mode */ ppb_set_mode(bus, PPB_COMPATIBLE); - /* reset error to catch the actual negociation error */ + /* reset error to catch the actual negotiation error */ ppb_1284_reset_error(bus, PPB_FORWARD_IDLE); /* calculate ext. value */ @@ -687,7 +687,7 @@ ppb_1284_negociate(device_t bus, int mode, int options) ppb_wctr(bus, (nINIT | SELECTIN) & ~(STROBE | AUTOFEED)); DELAY(1); - /* enter negociation phase */ + /* enter negotiation phase */ ppb_1284_set_state(bus, PPB_NEGOCIATION); /* Event 0 - put the exten. value on the data lines */ @@ -769,7 +769,7 @@ ppb_1284_negociate(device_t bus, int mode, int options) ppb_1284_set_state(bus, PPB_REVERSE_IDLE); break; case PPB_ECP: - /* negociation ok, now setup the communication */ + /* negotiation ok, now setup the communication */ ppb_1284_set_state(bus, PPB_SETUP); ppb_wctr(bus, (nINIT | AUTOFEED) & ~(SELECTIN | STROBE)); @@ -825,7 +825,7 @@ ppb_1284_terminate(device_t bus) #endif /* do not reset error here to keep the error that - * may occured before the ppb_1284_terminate() call */ + * may occurred before the ppb_1284_terminate() call */ ppb_1284_set_state(bus, PPB_TERMINATION); #ifdef PERIPH_1284 diff --git a/sys/dev/ppbus/vpo.c b/sys/dev/ppbus/vpo.c index f508275..d9e7cb8 100644 --- a/sys/dev/ppbus/vpo.c +++ b/sys/dev/ppbus/vpo.c @@ -221,7 +221,7 @@ vpo_intr(struct vpo_data *vpo, struct ccb_scsiio *csio) return; } - /* if a timeout occured, no sense */ + /* if a timeout occurred, no sense */ if (vpo->vpo_error) { if (vpo->vpo_error != VP0_ESELECT_TIMEOUT) device_printf(vpo->vpo_dev, "VP0 error/timeout (%d)\n", diff --git a/sys/dev/ppbus/vpoio.c b/sys/dev/ppbus/vpoio.c index 62af869..a989e8d1 100644 --- a/sys/dev/ppbus/vpoio.c +++ b/sys/dev/ppbus/vpoio.c @@ -382,7 +382,7 @@ vpoio_detect(struct vpoio_data *vpo) /* The interface must be at least PS/2 or NIBBLE capable. * There is no way to know if the ZIP will work with * PS/2 mode since PS/2 and SPP both use the same connect - * sequence. One must supress PS/2 with boot flags if + * sequence. One must suppress PS/2 with boot flags if * PS/2 mode fails (see ppc(4)). */ if (ppb_set_mode(ppbus, PPB_PS2) != -1) { |