Re: Compile fails 2.1.113 "trm290.c"

Andre M. Hedrick (hedrick@Astro.Dyer.Vanderbilt.Edu)
Sun, 2 Aug 1998 21:05:37 -0500 (CDT)


On Sun, 2 Aug 1998, Shawn K. Nocita wrote:

> Got this compiling 2.1.113 "up"
>
> trm290.c: In function `ide_init_trm290':
> trm290.c:252: structure has no member named `no_autodma'

In Mark Lord's patch against 2.1.112 that resulted in part of 2.1.113,
as with all good programmers, you miss a line once in a while.

hwif->dmaproc = &trm290_dmaproc;
hwif->selectproc = &trm290_selectproc;
- hwif->no_autodma = 1; /* play it safe for now */
#if 1
{

hwif->dmaproc = &trm290_dmaproc;
hwif->selectproc = &trm290_selectproc;
+ hwif->autodma = 0; /* play it safe for now */
#if 1
{

This is a minor change and I think that the flag direction is correct.

Mark, I think is this your intended methodology. Please correct if wrong.

Regards,
Andre

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html