From michaele@enky.mxim.com  Thu Oct 22 09:16:47 1998
Received: from enky.mxim.com (enky.mxim.com [204.17.143.155])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA15799
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Oct 1998 09:16:42 -0700 (PDT)
          (envelope-from michaele@enky.mxim.com)
Received: (from michaele@localhost)
	by enky.mxim.com (8.9.1/8.9.1) id JAA01072;
	Thu, 22 Oct 1998 09:16:42 -0700 (PDT)
	(envelope-from michaele)
Message-Id: <199810221616.JAA01072@enky.mxim.com>
Date: Thu, 22 Oct 1998 09:16:42 -0700 (PDT)
From: Michael Enkelis <michaele@enky.mxim.com>
Reply-To: michaele@enky.mxim.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Small code cleanup in xl driver
X-Send-Pr-Version: 3.2

>Number:         8409
>Category:       kern
>Synopsis:       Small code cleanup in xl driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 22 09:20:00 PDT 1998
>Closed-Date:    Thu Oct 22 09:47:35 PDT 1998
>Last-Modified:  Thu Oct 22 09:48:09 PDT 1998
>Originator:     Michael Enkelis
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
none
>Environment:

	N/A

>Description:

	Invalid "C" syntax in if_xl.c
	There should be a "," between "0 NULL"
	and the ":" at end of line should be ";"

>How-To-Repeat:

	compile with "FORCE_AUTONEG_TFOUR" defined.


>Fix:
On line #986 of /usr/src/sys/pci/if_xl.c:
                ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_AUTO, 0 NULL):	
                                                               ^     ^
Change to:
                ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_AUTO, 0, NULL);	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wpaul 
State-Changed-When: Thu Oct 22 09:47:35 PDT 1998 
State-Changed-Why:  

Fix applied. Thanks, and sorry for the trouble. 

-Bill 
>Unformatted:
