lkml.org 
[lkml]   [2002]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.15: pdc202xx.c compile failure?
On Fri, 17 May 2002, Matthias Andree wrote:

> Hello,

Hi Matthias,

> I used linux-2.5.7 and applied all patches up to 2.5.15 with
> scripts/patch-kernel.
>
> I did make oldconfig ; make dep clean bzImage and compiling the promise
> IDE driver gives this:
>
> make[3]: Entering directory `/suse/kernel/linux-2.5.15/drivers/ide'
> gcc -D__KERNEL__ -I/suse/kernel/linux-2.5.15/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -malign-functions=4 -DKBUILD_BASENAME=pdc202xx -c -o
> pdc202xx.o pdc202xx.c
> pdc202xx.c:1453: unknown field `exnablebits' specified in initializer
>...

this is a known typo.

The fix is simple:

--- linux-2.5.15/drivers/ide/pdc202xx.c Thu May 9 23:25:39 2002
+++ linux-2.5/drivers/ide/pdc202xx.c Sun May 12 21:08:10 2002
@@ -1450,7 +1450,7 @@
init_chipset: pdc202xx_init_chipset,
ata66_check: ata66_pdc202xx,
init_channel: ide_init_pdc202xx,
- exnablebits: {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
+ enablebits: {{0x50,0x02,0x02}, {0x50,0x04,0x04}},
bootable: OFF_BOARD,
extra: 48,
flags: ATA_F_IRQ | ATA_F_DMA
cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.032 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site