It seems that we need #if...#endif here, maybe
something like that:
...
#if NATAPICD > 0 || NATAPIFD > 0 || NATAPIST > 0
/* then the atapi devices */
for (ctlr=0; ctlr<MAXATA; ctlr++) {
if (!atadevices[ctlr]) continue;
if (atadevices[ctlr]->devices &
ATA_ATAPI_MASTER)
atapi_attach(atadevices[ctlr],
ATA_MASTER);
if (atadevices[ctlr]->devices &
ATA_ATAPI_SLAVE)
atapi_attach(atadevices[ctlr], ATA_SLAVE);
}
#endif
...
Val
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message