Protect a kernel structure by _KERNEL.

This commit is contained in:
Hartmut Brandt 2003-07-15 10:22:55 +00:00
parent 7e9024cdd9
commit e6b34a1dbb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117625

View File

@ -159,6 +159,7 @@ struct atmio_vcctable {
#define ATM_RATE_622M 1412830
#define ATM_RATE_2_4G 5651320
#ifdef _KERNEL
/*
* Common fields for all ATM interfaces. Each driver's softc must start with
* this structure.
@ -169,6 +170,7 @@ struct ifatm {
void *phy; /* usually SUNI */
void *ngpriv; /* netgraph link */
};
#endif
/*
* Keep structures in sync with ng_atm.h