From 9207d01f3d04020c25da0f179c2d0c7e8bebbe40 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 10 Jun 2000 10:23:06 +0000 Subject: Remove XXX: Describe if_init(). Reviewed by: asmodai --- share/man/man9/ifnet.9 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'share/man/man9/ifnet.9') 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 , -- cgit v1.1