From owner-freebsd-current Tue Jan 18 18:27:48 2000 Delivered-To: freebsd-current@freebsd.org Received: from web2102.mail.yahoo.com (web2102.mail.yahoo.com [128.11.68.246]) by hub.freebsd.org (Postfix) with SMTP id CCC1E14DB1 for ; Tue, 18 Jan 2000 18:27:45 -0800 (PST) (envelope-from valsho@yahoo.com) Received: (qmail 25114 invoked by uid 60001); 19 Jan 2000 02:14:07 -0000 Message-ID: <20000119021407.25113.qmail@web2102.mail.yahoo.com> Received: from [147.226.112.101] by web2102.mail.yahoo.com; Tue, 18 Jan 2000 18:14:07 PST Date: Tue, 18 Jan 2000 18:14:07 -0800 (PST) From: "Valentin S. Chopov" Subject: ata-all.c : undefined atapi_attach() in ata_attach() To: Soren Schmidt Cc: current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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; ctlrdevices & 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message