mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
Give the network device a print method.
Reviewed by: obrien
This commit is contained in:
parent
5b98b64392
commit
f1fb6c2132
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68547
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user