Print this page
12309 errors in section 9e of the manual

@@ -2,16 +2,15 @@
 .\" Copyright (c) 2003, Sun Microsystems, Inc.
 .\" All Rights Reserved
 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH GLD 9F "Aug 28, 2003"
+.TH GLD 9F "February 15, 2020"
 .SH NAME
 gld, gld_mac_alloc, gld_mac_free, gld_register, gld_unregister, gld_recv,
 gld_sched, gld_intr \- Generic LAN Driver service routines
 .SH SYNOPSIS
-.LP
 .nf
 #include <sys/gld.h>
 
 \fBgld_mac_info_t *\fR\fBgld_mac_alloc\fR(\fBdev_info_t *\fR\fIdip\fR);
 .fi

@@ -50,15 +49,12 @@
 .nf
 \fBvoid\fR \fBgld_linkstate\fR(\fBgld_mac_info_t *\fR\fImacinfo\fR, \fBint32_t\fR \fInewstate\fR);
 .fi
 
 .SH INTERFACE LEVEL
-.sp
-.LP
 Solaris architecture specific (Solaris DDI).
 .SH PARAMETERS
-.sp
 .ne 2
 .na
 \fB\fImacinfo\fR \fR
 .ad
 .RS 13n

@@ -100,12 +96,10 @@
 .RS 13n
 Media link state.
 .RE
 
 .SH DESCRIPTION
-.sp
-.LP
 \fBgld_mac_alloc\fR(\|) allocates a new \fBgld_mac_info\fR(9S) structure and
 returns a pointer to it. Some of the GLD-private elements of the structure may
 be initialized before \fBgld_mac_alloc\fR(\|) returns; all other elements are
 initialized to zero. The device driver must initialize some structure members,
 as described in \fBgld_mac_info\fR(9S), before passing the mac_info pointer to

@@ -262,14 +256,12 @@
 .RE
 
 .sp
 .LP
 If a driver calls \fBgld_linkstate()\fR, it must also set the GLD_CAP_LINKSTATE
-bit  in the  gldm_capabilties field of the \fBgld_mac_info\fR(9S) structure.
+bit in the gldm_capabilities field of the \fBgld_mac_info\fR(9S) structure.
 .SH RETURN VALUES
-.sp
-.LP
 \fBgld_mac_alloc\fR(\|) returns a pointer to a new \fBgld_mac_info\fR(9S)
 structure.
 .sp
 .LP
 \fBgld_register\fR(\|) and \fBgld_unregister\fR(\|) return:

@@ -293,12 +285,10 @@
 
 .sp
 .LP
 \fBgld_intr\fR(\|) returns a value appropriate for an interrupt handler.
 .SH SEE ALSO
-.sp
-.LP
 \fBgld\fR(7D), \fBgld\fR(9E), \fBgld_mac_info\fR(9S), \fBgld_stats\fR(9S),
 \fBdlpi\fR(7P), \fBattach\fR(9E), \fBddi_add_intr\fR(9F)
 .sp
 .LP
 \fIWriting Device Drivers\fR