diff options
author | John Baldwin <jhb@FreeBSD.org> | 2005-07-21 16:33:05 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2005-07-21 16:33:05 +0000 |
commit | e5e871963cf953b26ec3eb34c6539e2304aa8468 (patch) | |
tree | 89b9c8d79fcc174c3779ef83e404f1283e2c22fd /sys/dev/de/if_devar.h | |
parent | e07db7aa57e1dc580d9490de2592fa72623af009 (diff) | |
download | src-e5e871963cf953b26ec3eb34c6539e2304aa8468.tar.gz src-e5e871963cf953b26ec3eb34c6539e2304aa8468.zip |
Fix a typo and some whitespace nits.
Notes
Notes:
svn path=/head/; revision=148248
Diffstat (limited to 'sys/dev/de/if_devar.h')
-rw-r--r-- | sys/dev/de/if_devar.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/de/if_devar.h b/sys/dev/de/if_devar.h index 54ed8d69eeca..955e39f99135 100644 --- a/sys/dev/de/if_devar.h +++ b/sys/dev/de/if_devar.h @@ -120,7 +120,7 @@ typedef struct { * * The receive space MUST ALWAYS be a multiple of the page size. * And the number of receive descriptors multiplied by the size - * of the receive buffers must equal the recevive space. This + * of the receive buffers must equal the receive space. This * is so that we can manipulate the page tables so that even if a * packet wraps around the end of the receive space, we can * treat it as virtually contiguous. @@ -277,8 +277,7 @@ typedef struct { #define mi_mii_interrupt mi_un.un_mii.mii_interrupt #define mi_phyid mi_un.un_mii.mii_phyid -#define TULIP_MEDIAINFO_SIA_INIT(sc, mi, chipid, media) \ -do { \ +#define TULIP_MEDIAINFO_SIA_INIT(sc, mi, chipid, media) do { \ (mi)->mi_type = TULIP_MEDIAINFO_SIA; \ sc->tulip_mediums[TULIP_MEDIA_ ## media] = (mi); \ (mi)->mi_sia_connectivity = TULIP_ ## chipid ## _SIACONN_ ## media; \ @@ -286,8 +285,7 @@ do { \ (mi)->mi_sia_general = TULIP_ ## chipid ## _SIAGEN_ ## media; \ } while (0) -#define TULIP_MEDIAINFO_ADD_CAPABILITY(sc, mi, media) \ -do { \ +#define TULIP_MEDIAINFO_ADD_CAPABILITY(sc, mi, media) do { \ if ((sc)->tulip_mediums[TULIP_MEDIA_ ## media] == NULL \ && ((mi)->mi_capabilities & PHYSTS_ ## media)) { \ (sc)->tulip_mediums[TULIP_MEDIA_ ## media] = (mi); \ |