Date: Wed, 19 Jan 2000 08:32:12 +0100 (CET) From: Soren Schmidt <sos@freebsd.dk> To: valsho@yahoo.com (Valentin S. Chopov) Cc: current@FreeBSD.ORG Subject: Re: ata-all.c : undefined atapi_attach() in ata_attach() Message-ID: <200001190732.IAA76172@freebsd.dk> In-Reply-To: <20000119021407.25113.qmail@web2102.mail.yahoo.com> from "Valentin S. Chopov" at "Jan 18, 2000 06:14:07 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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<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 fixed! -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001190732.IAA76172>