mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Add missing includes
This commit is contained in:
parent
43364943e1
commit
8bf38e20c7
@ -34,6 +34,8 @@ either expressed or implied, of The Regents of the University of California.
|
|||||||
#include "mqnic.h"
|
#include "mqnic.h"
|
||||||
#include "mqnic_ioctl.h"
|
#include "mqnic_ioctl.h"
|
||||||
|
|
||||||
|
#include <linux/uaccess.h>
|
||||||
|
|
||||||
static int mqnic_open(struct inode *inode, struct file *file)
|
static int mqnic_open(struct inode *inode, struct file *file)
|
||||||
{
|
{
|
||||||
// struct miscdevice *miscdev = file->private_data;
|
// struct miscdevice *miscdev = file->private_data;
|
||||||
|
@ -33,6 +33,8 @@ either expressed or implied, of The Regents of the University of California.
|
|||||||
|
|
||||||
#include "mqnic.h"
|
#include "mqnic.h"
|
||||||
|
|
||||||
|
#include <linux/ethtool.h>
|
||||||
|
|
||||||
#define SFF_MODULE_ID_SFP 0x03
|
#define SFF_MODULE_ID_SFP 0x03
|
||||||
#define SFF_MODULE_ID_QSFP 0x0c
|
#define SFF_MODULE_ID_QSFP 0x0c
|
||||||
#define SFF_MODULE_ID_QSFP_PLUS 0x0d
|
#define SFF_MODULE_ID_QSFP_PLUS 0x0d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user