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
6c1792f4
Commit
6c1792f4
authored
Oct 04, 2005
by
John Linville
Committed by
Jeff Garzik
Oct 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr s2io] Add a MODULE_VERSION entry
parent
dbc2309d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
drivers/net/s2io.c
drivers/net/s2io.c
+7
-3
No files found.
drivers/net/s2io.c
View file @
6c1792f4
...
@@ -65,9 +65,11 @@
...
@@ -65,9 +65,11 @@
#include "s2io.h"
#include "s2io.h"
#include "s2io-regs.h"
#include "s2io-regs.h"
#define DRV_VERSION "Version 2.0.9.1"
/* S2io Driver name & version. */
/* S2io Driver name & version. */
static
char
s2io_driver_name
[]
=
"Neterion"
;
static
char
s2io_driver_name
[]
=
"Neterion"
;
static
char
s2io_driver_version
[]
=
"Version 2.0.9.1"
;
static
char
s2io_driver_version
[]
=
DRV_VERSION
;
static
inline
int
RXD_IS_UP2DT
(
RxD_t
*
rxdp
)
static
inline
int
RXD_IS_UP2DT
(
RxD_t
*
rxdp
)
{
{
...
@@ -5635,6 +5637,8 @@ static void s2io_init_pci(nic_t * sp)
...
@@ -5635,6 +5637,8 @@ static void s2io_init_pci(nic_t * sp)
MODULE_AUTHOR
(
"Raghavendra Koushik <raghavendra.koushik@neterion.com>"
);
MODULE_AUTHOR
(
"Raghavendra Koushik <raghavendra.koushik@neterion.com>"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
DRV_VERSION
);
module_param
(
tx_fifo_num
,
int
,
0
);
module_param
(
tx_fifo_num
,
int
,
0
);
module_param
(
rx_ring_num
,
int
,
0
);
module_param
(
rx_ring_num
,
int
,
0
);
module_param_array
(
tx_fifo_len
,
uint
,
NULL
,
0
);
module_param_array
(
tx_fifo_len
,
uint
,
NULL
,
0
);
...
@@ -6013,7 +6017,7 @@ Defaulting to INTA\n");
...
@@ -6013,7 +6017,7 @@ Defaulting to INTA\n");
if
(
sp
->
device_type
&
XFRAME_II_DEVICE
)
{
if
(
sp
->
device_type
&
XFRAME_II_DEVICE
)
{
DBG_PRINT
(
ERR_DBG
,
"%s: Neterion Xframe II 10GbE adapter "
,
DBG_PRINT
(
ERR_DBG
,
"%s: Neterion Xframe II 10GbE adapter "
,
dev
->
name
);
dev
->
name
);
DBG_PRINT
(
ERR_DBG
,
"(rev %d), %s"
,
DBG_PRINT
(
ERR_DBG
,
"(rev %d),
Version
%s"
,
get_xena_rev_id
(
sp
->
pdev
),
get_xena_rev_id
(
sp
->
pdev
),
s2io_driver_version
);
s2io_driver_version
);
#ifdef CONFIG_2BUFF_MODE
#ifdef CONFIG_2BUFF_MODE
...
@@ -6048,7 +6052,7 @@ Defaulting to INTA\n");
...
@@ -6048,7 +6052,7 @@ Defaulting to INTA\n");
}
else
{
}
else
{
DBG_PRINT
(
ERR_DBG
,
"%s: Neterion Xframe I 10GbE adapter "
,
DBG_PRINT
(
ERR_DBG
,
"%s: Neterion Xframe I 10GbE adapter "
,
dev
->
name
);
dev
->
name
);
DBG_PRINT
(
ERR_DBG
,
"(rev %d), %s"
,
DBG_PRINT
(
ERR_DBG
,
"(rev %d),
Version
%s"
,
get_xena_rev_id
(
sp
->
pdev
),
get_xena_rev_id
(
sp
->
pdev
),
s2io_driver_version
);
s2io_driver_version
);
#ifdef CONFIG_2BUFF_MODE
#ifdef CONFIG_2BUFF_MODE
...
...
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