Re: ata-all.c : undefined atapi_attach() in ata_attach()

2000-01-18 Thread Soren Schmidt
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[ct

ata-all.c : undefined atapi_attach() in ata_attach()

2000-01-18 Thread Valentin S. Chopov
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]->device