2008-10-23 13:26:29 +08:00
|
|
|
#ifndef _ASM_X86_K8_H
|
|
|
|
#define _ASM_X86_K8_H
|
2006-06-26 19:56:40 +08:00
|
|
|
|
|
|
|
#include <linux/pci.h>
|
|
|
|
|
|
|
|
extern struct pci_device_id k8_nb_ids[];
|
|
|
|
|
|
|
|
extern int early_is_k8_nb(u32 value);
|
|
|
|
extern struct pci_dev **k8_northbridges;
|
|
|
|
extern int num_k8_northbridges;
|
|
|
|
extern int cache_k8_northbridges(void);
|
|
|
|
extern void k8_flush_garts(void);
|
2008-01-30 20:30:16 +08:00
|
|
|
extern int k8_scan_nodes(unsigned long start, unsigned long end);
|
2006-06-26 19:56:40 +08:00
|
|
|
|
2009-04-09 21:16:17 +08:00
|
|
|
#ifdef CONFIG_K8_NB
|
|
|
|
#define node_to_k8_nb_misc(node) \
|
|
|
|
(node < num_k8_northbridges) ? k8_northbridges[node] : NULL
|
|
|
|
#else
|
|
|
|
#define node_to_k8_nb_misc(node) NULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2008-10-23 13:26:29 +08:00
|
|
|
#endif /* _ASM_X86_K8_H */
|