Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FPGA Configuration Space
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FPGA Configuration Space
Commits
474f0f0b
Commit
474f0f0b
authored
Jul 11, 2014
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wishbone: include git version information
parent
2bab8ae1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Makefile
pcie-wb/Makefile
+2
-0
wishbone.c
pcie-wb/wishbone.c
+2
-0
No files found.
pcie-wb/Makefile
View file @
474f0f0b
ifneq
($(KERNELRELEASE),)
# When Makefile is invoked from kernel build system, define objects
ccflags-y
+=
-DGIT_REVISION
=
"
$(
shell
git --git-dir=
$(src)
/../.git log -n1 --pretty='format:%h (%ci
)
'
)
"
obj-m
+=
pcie_wb.o wishbone.o spec_wb.o
# Only build wishbone-serial if it was missing
ifneq
($(CONFIG_USB_SERIAL_WISHBONE),m)
...
...
pcie-wb/wishbone.c
View file @
474f0f0b
...
...
@@ -807,6 +807,8 @@ static int __init wishbone_init(void)
{
int
err
;
dev_t
overflow
;
printk
(
KERN_NOTICE
"wishbone: version "
__stringify
(
GIT_REVISION
)
" loaded
\n
"
);
overflow
=
MKDEV
(
0
,
max_devices
-
1
);
if
(
MINOR
(
overflow
)
!=
max_devices
-
1
)
{
...
...
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