Deleted Added
sdiff udiff text old ( 37101 ) new ( 38061 )
full compact
1/*
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
9 * $Id: pps.c,v 1.8 1998/06/13 09:30:10 phk Exp $
10 *
11 * This driver implements a draft-mogul-pps-api-02.txt PPS source.
12 *
13 * The input pin is pin#10
14 * The echo output pin is pin#14
15 *
16 */
17

--- 70 unchanged lines hidden (view full) ---

88 bzero(sc, sizeof(struct pps_data));
89
90 softc[npps] = sc;
91
92 sc->pps_unit = npps++;
93
94 sc->pps_dev.id_unit = sc->pps_unit;
95 sc->pps_dev.ppb = ppb;
96 sc->pps_dev.intr = ppsintr;
97
98 return (&sc->pps_dev);
99}
100
101static int
102ppsattach(struct ppb_device *dev)
103{

--- 97 unchanged lines hidden ---