From owner-freebsd-questions Fri Feb 22 8:13:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from MAIL.NetOctave.com (netoctave-gw.customer.alter.net [65.195.230.86]) by hub.freebsd.org (Postfix) with ESMTP id 42AAF37B405; Fri, 22 Feb 2002 08:13:36 -0800 (PST) Received: from netoctave.com (kthiele.netoctave.com [192.168.201.34]) by MAIL.NetOctave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id FN7ZDW1V; Fri, 22 Feb 2002 11:13:30 -0500 Message-ID: <3C766D45.9020509@netoctave.com> Date: Fri, 22 Feb 2002 11:09:41 -0500 From: Karl Thiele User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Cc: spearsg@gte.net, cjc@FreeBSD.ORG Subject: Re: miibus_if.h References: <000701c1bb42$c46566e0$11cb173f@oemcomputer> <20020222031551.O48401@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG First, I am porting a driver to FreeBSD, so I am new to FreeBSD kernel, but I know in the conf directory in the "files" file there is an entry for generating miibus_if.h, here is a snapshot. you have to build the kernel sources to get this file. If I am wrong some correct me. Documentation on makeopts.pl would be appreciated. dev/mii/qsphy.c optional miibus dev/mii/acphy.c optional miibus miibus_if.o optional miibus \ dependency "miibus_if.c miibus_if.h" \ compile-with "${NORMAL_C}" \ no-implicit-rule local miibus_if.c optional miibus \ dependency "$S/kern/makeops.pl $S/dev/mii/miibus_if.m" \ compile-with "perl5 $S/kern/makeops.pl -c $S/dev/mii/miibus_if.m" \ no-obj no-implicit-rule before-depend local \ clean "miibus_if.c" miibus_if.h optional miibus \ dependency "$S/kern/makeops.pl $S/dev/mii/miibus_if.m" \ compile-with "perl5 $S/kern/makeops.pl -h $S/dev/mii/miibus_if.m" \ no-obj no-implicit-rule before-depend \ clean "miibus_if.h" Crist J. Clark wrote: >On Thu, Feb 21, 2002 at 05:46:35PM -0800, Garret R Spears wrote: > >>Ok, I am pretty sure that I have gone thru everything looking for >>miibus_if.h. >> > >There is no such file in the source. It is auto generated from files >in src/sys/dev/mii. That directory should be there in >RELENG_4_0_0_RELEASE. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message