Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci No functional change:
details: https://anonhg.NetBSD.org/src/rev/5e1a7903cf11
branches: trunk
changeset: 969918:5e1a7903cf11
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Mar 05 15:36:39 2020 +0000
description:
No functional change:
- Fix typo in comment.
- Whitespace
diffstat:
sys/dev/pci/if_ti.c | 12 ++++++------
sys/dev/pci/if_tireg.h | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r a18efc19a7d3 -r 5e1a7903cf11 sys/dev/pci/if_ti.c
--- a/sys/dev/pci/if_ti.c Thu Mar 05 15:33:13 2020 +0000
+++ b/sys/dev/pci/if_ti.c Thu Mar 05 15:36:39 2020 +0000
@@ -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_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 @@
}
/*
- * 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 @@
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 @@
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 -r a18efc19a7d3 -r 5e1a7903cf11 sys/dev/pci/if_tireg.h
--- a/sys/dev/pci/if_tireg.h Thu Mar 05 15:33:13 2020 +0000
+++ b/sys/dev/pci/if_tireg.h Thu Mar 05 15:36:39 2020 +0000
@@ -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.
*/
Home |
Main Index |
Thread Index |
Old Index