Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 1995 10:01:18 -0400
From:      Josh Littlefield <josh@American.COM>
To:        odiug@gom.informatik.rwth-aachen.de (Guido Muesch)
Cc:        freebsd-current@freebsd.org
Subject:   Re: Where is IDE CDROM? 
Message-ID:  <199510261401.KAA13841@mozart.american.com>
In-Reply-To: Your message of "Thu, 26 Oct 1995 13:10:21." <9510261210.AA12214@gom.informatik.rwth-aachen.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Shouldn't that be:
> #ifndef ATAPI_MODULE
> #   define ATAPI_STATIC
> #endif

No.  If building a kernel with drivers installed (NOT modloadable atapi 
support), then "options ATAPI_STATIC" should be in the config file, along with 
"options ATAPI".  These then become #defines in the kernel Makefile.

If you are building to support loadable atapi drivers instead, then DON'T 
include "options ATAPI_STATIC".  The Makefile for building the loadable 
drivers will define ATAPI_MODULE.  The code you found is to create the 
ATAPI_STATIC definition in this case, where it doesn't otherwise exist.

Perhaps this will help.

-josh

========================================================================
Josh Littlefield                           American Internet Corporation
josh@american.com                                        4 Preston Court
tel: 617-271-9200  fax: 617-275-4930             Bedford, MA  01730-2334




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