diff options
author | jhb <jhb@FreeBSD.org> | 2005-07-21 16:33:05 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-07-21 16:33:05 +0000 |
commit | 7bca04440d312a90ed0845ca3e8b95349c82bbb4 (patch) | |
tree | 89b9c8d79fcc174c3779ef83e404f1283e2c22fd /sys/pci/if_devar.h | |
parent | 2343049cfab21571a747ee6085b33cabb5af8d69 (diff) | |
download | FreeBSD-src-7bca04440d312a90ed0845ca3e8b95349c82bbb4.zip FreeBSD-src-7bca04440d312a90ed0845ca3e8b95349c82bbb4.tar.gz |
Fix a typo and some whitespace nits.
Diffstat (limited to 'sys/pci/if_devar.h')
-rw-r--r-- | sys/pci/if_devar.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/pci/if_devar.h b/sys/pci/if_devar.h index 54ed8d6..955e39f 100644 --- a/sys/pci/if_devar.h +++ b/sys/pci/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); \ |