From owner-freebsd-current Tue Jan 18 23:32:21 2000 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id BF622150F3 for ; Tue, 18 Jan 2000 23:32:16 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id IAA76172; Wed, 19 Jan 2000 08:32:12 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200001190732.IAA76172@freebsd.dk> Subject: Re: ata-all.c : undefined atapi_attach() in ata_attach() In-Reply-To: <20000119021407.25113.qmail@web2102.mail.yahoo.com> from "Valentin S. Chopov" at "Jan 18, 2000 06:14:07 pm" To: valsho@yahoo.com (Valentin S. Chopov) Date: Wed, 19 Jan 2000 08:32:12 +0100 (CET) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Valentin S. Chopov wrote: > > 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 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 fixed! -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message