summaryrefslogtreecommitdiffstats
path: root/sys/boot/common
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2000-11-10 06:37:43 +0000
committerbenno <benno@FreeBSD.org>2000-11-10 06:37:43 +0000
commit0268629b4f753fd4a0f76b1ab3467287f30fd286 (patch)
tree221fe9aa06642da2e130ea6b68b4d70b337a47f5 /sys/boot/common
parentc6aac5b5ce5c58903fb45cfce6c75d79b6894514 (diff)
downloadFreeBSD-src-0268629b4f753fd4a0f76b1ab3467287f30fd286.zip
FreeBSD-src-0268629b4f753fd4a0f76b1ab3467287f30fd286.tar.gz
Give the network device a print method.
Reviewed by: obrien
Diffstat (limited to 'sys/boot/common')
-rw-r--r--sys/boot/common/dev_net.c10
1 files changed, 9 insertions, 1 deletions
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;
+}
OpenPOWER on IntegriCloud