From 0268629b4f753fd4a0f76b1ab3467287f30fd286 Mon Sep 17 00:00:00 2001 From: benno Date: Fri, 10 Nov 2000 06:37:43 +0000 Subject: Give the network device a print method. Reviewed by: obrien --- sys/boot/common/dev_net.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/boot/common/dev_net.c b/sys/boot/common/dev_net.c index 884366f..5e7b736 100644 --- a/sys/boot/common/dev_net.c +++ b/sys/boot/common/dev_net.c @@ -83,6 +83,7 @@ static int net_init(void); static int net_open(struct open_file *, ...); static int net_close(struct open_file *); static int net_strategy(); +static void net_print(int); static int net_getparams(int sock); @@ -93,7 +94,8 @@ struct devsw netdev = { net_strategy, net_open, net_close, - noioctl + noioctl, + net_print }; int @@ -284,3 +286,9 @@ net_getparams(sock) printf("net_open: server path: %s\n", rootpath); return (0); } + +static void +net_print(int verbose) +{ + return; +} -- cgit v1.1