Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 11:09:41 -0500
From:      Karl Thiele <kthiele@netoctave.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        spearsg@gte.net, cjc@FreeBSD.ORG
Subject:   Re: miibus_if.h
Message-ID:  <3C766D45.9020509@netoctave.com>
References:  <000701c1bb42$c46566e0$11cb173f@oemcomputer> <20020222031551.O48401@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C766D45.9020509>