* Re: Linux 2.4.21-pre7 - hpt366.c does not build
2003-04-04 21:15 Linux 2.4.21-pre7 Marcelo Tosatti
@ 2003-04-05 3:52 ` Eyal Lebedinsky
2003-04-21 16:33 ` Marcelo Tosatti
0 siblings, 1 reply; 3+ messages in thread
From: Eyal Lebedinsky @ 2003-04-05 3:52 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: lkml
Marcelo Tosatti wrote:
>
> So here goes -pre7. Hopefully the last -pre.
>
> Please try it.
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre/include -Wall
-Wstrict-pro
totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4
-I../ -nost
dinc -iwithprefix include -DKBUILD_BASENAME=hpt366 -c -o hpt366.o
hpt366.c
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.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:184: warning: unreachable code at beginning of switch statement
hpt366.c: In function `init_setup_hpt366':
hpt366.c:1227: `PCI_DEVICE_ID_TTI_HPT372N' undeclared (first use in this
functio
n)
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')
make[4]: *** [hpt366.o] Error 1
make[4]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre/drivers/ide/pci'
--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux 2.4.21-pre7 - hpt366.c does not build
@ 2003-04-05 11:41 O.Sezer
0 siblings, 0 replies; 3+ messages in thread
From: O.Sezer @ 2003-04-05 11:41 UTC (permalink / raw)
To: linux-kernel
It may need something like this, I think
(from my archives, doesn't have to apply
cleanly but you get the idea).
=== hpt372n-pci_ids.patch ===
--- linux/include/linux/pci_ids.h.orig 2003-03-11 18:50:01.000000000 +0200
+++ linux/include/linux/pci_ids.h 2003-03-19 16:16:09.000000000 +0200
@@ -975,6 +975,7 @@
#define PCI_DEVICE_ID_TTI_HPT372 0x0005
#define PCI_DEVICE_ID_TTI_HPT302 0x0006
#define PCI_DEVICE_ID_TTI_HPT371 0x0007
+#define PCI_DEVICE_ID_TTI_HPT372N 0x0009
#define PCI_DEVICE_ID_TTI_HPT374 0x0008
#define PCI_VENDOR_ID_VIA 0x1106
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux 2.4.21-pre7 - hpt366.c does not build
2003-04-05 3:52 ` Linux 2.4.21-pre7 - hpt366.c does not build Eyal Lebedinsky
@ 2003-04-21 16:33 ` Marcelo Tosatti
0 siblings, 0 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2003-04-21 16:33 UTC (permalink / raw)
To: Eyal Lebedinsky; +Cc: lkml
On Sat, 5 Apr 2003, Eyal Lebedinsky wrote:
> 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')
> make[4]: *** [hpt366.o] Error 1
> make[4]: Leaving directory
> `/data2/usr/local/src/linux-2.4-pre/drivers/ide/pci'
Fixed in -BK tree.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-21 16:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-05 11:41 Linux 2.4.21-pre7 - hpt366.c does not build O.Sezer
-- strict thread matches above, loose matches on Subject: below --
2003-04-04 21:15 Linux 2.4.21-pre7 Marcelo Tosatti
2003-04-05 3:52 ` Linux 2.4.21-pre7 - hpt366.c does not build Eyal Lebedinsky
2003-04-21 16:33 ` Marcelo Tosatti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox