The pxe.h defines are unused elsewhere, btw.

On Thu, Jan 20, 2011 at 11:35:34PM +0100, Jasper Lievisse Adriaanse wrote:
> Hi,
> 
> Obvious typo, though the pxe.h parts may have to wait untill after the lock?
> Otherwise OK?
> 
> -- 
> Cheers,
> Jasper
> 
> "Capable, generous men do not create victims, they nurture them."
> 
> Index: arch/i386/stand/libsa/pxe.h
> ===================================================================
> RCS file: /cvs/src/sys/arch/i386/stand/libsa/pxe.h,v
> retrieving revision 1.5
> diff -p -u -r1.5 pxe.h
> --- arch/i386/stand/libsa/pxe.h       20 Nov 2010 20:11:19 -0000      1.5
> +++ arch/i386/stand/libsa/pxe.h       20 Jan 2011 22:30:49 -0000
> @@ -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
> +     uint16_t        FrameLength;            /* Total length of receiver
>                                                  frame */
>       uint16_t        FrameHeaderLength;      /* Length of the media header
>                                                  in Frame */
> @@ -351,7 +351,7 @@ typedef struct {
>        */
>  #    define PXENV_UNDI_ISR_OUT_DONE          0
>  #    define PXENV_UNDI_ISR_OUT_TRANSMIT      2
> -#    define PXENV_UNDI_ISR_OUT_RECIEVE       3
> +#    define PXENV_UNDI_ISR_OUT_RECEIVE       3
>  #    define PXENV_UNDI_ISR_OUT_BUSY          4
>  } __packed t_PXENV_UNDI_ISR;
>  
> Index: arch/amd64/stand/libsa/pxe.h
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/stand/libsa/pxe.h,v
> retrieving revision 1.5
> diff -p -u -r1.5 pxe.h
> --- arch/amd64/stand/libsa/pxe.h      20 Nov 2010 20:11:19 -0000      1.5
> +++ arch/amd64/stand/libsa/pxe.h      20 Jan 2011 22:30:49 -0000
> @@ -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
> +     uint16_t        FrameLength;            /* Total length of receiver
>                                                  frame */
>       uint16_t        FrameHeaderLength;      /* Length of the media header
>                                                  in Frame */
> @@ -351,7 +351,7 @@ typedef struct {
>        */
>  #    define PXENV_UNDI_ISR_OUT_DONE          0
>  #    define PXENV_UNDI_ISR_OUT_TRANSMIT      2
> -#    define PXENV_UNDI_ISR_OUT_RECIEVE       3
> +#    define PXENV_UNDI_ISR_OUT_RECEIVE       3
>  #    define PXENV_UNDI_ISR_OUT_BUSY          4
>  } __packed t_PXENV_UNDI_ISR;
>  
> Index: dev/pci/drm/drmP.h
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/drm/drmP.h,v
> retrieving revision 1.126
> diff -p -u -r1.126 drmP.h
> --- dev/pci/drm/drmP.h        18 Jul 2010 21:01:06 -0000      1.126
> +++ dev/pci/drm/drmP.h        20 Jan 2011 22:30:49 -0000
> @@ -324,7 +324,7 @@ struct drm_vblank_info {
>       u_int32_t                vb_max;                /* counter reg size */
>       struct drm_vblank {
>               struct drmevlist vbl_events;            /* vblank events */
> -             u_int32_t        vbl_last;              /* Last recieved */
> +             u_int32_t        vbl_last;              /* Last received */
>               u_int32_t        vbl_count;             /* interrupt no. */
>               int              vbl_refs;              /* Number of users */
>               int              vbl_enabled;           /* Enabled? */
> Index: dev/usb/utwitch.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/usb/utwitch.c,v
> retrieving revision 1.2
> diff -p -u -r1.2 utwitch.c
> --- dev/usb/utwitch.c 19 Dec 2010 21:32:58 -0000      1.2
> +++ dev/usb/utwitch.c 20 Jan 2011 22:30:49 -0000
> @@ -250,7 +250,7 @@ utwitch_intr(struct uhidev *addr, void *
>       switch (buf[0]) {
>       case CMD_ACK:
>               if (buf[1] == sc->issueing_cmd) {
> -                     DPRINTF(("ack recieved for cmd 0x%.2x\n", buf[1]));
> +                     DPRINTF(("ack received for cmd 0x%.2x\n", buf[1]));
>                       sc->accepted_cmd = buf[1];
>               } else {
>                       DPRINTF(("cmd-ack mismatch: recved 0x%.2x, expect 
> 0x%.2x\n",
> 

-- 
Cheers,
Jasper

"Capable, generous men do not create victims, they nurture them."

Reply via email to