First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / x86 / include / asm / k8.h
blobc2d1f3b58e5f1342607280be6a71d434796482dd
1 #ifndef _ASM_X86_K8_H
2 #define _ASM_X86_K8_H
4 #include <linux/pci.h>
6 extern struct pci_device_id k8_nb_ids[];
8 extern int early_is_k8_nb(u32 value);
9 extern struct pci_dev **k8_northbridges;
10 extern int num_k8_northbridges;
11 extern int cache_k8_northbridges(void);
12 extern void k8_flush_garts(void);
13 extern int k8_scan_nodes(unsigned long start, unsigned long end);
15 #ifdef CONFIG_K8_NB
16 static inline struct pci_dev *node_to_k8_nb_misc(int node)
18 return (node < num_k8_northbridges) ? k8_northbridges[node] : NULL;
20 #else
21 static inline struct pci_dev *node_to_k8_nb_misc(int node)
23 return NULL;
25 #endif
28 #endif /* _ASM_X86_K8_H */