aboutsummaryrefslogtreecommitdiff
path: root/stand/common/dev_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/common/dev_net.c')
-rw-r--r--stand/common/dev_net.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/stand/common/dev_net.c b/stand/common/dev_net.c
index 70b571047d56..3cd78c5346ac 100644
--- a/stand/common/dev_net.c
+++ b/stand/common/dev_net.c
@@ -29,9 +29,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
/*-
* This module implements a "raw device" interface suitable for
* use by the stand-alone I/O library NFS code. This interface
@@ -86,15 +83,15 @@ static int net_print(int);
static int net_getparams(int sock);
struct devsw netdev = {
- "net",
- DEVT_NET,
- net_init,
- net_strategy,
- net_open,
- net_close,
- noioctl,
- net_print,
- net_cleanup
+ .dv_name = "net",
+ .dv_type = DEVT_NET,
+ .dv_init = net_init,
+ .dv_strategy = net_strategy,
+ .dv_open = net_open,
+ .dv_close = net_close,
+ .dv_ioctl = noioctl,
+ .dv_print = net_print,
+ .dv_cleanup = net_cleanup,
};
static struct uri_scheme {