hpt366.c cannot be built in current 2.4 bk snapshot

hpt366.c cannot be built in current 2.4 bk snapshot

Post by Oleg Droki » Mon, 21 Apr 2003 14:40:07



Hello!

   hpt366.c misses PCI_DEVICE_ID_TTI_HPT372N define somewhere (probably lost
   in merge with -ac). This is starting from March 24th or thereabout.
In file included from hpt366.c:70:
hpt366.h:517: `PCI_DEVICE_ID_TTI_HPT372N' undeclared here (not in a function)
hpt366.h:517: initializer element is not constant
hpt366.h:517: (near initialization for `hpt366_chipsets[5].device')
hpt366.h:526: initializer element is not constant
hpt366.h:526: (near initialization for `hpt366_chipsets[5].enablebits[0]')
hpt366.h:526: initializer element is not constant
hpt366.h:526: (near initialization for `hpt366_chipsets[5].enablebits[1]')
hpt366.h:526: initializer element is not constant
hpt366.h:526: (near initialization for `hpt366_chipsets[5].enablebits')
hpt366.h:529: initializer element is not constant
hpt366.h:529: (near initialization for `hpt366_chipsets[5]')
hpt366.h:534: initializer element is not constant
hpt366.h:534: (near initialization for `hpt366_chipsets[6]')
hpt366.c: In function `hpt_revision':
hpt366.c:183: `PCI_DEVICE_ID_TTI_HPT372N' undeclared (first use in this function)
hpt366.c:183: (Each undeclared identifier is reported only once
hpt366.c:183: for each function it appears in.)
hpt366.c: In function `init_setup_hpt366':
hpt366.c:1227: `PCI_DEVICE_ID_TTI_HPT372N' undeclared (first use in this function)
hpt366.c: At top level:
hpt366.c:1289: `PCI_DEVICE_ID_TTI_HPT372N' undeclared here (not in a function)
hpt366.c:1289: initializer element is not constant
hpt366.c:1289: (near initialization for `hpt366_pci_tbl[5].device')
hpt366.c:1289: initializer element is not constant
hpt366.c:1289: (near initialization for `hpt366_pci_tbl[5]')
hpt366.c:1290: initializer element is not constant
hpt366.c:1290: (near initialization for `hpt366_pci_tbl[6]')
make[4]: *** [hpt366.o] Error 1

Bye,
    Oleg
-
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. compile fix for dmi_scan.c in 2.4.bk-current

Marcelo,
        Saw you've inc'ed the EXTRAVERSION in bk, so I figured I should send
this fix to you before you mailed out pre11.

I'm not sure if its the "proper" fix, but solves:

arch/i386/kernel/kernel.o: In function `fix_broken_hp_bios_irq9':
arch/i386/kernel/kernel.o(.text.init+0x3601): undefined reference to
`broken_hp_bios_irq9'
arch/i386/kernel/kernel.o(.text.init+0x3614): undefined reference to
`broken_hp_bios_irq9'

thanks
-john

PS: agpgart seems broken as well, but I don't normally build w/ it, so
I'll leave the fix to someone who knows what they're doing.

--- 1.26/arch/i386/kernel/dmi_scan.c    Thu Oct 10 16:12:50 2002

 static __init int fix_broken_hp_bios_irq9(struct dmi_blacklist *d)
 {
 #ifdef CONFIG_PCI
-       extern int broken_hp_bios_irq9;
+       int broken_hp_bios_irq9;
        if (broken_hp_bios_irq9 == 0)
        {
                broken_hp_bios_irq9 = 1;

-
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. Two Hard drives

3. current bk ipmi build fix

4. Those who have gotten OpenGL to build in Qt 2.2.0

5. bk current build failures (xfrm.h / tpqic02.c)

6. Proper Permissions in /dev.

7. bk current - new module build failures

8. RedHat 5.1 ppp problem

9. 2.4 kernel 2.4 ppp cannot connect

10. How to enable hpt366 support in 2.4 kernels

11. HPT366/368/370 IDE/SCSI-EMULATION PROBLEMS (2.4.x)

12. 2.4: Minor build fix for ext3 (2.4 and 2.5)

13. Solaris 2.4 & SunSoft CDE Snapshot