Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
22fecbae
Commit
22fecbae
authored
Sep 10, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc64: Record OF device instead of device node pointer in pci_pbm_info.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
d3ae4b5b
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
29 deletions
+30
-29
arch/sparc64/kernel/pci.c
arch/sparc64/kernel/pci.c
+1
-1
arch/sparc64/kernel/pci_common.c
arch/sparc64/kernel/pci_common.c
+4
-4
arch/sparc64/kernel/pci_fire.c
arch/sparc64/kernel/pci_fire.c
+1
-1
arch/sparc64/kernel/pci_impl.h
arch/sparc64/kernel/pci_impl.h
+2
-1
arch/sparc64/kernel/pci_msi.c
arch/sparc64/kernel/pci_msi.c
+9
-9
arch/sparc64/kernel/pci_psycho.c
arch/sparc64/kernel/pci_psycho.c
+2
-2
arch/sparc64/kernel/pci_sabre.c
arch/sparc64/kernel/pci_sabre.c
+2
-2
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_schizo.c
+6
-6
arch/sparc64/kernel/pci_sun4v.c
arch/sparc64/kernel/pci_sun4v.c
+3
-3
No files found.
arch/sparc64/kernel/pci.c
View file @
22fecbae
...
@@ -676,7 +676,7 @@ static void __devinit pci_bus_register_of_sysfs(struct pci_bus *bus)
...
@@ -676,7 +676,7 @@ static void __devinit pci_bus_register_of_sysfs(struct pci_bus *bus)
struct
pci_bus
*
__devinit
pci_scan_one_pbm
(
struct
pci_pbm_info
*
pbm
,
struct
pci_bus
*
__devinit
pci_scan_one_pbm
(
struct
pci_pbm_info
*
pbm
,
struct
device
*
parent
)
struct
device
*
parent
)
{
{
struct
device_node
*
node
=
pbm
->
prom_
node
;
struct
device_node
*
node
=
pbm
->
op
->
node
;
struct
pci_bus
*
bus
;
struct
pci_bus
*
bus
;
printk
(
"PCI: Scanning PBM %s
\n
"
,
node
->
full_name
);
printk
(
"PCI: Scanning PBM %s
\n
"
,
node
->
full_name
);
...
...
arch/sparc64/kernel/pci_common.c
View file @
22fecbae
...
@@ -314,12 +314,12 @@ struct pci_ops sun4v_pci_ops = {
...
@@ -314,12 +314,12 @@ struct pci_ops sun4v_pci_ops = {
void
pci_get_pbm_props
(
struct
pci_pbm_info
*
pbm
)
void
pci_get_pbm_props
(
struct
pci_pbm_info
*
pbm
)
{
{
const
u32
*
val
=
of_get_property
(
pbm
->
prom_
node
,
"bus-range"
,
NULL
);
const
u32
*
val
=
of_get_property
(
pbm
->
op
->
node
,
"bus-range"
,
NULL
);
pbm
->
pci_first_busno
=
val
[
0
];
pbm
->
pci_first_busno
=
val
[
0
];
pbm
->
pci_last_busno
=
val
[
1
];
pbm
->
pci_last_busno
=
val
[
1
];
val
=
of_get_property
(
pbm
->
prom_
node
,
"ino-bitmap"
,
NULL
);
val
=
of_get_property
(
pbm
->
op
->
node
,
"ino-bitmap"
,
NULL
);
if
(
val
)
{
if
(
val
)
{
pbm
->
ino_bitmap
=
(((
u64
)
val
[
1
]
<<
32UL
)
|
pbm
->
ino_bitmap
=
(((
u64
)
val
[
1
]
<<
32UL
)
|
((
u64
)
val
[
0
]
<<
0UL
));
((
u64
)
val
[
0
]
<<
0UL
));
...
@@ -365,7 +365,7 @@ static void pci_register_legacy_regions(struct resource *io_res,
...
@@ -365,7 +365,7 @@ static void pci_register_legacy_regions(struct resource *io_res,
static
void
pci_register_iommu_region
(
struct
pci_pbm_info
*
pbm
)
static
void
pci_register_iommu_region
(
struct
pci_pbm_info
*
pbm
)
{
{
const
u32
*
vdma
=
of_get_property
(
pbm
->
prom_
node
,
"virtual-dma"
,
NULL
);
const
u32
*
vdma
=
of_get_property
(
pbm
->
op
->
node
,
"virtual-dma"
,
NULL
);
if
(
vdma
)
{
if
(
vdma
)
{
struct
resource
*
rp
=
kmalloc
(
sizeof
(
*
rp
),
GFP_KERNEL
);
struct
resource
*
rp
=
kmalloc
(
sizeof
(
*
rp
),
GFP_KERNEL
);
...
@@ -389,7 +389,7 @@ void pci_determine_mem_io_space(struct pci_pbm_info *pbm)
...
@@ -389,7 +389,7 @@ void pci_determine_mem_io_space(struct pci_pbm_info *pbm)
int
num_pbm_ranges
;
int
num_pbm_ranges
;
saw_mem
=
saw_io
=
0
;
saw_mem
=
saw_io
=
0
;
pbm_ranges
=
of_get_property
(
pbm
->
prom_
node
,
"ranges"
,
&
i
);
pbm_ranges
=
of_get_property
(
pbm
->
op
->
node
,
"ranges"
,
&
i
);
if
(
!
pbm_ranges
)
{
if
(
!
pbm_ranges
)
{
prom_printf
(
"PCI: Fatal error, missing PBM ranges property "
prom_printf
(
"PCI: Fatal error, missing PBM ranges property "
" for %s
\n
"
,
" for %s
\n
"
,
...
...
arch/sparc64/kernel/pci_fire.c
View file @
22fecbae
...
@@ -446,7 +446,7 @@ static int __init pci_fire_pbm_init(struct pci_pbm_info *pbm,
...
@@ -446,7 +446,7 @@ static int __init pci_fire_pbm_init(struct pci_pbm_info *pbm,
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
portid
=
portid
;
pbm
->
portid
=
portid
;
pbm
->
prom_node
=
d
p
;
pbm
->
op
=
o
p
;
pbm
->
name
=
dp
->
full_name
;
pbm
->
name
=
dp
->
full_name
;
regs
=
of_get_property
(
dp
,
"reg"
,
NULL
);
regs
=
of_get_property
(
dp
,
"reg"
,
NULL
);
...
...
arch/sparc64/kernel/pci_impl.h
View file @
22fecbae
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/msi.h>
#include <linux/msi.h>
#include <linux/of_device.h>
#include <asm/io.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/prom.h>
#include <asm/iommu.h>
#include <asm/iommu.h>
...
@@ -90,7 +91,7 @@ struct pci_pbm_info {
...
@@ -90,7 +91,7 @@ struct pci_pbm_info {
char
*
name
;
char
*
name
;
/* OBP specific information. */
/* OBP specific information. */
struct
device_node
*
prom_node
;
struct
of_device
*
op
;
u64
ino_bitmap
;
u64
ino_bitmap
;
/* PBM I/O and Memory space resources. */
/* PBM I/O and Memory space resources. */
...
...
arch/sparc64/kernel/pci_msi.c
View file @
22fecbae
...
@@ -323,7 +323,7 @@ void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
...
@@ -323,7 +323,7 @@ void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
const
u32
*
val
;
const
u32
*
val
;
int
len
;
int
len
;
val
=
of_get_property
(
pbm
->
prom_
node
,
"#msi-eqs"
,
&
len
);
val
=
of_get_property
(
pbm
->
op
->
node
,
"#msi-eqs"
,
&
len
);
if
(
!
val
||
len
!=
4
)
if
(
!
val
||
len
!=
4
)
goto
no_msi
;
goto
no_msi
;
pbm
->
msiq_num
=
*
val
;
pbm
->
msiq_num
=
*
val
;
...
@@ -346,16 +346,16 @@ void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
...
@@ -346,16 +346,16 @@ void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
u32
msi64_len
;
u32
msi64_len
;
}
*
arng
;
}
*
arng
;
val
=
of_get_property
(
pbm
->
prom_
node
,
"msi-eq-size"
,
&
len
);
val
=
of_get_property
(
pbm
->
op
->
node
,
"msi-eq-size"
,
&
len
);
if
(
!
val
||
len
!=
4
)
if
(
!
val
||
len
!=
4
)
goto
no_msi
;
goto
no_msi
;
pbm
->
msiq_ent_count
=
*
val
;
pbm
->
msiq_ent_count
=
*
val
;
mqp
=
of_get_property
(
pbm
->
prom_
node
,
mqp
=
of_get_property
(
pbm
->
op
->
node
,
"msi-eq-to-devino"
,
&
len
);
"msi-eq-to-devino"
,
&
len
);
if
(
!
mqp
)
if
(
!
mqp
)
mqp
=
of_get_property
(
pbm
->
prom_
node
,
mqp
=
of_get_property
(
pbm
->
op
->
node
,
"msi-eq-devino"
,
&
len
);
"msi-eq-devino"
,
&
len
);
if
(
!
mqp
||
len
!=
sizeof
(
struct
msiq_prop
))
if
(
!
mqp
||
len
!=
sizeof
(
struct
msiq_prop
))
goto
no_msi
;
goto
no_msi
;
...
@@ -363,27 +363,27 @@ void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
...
@@ -363,27 +363,27 @@ void sparc64_pbm_msi_init(struct pci_pbm_info *pbm,
pbm
->
msiq_first
=
mqp
->
first_msiq
;
pbm
->
msiq_first
=
mqp
->
first_msiq
;
pbm
->
msiq_first_devino
=
mqp
->
first_devino
;
pbm
->
msiq_first_devino
=
mqp
->
first_devino
;
val
=
of_get_property
(
pbm
->
prom_
node
,
"#msi"
,
&
len
);
val
=
of_get_property
(
pbm
->
op
->
node
,
"#msi"
,
&
len
);
if
(
!
val
||
len
!=
4
)
if
(
!
val
||
len
!=
4
)
goto
no_msi
;
goto
no_msi
;
pbm
->
msi_num
=
*
val
;
pbm
->
msi_num
=
*
val
;
mrng
=
of_get_property
(
pbm
->
prom_
node
,
"msi-ranges"
,
&
len
);
mrng
=
of_get_property
(
pbm
->
op
->
node
,
"msi-ranges"
,
&
len
);
if
(
!
mrng
||
len
!=
sizeof
(
struct
msi_range_prop
))
if
(
!
mrng
||
len
!=
sizeof
(
struct
msi_range_prop
))
goto
no_msi
;
goto
no_msi
;
pbm
->
msi_first
=
mrng
->
first_msi
;
pbm
->
msi_first
=
mrng
->
first_msi
;
val
=
of_get_property
(
pbm
->
prom_
node
,
"msi-data-mask"
,
&
len
);
val
=
of_get_property
(
pbm
->
op
->
node
,
"msi-data-mask"
,
&
len
);
if
(
!
val
||
len
!=
4
)
if
(
!
val
||
len
!=
4
)
goto
no_msi
;
goto
no_msi
;
pbm
->
msi_data_mask
=
*
val
;
pbm
->
msi_data_mask
=
*
val
;
val
=
of_get_property
(
pbm
->
prom_
node
,
"msix-data-width"
,
&
len
);
val
=
of_get_property
(
pbm
->
op
->
node
,
"msix-data-width"
,
&
len
);
if
(
!
val
||
len
!=
4
)
if
(
!
val
||
len
!=
4
)
goto
no_msi
;
goto
no_msi
;
pbm
->
msix_data_width
=
*
val
;
pbm
->
msix_data_width
=
*
val
;
arng
=
of_get_property
(
pbm
->
prom_
node
,
"msi-address-ranges"
,
arng
=
of_get_property
(
pbm
->
op
->
node
,
"msi-address-ranges"
,
&
len
);
&
len
);
if
(
!
arng
||
len
!=
sizeof
(
struct
addr_range_prop
))
if
(
!
arng
||
len
!=
sizeof
(
struct
addr_range_prop
))
goto
no_msi
;
goto
no_msi
;
...
...
arch/sparc64/kernel/pci_psycho.c
View file @
22fecbae
...
@@ -690,7 +690,7 @@ static irqreturn_t psycho_pcierr_intr(int irq, void *dev_id)
...
@@ -690,7 +690,7 @@ static irqreturn_t psycho_pcierr_intr(int irq, void *dev_id)
#define PSYCHO_ECCCTRL_CE 0x2000000000000000UL
/* Enable CE INterrupts */
#define PSYCHO_ECCCTRL_CE 0x2000000000000000UL
/* Enable CE INterrupts */
static
void
psycho_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
static
void
psycho_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
{
{
struct
of_device
*
op
=
of_find_device_by_node
(
pbm
->
prom_
node
);
struct
of_device
*
op
=
of_find_device_by_node
(
pbm
->
op
->
node
);
unsigned
long
base
=
pbm
->
controller_regs
;
unsigned
long
base
=
pbm
->
controller_regs
;
u64
tmp
;
u64
tmp
;
int
err
;
int
err
;
...
@@ -967,7 +967,7 @@ static void __init psycho_pbm_init(struct pci_pbm_info *pbm,
...
@@ -967,7 +967,7 @@ static void __init psycho_pbm_init(struct pci_pbm_info *pbm,
pbm
->
chip_version
=
of_getintprop_default
(
dp
,
"version#"
,
0
);
pbm
->
chip_version
=
of_getintprop_default
(
dp
,
"version#"
,
0
);
pbm
->
chip_revision
=
of_getintprop_default
(
dp
,
"module-revision#"
,
0
);
pbm
->
chip_revision
=
of_getintprop_default
(
dp
,
"module-revision#"
,
0
);
pbm
->
prom_node
=
d
p
;
pbm
->
op
=
o
p
;
pbm
->
name
=
dp
->
full_name
;
pbm
->
name
=
dp
->
full_name
;
printk
(
KERN_INFO
"%s: PSYCHO PCI Bus Module ver[%x:%x]
\n
"
,
printk
(
KERN_INFO
"%s: PSYCHO PCI Bus Module ver[%x:%x]
\n
"
,
...
...
arch/sparc64/kernel/pci_sabre.c
View file @
22fecbae
...
@@ -543,7 +543,7 @@ static irqreturn_t sabre_pcierr_intr(int irq, void *dev_id)
...
@@ -543,7 +543,7 @@ static irqreturn_t sabre_pcierr_intr(int irq, void *dev_id)
static
void
sabre_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
static
void
sabre_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
{
{
struct
device_node
*
dp
=
pbm
->
prom_
node
;
struct
device_node
*
dp
=
pbm
->
op
->
node
;
struct
of_device
*
op
;
struct
of_device
*
op
;
unsigned
long
base
=
pbm
->
controller_regs
;
unsigned
long
base
=
pbm
->
controller_regs
;
u64
tmp
;
u64
tmp
;
...
@@ -750,7 +750,7 @@ static void __init sabre_pbm_init(struct pci_pbm_info *pbm,
...
@@ -750,7 +750,7 @@ static void __init sabre_pbm_init(struct pci_pbm_info *pbm,
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
chip_type
=
PBM_CHIP_TYPE_SABRE
;
pbm
->
chip_type
=
PBM_CHIP_TYPE_SABRE
;
pbm
->
prom_node
=
d
p
;
pbm
->
op
=
o
p
;
pci_get_pbm_props
(
pbm
);
pci_get_pbm_props
(
pbm
);
pci_determine_mem_io_space
(
pbm
);
pci_determine_mem_io_space
(
pbm
);
...
...
arch/sparc64/kernel/pci_schizo.c
View file @
22fecbae
...
@@ -862,7 +862,7 @@ static int pbm_routes_this_ino(struct pci_pbm_info *pbm, u32 ino)
...
@@ -862,7 +862,7 @@ static int pbm_routes_this_ino(struct pci_pbm_info *pbm, u32 ino)
*/
*/
static
void
tomatillo_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
static
void
tomatillo_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
{
{
struct
of_device
*
op
=
of_find_device_by_node
(
pbm
->
prom_
node
);
struct
of_device
*
op
=
of_find_device_by_node
(
pbm
->
op
->
node
);
u64
tmp
,
err_mask
,
err_no_mask
;
u64
tmp
,
err_mask
,
err_no_mask
;
int
err
;
int
err
;
...
@@ -958,7 +958,7 @@ static void tomatillo_register_error_handlers(struct pci_pbm_info *pbm)
...
@@ -958,7 +958,7 @@ static void tomatillo_register_error_handlers(struct pci_pbm_info *pbm)
static
void
schizo_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
static
void
schizo_register_error_handlers
(
struct
pci_pbm_info
*
pbm
)
{
{
struct
of_device
*
op
=
of_find_device_by_node
(
pbm
->
prom_
node
);
struct
of_device
*
op
=
of_find_device_by_node
(
pbm
->
op
->
node
);
u64
tmp
,
err_mask
,
err_no_mask
;
u64
tmp
,
err_mask
,
err_no_mask
;
int
err
;
int
err
;
...
@@ -1088,7 +1088,7 @@ static void __devinit schizo_scan_bus(struct pci_pbm_info *pbm,
...
@@ -1088,7 +1088,7 @@ static void __devinit schizo_scan_bus(struct pci_pbm_info *pbm,
{
{
pbm_config_busmastering
(
pbm
);
pbm_config_busmastering
(
pbm
);
pbm
->
is_66mhz_capable
=
pbm
->
is_66mhz_capable
=
(
of_find_property
(
pbm
->
prom_
node
,
"66mhz-capable"
,
NULL
)
(
of_find_property
(
pbm
->
op
->
node
,
"66mhz-capable"
,
NULL
)
!=
NULL
);
!=
NULL
);
pbm
->
pci_bus
=
pci_scan_one_pbm
(
pbm
,
parent
);
pbm
->
pci_bus
=
pci_scan_one_pbm
(
pbm
,
parent
);
...
@@ -1158,7 +1158,7 @@ static int schizo_pbm_iommu_init(struct pci_pbm_info *pbm)
...
@@ -1158,7 +1158,7 @@ static int schizo_pbm_iommu_init(struct pci_pbm_info *pbm)
u32
dma_mask
;
u32
dma_mask
;
u64
control
;
u64
control
;
vdma
=
of_get_property
(
pbm
->
prom_
node
,
"virtual-dma"
,
NULL
);
vdma
=
of_get_property
(
pbm
->
op
->
node
,
"virtual-dma"
,
NULL
);
if
(
!
vdma
)
if
(
!
vdma
)
vdma
=
vdma_default
;
vdma
=
vdma_default
;
...
@@ -1288,7 +1288,7 @@ static void schizo_pbm_hw_init(struct pci_pbm_info *pbm)
...
@@ -1288,7 +1288,7 @@ static void schizo_pbm_hw_init(struct pci_pbm_info *pbm)
pbm
->
chip_version
>=
0x2
)
pbm
->
chip_version
>=
0x2
)
tmp
|=
0x3UL
<<
SCHIZO_PCICTRL_PTO_SHIFT
;
tmp
|=
0x3UL
<<
SCHIZO_PCICTRL_PTO_SHIFT
;
if
(
!
of_find_property
(
pbm
->
prom_
node
,
"no-bus-parking"
,
NULL
))
if
(
!
of_find_property
(
pbm
->
op
->
node
,
"no-bus-parking"
,
NULL
))
tmp
|=
SCHIZO_PCICTRL_PARK
;
tmp
|=
SCHIZO_PCICTRL_PARK
;
else
else
tmp
&=
~
SCHIZO_PCICTRL_PARK
;
tmp
&=
~
SCHIZO_PCICTRL_PARK
;
...
@@ -1377,7 +1377,7 @@ static int __devinit schizo_pbm_init(struct pci_pbm_info *pbm,
...
@@ -1377,7 +1377,7 @@ static int __devinit schizo_pbm_init(struct pci_pbm_info *pbm,
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
portid
=
portid
;
pbm
->
portid
=
portid
;
pbm
->
prom_node
=
d
p
;
pbm
->
op
=
o
p
;
pbm
->
chip_type
=
chip_type
;
pbm
->
chip_type
=
chip_type
;
pbm
->
chip_version
=
of_getintprop_default
(
dp
,
"version#"
,
0
);
pbm
->
chip_version
=
of_getintprop_default
(
dp
,
"version#"
,
0
);
...
...
arch/sparc64/kernel/pci_sun4v.c
View file @
22fecbae
...
@@ -550,7 +550,7 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm,
...
@@ -550,7 +550,7 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm,
struct
property
*
prop
;
struct
property
*
prop
;
struct
device_node
*
dp
;
struct
device_node
*
dp
;
dp
=
pbm
->
prom_
node
;
dp
=
pbm
->
op
->
node
;
prop
=
of_find_property
(
dp
,
"66mhz-capable"
,
NULL
);
prop
=
of_find_property
(
dp
,
"66mhz-capable"
,
NULL
);
pbm
->
is_66mhz_capable
=
(
prop
!=
NULL
);
pbm
->
is_66mhz_capable
=
(
prop
!=
NULL
);
pbm
->
pci_bus
=
pci_scan_one_pbm
(
pbm
,
parent
);
pbm
->
pci_bus
=
pci_scan_one_pbm
(
pbm
,
parent
);
...
@@ -594,7 +594,7 @@ static int __init pci_sun4v_iommu_init(struct pci_pbm_info *pbm)
...
@@ -594,7 +594,7 @@ static int __init pci_sun4v_iommu_init(struct pci_pbm_info *pbm)
u32
dma_mask
,
dma_offset
;
u32
dma_mask
,
dma_offset
;
const
u32
*
vdma
;
const
u32
*
vdma
;
vdma
=
of_get_property
(
pbm
->
prom_
node
,
"virtual-dma"
,
NULL
);
vdma
=
of_get_property
(
pbm
->
op
->
node
,
"virtual-dma"
,
NULL
);
if
(
!
vdma
)
if
(
!
vdma
)
vdma
=
vdma_default
;
vdma
=
vdma_default
;
...
@@ -901,7 +901,7 @@ static int __init pci_sun4v_pbm_init(struct pci_pbm_info *pbm,
...
@@ -901,7 +901,7 @@ static int __init pci_sun4v_pbm_init(struct pci_pbm_info *pbm,
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
index
=
pci_num_pbms
++
;
pbm
->
prom_node
=
d
p
;
pbm
->
op
=
o
p
;
pbm
->
devhandle
=
devhandle
;
pbm
->
devhandle
=
devhandle
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment