VIA IDE fix for 2.4.21-rc5

VIA IDE fix for 2.4.21-rc5

Post by Pavel Roski » Wed, 28 May 2003 23:50:09



Hi, Marcelo!

The last minute changes in 2.4.21-rc5 break VIA IDE compilation.  The
patch is attached.  The ID and the relative position of the entry in the
list have been taken from Linux 2.5.70.

--
Regards,
Pavel Roskin

  via8237.diff
< 1K Download
 
 
 

VIA IDE fix for 2.4.21-rc5

Post by Marcelo Tosatt » Thu, 29 May 2003 00:00:22



> Hi, Marcelo!

> The last minute changes in 2.4.21-rc5 break VIA IDE compilation.  The
> patch is attached.  The ID and the relative position of the entry in the
> list have been taken from Linux 2.5.70.

Actually its via82cxxx audio driver, and its already fixed in bk.

Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.4.21-rc5 - drivers/ide/pci/via82cxxx.c (PCI_DEVICE_ID_VIA_8237)

Hi,

With new -rc5 there is, something like add new:
{ "vt8237",     PCI_DEVICE_ID_VIA_8237,     0x00, 0x2f, VIA_UDMA_133 |
VIA_BAD_AST },

This is not correct.

After make bzImage I have:

(...)
make[4]: Entering directory `/usr/src/linux-2.4.20/drivers/ide/pci'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=athlon  -I../ -nostdinc -iwithprefix
include -DKBUILD_BASENAME=via82cxxx  -c -o via82cxxx.o via82cxxx.c
via82cxxx.c:78: `PCI_DEVICE_ID_VIA_8237' undeclared here (not in a function)
via82cxxx.c:78: initializer element is not constant
via82cxxx.c:78: (near initialization for `via_isa_bridges[0].id')
via82cxxx.c:78: initializer element is not constant
via82cxxx.c:78: (near initialization for `via_isa_bridges[0]')
(...)

So, you better live it in / FUTURE_BRIDGES / like it was before or something
;-)

P.S. It works, but I don't know if it supose to be that:

#ifdef FUTURE_BRIDGES
        { "vt8237",     PCI_DEVICE_ID_VIA_8237,     0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
#endif

Take care.

--
# Damian *dEiMoS* Ko3kowski # http://deimos.one.pl/ #
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Shared Memory Kernel Configurable Parameters on AIX

3. 2.4.21-pre7 & 2.4.21-pre5-ac3 IDE resets

4. Authenticate by referer OR username password

5. 2.4.21-rc5: DMA disabled for IDE Cdrom, works with 2.4.20

6. boot from floppy for Live CD...

7. [RFC] 2.4.21-rc1 fix to drivers/ide/Config.in

8. MP3 Players for Linux?

9. fix modular ide in 2.4.21-rc1

10. Linux 2.4.21-rc5-ac2

11. Oops in firewire (2.4.21-pre5 with 2.4.21-pre4 firewire driver)

12. 2.4.21-pre3aa1 and RAID0 issue (was: 2.4.21-pre2aa1 - RAID0 issue.)

13. PROBLEM: kernel 2.4.21-rc5 unpredictably hangs