You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
634 B
28 lines
634 B
#ifndef _ASM_X86_K8_H
|
|
#define _ASM_X86_K8_H
|
|
|
|
#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);
|
|
extern int k8_scan_nodes(unsigned long start, unsigned long end);
|
|
|
|
#ifdef CONFIG_K8_NB
|
|
static inline struct pci_dev *node_to_k8_nb_misc(int node)
|
|
{
|
|
return (node < num_k8_northbridges) ? k8_northbridges[node] : NULL;
|
|
}
|
|
#else
|
|
static inline struct pci_dev *node_to_k8_nb_misc(int node)
|
|
{
|
|
return NULL;
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* _ASM_X86_K8_H */
|
|
|