|
Lines 32-44
Link Here
|
| 32 |
|
32 |
|
| 33 |
#define PPS_NAME "lppps" /* our official name */ |
33 |
#define PPS_NAME "lppps" /* our official name */ |
| 34 |
|
34 |
|
| 35 |
static struct pps_data { |
35 |
struct pps_data { |
| 36 |
int pps_unit; |
36 |
int pps_unit; |
| 37 |
struct ppb_device pps_dev; |
37 |
struct ppb_device pps_dev; |
| 38 |
struct pps_state pps; |
38 |
struct pps_state pps; |
| 39 |
} *softc[NPPS]; |
39 |
}; |
| 40 |
|
40 |
|
| 41 |
static int npps; |
41 |
#define MAXPPS 8 /* XXX not much better! */ |
|
|
42 |
static int npps = 0; |
| 43 |
static struct pps_data *softc[MAXPPS]; |
| 42 |
|
44 |
|
| 43 |
/* |
45 |
/* |
| 44 |
* Make ourselves visible as a ppbus driver |
46 |
* Make ourselves visible as a ppbus driver |