[Top] [All Lists]

[2.6.0-test1] arch/mips/pci/pci.c Pb1500 build errors

To: linux-mips <>
Subject: [2.6.0-test1] arch/mips/pci/pci.c Pb1500 build errors
From: Liam Girdwood <>
Date: 16 Jul 2003 13:55:26 +0100
Original-recipient: rfc822;

I've found a few undeclared values (that should be #define'ed somewhere)
in arch/mips/pci/pci.c when I'm building for the Pb1500. i.e.

arch/mips/pci/pci.c: In function `pcibios_fixup_resources':
arch/mips/pci/pci.c:98: structure has no member named `name'
arch/mips/pci/pci.c:116: `IO_MEM_LOGICAL_START' undeclared (first use in
this function)
arch/mips/pci/pci.c:116: (Each undeclared identifier is reported only
arch/mips/pci/pci.c:116: for each function it appears in.)
arch/mips/pci/pci.c:117: `IO_MEM_LOGICAL_END' undeclared (first use in
this function)
arch/mips/pci/pci.c:118: `IO_MEM_VIRTUAL_OFFSET' undeclared (first use
in this function)
arch/mips/pci/pci.c:121: `IO_PORT_LOGICAL_START' undeclared (first use
in this function)
arch/mips/pci/pci.c:122: `IO_PORT_LOGICAL_END' undeclared (first use in
this function)
arch/mips/pci/pci.c:123: `IO_PORT_VIRTUAL_OFFSET' undeclared (first use
in this function)
make[1]: *** [arch/mips/pci/pci.o] Error 1
make: *** [arch/mips/pci] Error 2

However, if I add the following:-

#define IO_PORT_LOGICAL_START    (Au1500_PCI_IO_START + 0x300)
#define IO_PORT_LOGICAL_END      (Au1500_PCI_IO_END)
#define IO_MEM_LOGICAL_END     (Au1500_PCI_MEM_END)

I'm just left with the `IO_PORT_VIRTUAL_OFFSET' and
`IO_MEM_VIRTUAL_OFFSET' errors. I can't find anything familiar to them
from the Alchemy headers and noticed from 2.4 that both values used to
be set by ioremap().

Does anyone know what they should be ? 
I don't mind creating a patch for this.



Liam Girdwood <>

Wolfson Microelectronics plc
t: +44 131 272-7000
f: +44 131 272-7001
Registered in Scotland 89839

This message may contain confidential or proprietary information. If you 
receive this message in error, please
immediately delete it, destroy all copies of it and notify the sender. Any 
views expressed in this message are those of the individual sender,
except where the message states otherwise. We take reasonable precautions to 
ensure our Emails are virus free.
However, we cannot accept responsibility for any virus transmitted by us
and recommend that you subject any incoming Email to your own virus
checking procedures.

<Prev in Thread] Current Thread [Next in Thread>
  • [2.6.0-test1] arch/mips/pci/pci.c Pb1500 build errors, Liam Girdwood <=