Re: recieve - receive (sys/)

2011-01-21 Thread Jasper Lievisse Adriaanse
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 -  1.5
 +++ arch/i386/stand/libsa/pxe.h   20 Jan 2011 22:30:49 -
 @@ -330,7 +330,7 @@ typedef struct {
   PXENV_STATUS_t  Status;
   uint16_tFuncFlag;   /* PXENV_UNDI_ISR_OUT_xxx */
   uint16_tBufferLength;   /* Length of Frame */
 - uint16_tFrameLength;/* Total length of reciever
 + uint16_tFrameLength;/* Total length of receiver
  frame */
   uint16_tFrameHeaderLength;  /* 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 -  1.5
 +++ arch/amd64/stand/libsa/pxe.h  20 Jan 2011 22:30:49 -
 @@ -330,7 +330,7 @@ typedef struct {
   PXENV_STATUS_t  Status;
   uint16_tFuncFlag;   /* PXENV_UNDI_ISR_OUT_xxx */
   uint16_tBufferLength;   /* Length of Frame */
 - uint16_tFrameLength;/* Total length of reciever
 + uint16_tFrameLength;/* Total length of receiver
  frame */
   uint16_tFrameHeaderLength;  /* 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.h18 Jul 2010 21:01:06 -  1.126
 +++ dev/pci/drm/drmP.h20 Jan 2011 22:30:49 -
 @@ -324,7 +324,7 @@ struct drm_vblank_info {
   u_int32_tvb_max;/* counter reg size */
   struct drm_vblank {
   struct drmevlist vbl_events;/* vblank events */
 - u_int32_tvbl_last;  /* Last recieved */
 + u_int32_tvbl_last;  /* Last received */
   u_int32_tvbl_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 -  1.2
 +++ dev/usb/utwitch.c 20 Jan 2011 22:30:49 -
 @@ -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.



recieve - receive (sys/)

2011-01-20 Thread Jasper Lievisse Adriaanse
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 -  1.5
+++ arch/i386/stand/libsa/pxe.h 20 Jan 2011 22:30:49 -
@@ -330,7 +330,7 @@ typedef struct {
PXENV_STATUS_t  Status;
uint16_tFuncFlag;   /* PXENV_UNDI_ISR_OUT_xxx */
uint16_tBufferLength;   /* Length of Frame */
-   uint16_tFrameLength;/* Total length of reciever
+   uint16_tFrameLength;/* Total length of receiver
   frame */
uint16_tFrameHeaderLength;  /* 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.h20 Nov 2010 20:11:19 -  1.5
+++ arch/amd64/stand/libsa/pxe.h20 Jan 2011 22:30:49 -
@@ -330,7 +330,7 @@ typedef struct {
PXENV_STATUS_t  Status;
uint16_tFuncFlag;   /* PXENV_UNDI_ISR_OUT_xxx */
uint16_tBufferLength;   /* Length of Frame */
-   uint16_tFrameLength;/* Total length of reciever
+   uint16_tFrameLength;/* Total length of receiver
   frame */
uint16_tFrameHeaderLength;  /* 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 -  1.126
+++ dev/pci/drm/drmP.h  20 Jan 2011 22:30:49 -
@@ -324,7 +324,7 @@ struct drm_vblank_info {
u_int32_tvb_max;/* counter reg size */
struct drm_vblank {
struct drmevlist vbl_events;/* vblank events */
-   u_int32_tvbl_last;  /* Last recieved */
+   u_int32_tvbl_last;  /* Last received */
u_int32_tvbl_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 -  1.2
+++ dev/usb/utwitch.c   20 Jan 2011 22:30:49 -
@@ -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,