summaryrefslogtreecommitdiffstats
path: root/share/man/man9/ifnet.9
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-06-10 10:23:06 +0000
committeralex <alex@FreeBSD.org>2000-06-10 10:23:06 +0000
commit9207d01f3d04020c25da0f179c2d0c7e8bebbe40 (patch)
treee82d8d28349b06f72470eaddac0fb325fd35199c /share/man/man9/ifnet.9
parentdf75627b6c2980af54b56423dba2595a7b5c1ce3 (diff)
downloadFreeBSD-src-9207d01f3d04020c25da0f179c2d0c7e8bebbe40.zip
FreeBSD-src-9207d01f3d04020c25da0f179c2d0c7e8bebbe40.tar.gz
Remove XXX: Describe if_init().
Reviewed by: asmodai
Diffstat (limited to 'share/man/man9/ifnet.9')
-rw-r--r--share/man/man9/ifnet.99
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index b3ba3fd..e597772 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -107,7 +107,7 @@
.Ft void
.Fn (*if_poll_slowinput) "struct ifnet *ifp" "struct mbuf *m"
.Ft void
-.Fn (*if_init) "void *wtf_is_this"
+.Fn (*if_init) "void *if_softc"
.Ft int
.Fn (*if_resolvemulti) "struct ifnet *ifp" "struct sockaddr **retsa" "struct sockaddr *addr"
.Ss "struct ifaddr member function"
@@ -336,6 +336,7 @@ does not literally mean that output is active, but rather that the
device's internal output queue is full.)
.It Fn if_done
Not used. We're not even sure what it was ever for.
+The prototype is faked.
.It Fn if_ioctl
Process interface-related
.Xr ioctl 2
@@ -361,7 +362,11 @@ expires. Usually this will reset the interface.
.\" .Sx Polling
.\" section, below.
.It Fn if_init
-XXX fill me in
+Initialize and bring up the hardware,
+e.g. reset the chip and the watchdog timer and enable the receiver unit.
+Should mark the interface running,
+but not active
+.Dv ( IFF_RUNNING , ~IIF_OACTIVE ) .
.It Fn if_resolvemulti
Check the requested multicast group membership,
.Ar addr ,
OpenPOWER on IntegriCloud