mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
[SPARC64]: Probe virtual-devices root node on sun4v.
This is where we learn how to get the interrupts for things like the hypervisor console device. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d5eb400430
commit
e77227eb4e
2 changed files with 76 additions and 0 deletions
18
include/asm-sparc64/vdev.h
Normal file
18
include/asm-sparc64/vdev.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/* vdev.h: SUN4V virtual device interfaces and defines.
|
||||
*
|
||||
* Copyright (C) 2006 David S. Miller <davem@davemloft.net>
|
||||
*/
|
||||
|
||||
#ifndef _SPARC64_VDEV_H
|
||||
#define _SPARC64_VDEV_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <asm/oplib.h>
|
||||
|
||||
extern u32 sun4v_vdev_devhandle;
|
||||
extern int sun4v_vdev_root;
|
||||
extern struct linux_prom_pci_intmap *sun4v_vdev_intmap;
|
||||
extern int sun4v_vdev_num_intmap;
|
||||
extern struct linux_prom_pci_intmap sun4v_vdev_intmask;
|
||||
|
||||
#endif /* !(_SPARC64_VDEV_H) */
|
||||
Loading…
Reference in a new issue