Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 1995 13:24:03 -0700
From:      Steven Wallace <swallace@ece.uci.edu>
To:        odiug@gom.informatik.rwth-aachen.de (Guido Muesch)
Cc:        freebsd-current@freebsd.org
Subject:   Re: Where is IDE CDROM? 
Message-ID:  <199510262024.NAA27215@newport.ece.uci.edu>
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
> #ifndef ATAPI_MODULE
> #   define ATAPI_STATIC
> #endif
> 
> I changed that and the kernel seems to recognizes my CD-Rom, but the kernel
> crashes in wd.c:wcdattach trying to call atapi_request_immediate.
> 
> Ist this fixed by now, or do I have a great misunderstanding here?
> My 'current' is a few days old now.
> 

This is what you have to do:
In your config, add:

options         ATAPI                   #Enable ATAPI support for IDE bus
options         ATAPI_STATIC
device          wcd0    #IDE CD-ROM

This will compile everything you need for the ATAPI driver in the kernel.
Alternatively, if you want to just be able to load the lkm, ONLY
define options ATAPI.

This got me confused for a while until I looked at the code closely.
Probably should be documented inside LINT.

Steven




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