Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
promise
OpenXG-RAN
Commits
3d0ad079
Commit
3d0ad079
authored
Mar 30, 2016
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for kernel 4.2
parent
fc16814d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
targets/ARCH/EXMIMO/DRIVER/eurecom/module_main.c
targets/ARCH/EXMIMO/DRIVER/eurecom/module_main.c
+2
-4
No files found.
targets/ARCH/EXMIMO/DRIVER/eurecom/module_main.c
View file @
3d0ad079
...
...
@@ -190,15 +190,13 @@ static int __init openair_init_module( void )
mmio_length
[
card
]
=
pci_resource_len
(
pdev
[
card
],
0
);
mmio_flags
[
card
]
=
pci_resource_flags
(
pdev
[
card
],
0
);
if
(
check_mem_region
(
mmio_start
[
card
],
256
)
<
0
)
{
if
(
request_mem_region
(
mmio_start
[
card
],
256
,
"openair_rf"
)
==
NULL
)
{
printk
(
"[openair][INIT_MODULE][FATAL] : Cannot get memory region 0, aborting
\n
"
);
mmio_start
[
card
]
=
0
;
openair_cleanup
();
return
-
EBUSY
;
}
else
printk
(
"[openair][INIT_MODULE][INFO] : Reserving memory region 0 : mmio_start = 0x%x
\n
"
,(
unsigned
int
)
mmio_start
[
card
]);
request_mem_region
(
mmio_start
[
card
],
256
,
"openair_rf"
);
printk
(
"[openair][INIT_MODULE][INFO] : Reserved memory region 0 : mmio_start = 0x%x
\n
"
,(
unsigned
int
)
mmio_start
[
card
]);
bar
[
card
]
=
pci_iomap
(
pdev
[
card
],
0
,
mmio_length
[
card
]
);
// get virtual kernel address for BAR0
...
...
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