vserver 1.9.5.x5
[linux-2.6.git] / include / asm-sparc64 / pci.h
index 9f77109..861f165 100644 (file)
@@ -168,7 +168,7 @@ extern int pci_dma_supported(struct pci_dev *hwdev, u64 mask);
  * can drive enough of the 64 bits.
  */
 #define PCI64_REQUIRED_MASK    (~(dma64_addr_t)0)
-#define PCI64_ADDR_BASE                0xfffc000000000000
+#define PCI64_ADDR_BASE                0xfffc000000000000UL
 
 /* Usage of the pci_dac_foo interfaces is only valid if this
  * test passes.
@@ -251,6 +251,11 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
 {
 }
 
+static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
+{
+       return PCI_IRQ_NONE;
+}
+
 #endif /* __KERNEL__ */
 
 #endif /* __SPARC64_PCI_H */