Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
sparc
include
asm
device.h
Go to the documentation of this file.
1
/*
2
* Arch specific extensions to struct device
3
*
4
* This file is released under the GPLv2
5
*/
6
#ifndef _ASM_SPARC_DEVICE_H
7
#define _ASM_SPARC_DEVICE_H
8
9
#include <asm/openprom.h>
10
11
struct
device_node
;
12
struct
platform_device
;
13
14
struct
dev_archdata
{
15
void
*
iommu
;
16
void
*
stc
;
17
void
*
host_controller
;
18
struct
platform_device
*
op
;
19
int
numa_node
;
20
};
21
22
extern
void
of_propagate_archdata
(
struct
platform_device
*
bus
);
23
24
struct
pdev_archdata
{
25
struct
resource
resource
[
PROMREG_MAX
];
26
unsigned
int
irqs
[
PROMINTR_MAX
];
27
int
num_irqs
;
28
};
29
30
#endif
/* _ASM_SPARC_DEVICE_H */
Generated on Thu Jan 10 2013 12:49:20 for Linux Kernel by
1.8.2