summaryrefslogtreecommitdiffstats
path: root/sys/dev/ctau
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2005-07-09 13:44:36 +0000
committerrik <rik@FreeBSD.org>2005-07-09 13:44:36 +0000
commit5910b0e97008755b1f687974ad75e35924330296 (patch)
tree4a912e6e5b7e0217f86a94cae1fe17bc05dcaf6e /sys/dev/ctau
parentfebd45c7d3ecb1509db168f47773b5bae9687380 (diff)
downloadFreeBSD-src-5910b0e97008755b1f687974ad75e35924330296.zip
FreeBSD-src-5910b0e97008755b1f687974ad75e35924330296.tar.gz
Space & alignment nits.
Approved by: re (scottl)
Diffstat (limited to 'sys/dev/ctau')
-rw-r--r--sys/dev/ctau/if_ct.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c
index cedf3a9..e103377 100644
--- a/sys/dev/ctau/if_ct.c
+++ b/sys/dev/ctau/if_ct.c
@@ -741,22 +741,22 @@ static int ct_attach (device_t dev)
ct_bus_dma_mem_free (&d->dmamem);
continue;
}
- d->ifp->if_softc = d;
+ d->ifp->if_softc = d;
if_initname (d->ifp, "ct", b->num * NCHAN + c->num);
- d->ifp->if_mtu = PP_MTU;
+ d->ifp->if_mtu = PP_MTU;
d->ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
if (!ct_mpsafenet)
d->ifp->if_flags |= IFF_NEEDSGIANT;
d->ifp->if_ioctl = ct_sioctl;
d->ifp->if_start = ct_ifstart;
d->ifp->if_watchdog = ct_ifwatchdog;
- d->ifp->if_init = ct_initialize;
+ d->ifp->if_init = ct_initialize;
d->queue.ifq_maxlen = NBUF;
mtx_init (&d->queue.ifq_mtx, "ct_queue", NULL, MTX_DEF);
sppp_attach (d->ifp);
if_attach (d->ifp);
- IFP2SP(d->ifp)->pp_tlf = ct_tlf;
- IFP2SP(d->ifp)->pp_tls = ct_tls;
+ IFP2SP(d->ifp)->pp_tlf = ct_tlf;
+ IFP2SP(d->ifp)->pp_tls = ct_tls;
/* If BPF is in the kernel, call the attach for it.
* Header size is 4 bytes. */
bpfattach (d->ifp, DLT_PPP, 4);
OpenPOWER on IntegriCloud