Give the network device a print method.

Reviewed by:	obrien
This commit is contained in:
Benno Rice 2000-11-10 06:37:43 +00:00
parent 5b98b64392
commit f1fb6c2132
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68547

View File

@ -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;
}