Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
dd1d89c9
"vscode:/vscode.git/clone" did not exist on "0747f76a86b63baf8ff15de8556d1f832df1b2cd"
Commit
dd1d89c9
authored
Feb 11, 2023
by
Antoine Kaufmann
Committed by
Antoine Kaufmann
Feb 13, 2023
Browse files
images/mqnic: fix corundum driver issues with newer kernel versions
parent
f01edd65
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
images/mqnic/mqnic.h
images/mqnic/mqnic.h
+1
-0
images/mqnic/mqnic_i2c.c
images/mqnic/mqnic_i2c.c
+1
-1
images/mqnic/mqnic_main.c
images/mqnic/mqnic_main.c
+0
-1
No files found.
images/mqnic/mqnic.h
View file @
dd1d89c9
...
...
@@ -39,6 +39,7 @@ either expressed or implied, of The Regents of the University of California.
#include <linux/miscdevice.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/net_tstamp.h>
#include <linux/ptp_clock_kernel.h>
...
...
images/mqnic/mqnic_i2c.c
View file @
dd1d89c9
...
...
@@ -121,7 +121,7 @@ int mqnic_init_i2c(struct mqnic_dev *mqnic)
return
ret
;
}
mqnic
->
eeprom_i2c_client
=
i2c_new_device
(
&
mqnic
->
eeprom_i2c_adap
,
&
mqnic_eeprom_info
);
mqnic
->
eeprom_i2c_client
=
i2c_new_
client_
device
(
&
mqnic
->
eeprom_i2c_adap
,
&
mqnic_eeprom_info
);
if
(
mqnic
->
eeprom_i2c_client
==
NULL
)
{
ret
=
-
ENODEV
;
...
...
images/mqnic/mqnic_main.c
View file @
dd1d89c9
...
...
@@ -44,7 +44,6 @@ MODULE_DESCRIPTION("mqnic driver");
MODULE_AUTHOR
(
"Alex Forencich"
);
MODULE_LICENSE
(
"Dual MIT/GPL"
);
MODULE_VERSION
(
DRIVER_VERSION
);
MODULE_SUPPORTED_DEVICE
(
DRIVER_NAME
);
static
const
struct
pci_device_id
pci_ids
[]
=
{
{
PCI_DEVICE
(
0x1234
,
0x1001
)
},
...
...
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