diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2020-03-05 15:36:39 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2020-03-05 15:36:39 +0000 |
| commit | c18d8488f8f12ad5f8b80fc8cb5340d55f093a57 (patch) | |
| tree | a5a5f4cd336d91bdac7f2254d4d8551daa6bad9c /sys/dev | |
| parent | 3c0f0e6390b5b1d55410da070e541a31f6ef922d (diff) | |
No functional change:
- Fix typo in comment.
- Whitespace
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_ti.c | 12 | ||||
| -rw-r--r-- | sys/dev/pci/if_tireg.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c index 2237ba56950..e199994f4b3 100644 --- a/sys/dev/pci/if_ti.c +++ b/sys/dev/pci/if_ti.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ti.c,v 1.117 2020/03/05 15:33:13 msaitoh Exp $ */ +/* $NetBSD: if_ti.c,v 1.118 2020/03/05 15:36:39 msaitoh Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -81,7 +81,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.117 2020/03/05 15:33:13 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ti.c,v 1.118 2020/03/05 15:36:39 msaitoh Exp $"); #include "opt_inet.h" @@ -226,7 +226,7 @@ ti_eeprom_putbyte(struct ti_softc *sc, int byte) TI_SETBIT(sc, TI_MISC_LOCAL_CTL, TI_MLC_EE_TXEN); /* - * Feed in each bit and stobe the clock. + * Feed in each bit and strobe the clock. */ for (i = 0x80; i; i >>= 1) { if (byte & i) { @@ -2208,7 +2208,7 @@ ti_stats_update(struct ti_softc *sc) } /* - * Encapsulate an mbuf chain in the tx ring by coupling the mbuf data + * Encapsulate an mbuf chain in the tx ring by coupling the mbuf data * pointers to descriptors. */ static int @@ -2687,7 +2687,7 @@ ti_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr) static int ti_ether_ioctl(struct ifnet *ifp, u_long cmd, void *data) { - struct ifaddr *ifa = (struct ifaddr *) data; + struct ifaddr *ifa = (struct ifaddr *)data; struct ti_softc *sc = ifp->if_softc; if ((ifp->if_flags & IFF_UP) == 0) { @@ -2720,7 +2720,7 @@ static int ti_ioctl(struct ifnet *ifp, u_long command, void *data) { struct ti_softc *sc = ifp->if_softc; - struct ifreq *ifr = (struct ifreq *) data; + struct ifreq *ifr = (struct ifreq *)data; int s, error = 0; struct ti_cmd_desc cmd; diff --git a/sys/dev/pci/if_tireg.h b/sys/dev/pci/if_tireg.h index 1fa41b69c93..1164e5ad536 100644 --- a/sys/dev/pci/if_tireg.h +++ b/sys/dev/pci/if_tireg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_tireg.h,v 1.25 2020/02/29 19:29:38 thorpej Exp $ */ +/* $NetBSD: if_tireg.h,v 1.26 2020/03/05 15:36:39 msaitoh Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -39,7 +39,7 @@ * which can be accessed with the CSR_READ_4()/CSR_WRITE_4() macros. * Each register must be accessed using 32 bit operations. * - * All reegisters are accessed through a 16K shared memory block. + * All registers are accessed through a 16K shared memory block. * The first group of registers are actually copies of the PCI * configuration space registers. */ |
