资源简介
华硕 PRIME Z370-P II realtek RTL8111H 千兆网卡 18.04 内核4.15.55,操作系统ubuntu18.04
代码片段和文件信息
/*
################################################################################
#
# r8168 is the Linux device driver released for Realtek Gigabit Ethernet
# controllers with PCI-Express interface.
#
# Copyright(c) 2018 Realtek Semiconductor Corp. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not see .
#
# Author:
# Realtek NIC software team
# No. 2 Innovation Road II Hsinchu Science Park Hsinchu 300 Taiwan
#
################################################################################
*/
/************************************************************************************
* This product is covered by one or more of the following patents:
* US6570884 US6115776 and US6327625.
***********************************************************************************/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include nk.h>
#include
#include “r8168.h“
#include “r8168_asf.h“
#include “rtl_eeprom.h“
int rtl8168_asf_ioctl(struct net_device *dev
struct ifreq *ifr)
{
struct rtl8168_private *tp = netdev_priv(dev);
void __iomem *ioaddr = tp->mmio_addr;
void *user_data = ifr->ifr_data;
struct asf_ioctl_struct asf_usrdata;
if (tp->mcfg != CFG_METHOD_7 && tp->mcfg != CFG_METHOD_8)
return -EOPNOTSUPP;
if (copy_from_user(&asf_usrdata user_data sizeof(struct asf_ioctl_struct)))
return -EFAULT;
switch (asf_usrdata.offset) {
case HBPeriod:
rtl8168_asf_hbperiod(ioaddr asf_usrdata.arg asf_usrdata.u.data);
break;
case WD8Timer:
break;
case WD16Rst:
rtl8168_asf_wd16rst(ioaddr asf_usrdata.arg asf_usrdata.u.data);
break;
case WD8Rst:
rtl8168_asf_time_period(ioaddr asf_usrdata.arg WD8Rst asf_usrdata.u.data);
break;
case LSnsrPollCycle:
rtl8168_asf_time_period(ioaddr asf_usrdata.arg LSnsrPollCycle asf_usrdata.u.data);
相关资源
- 联想y470无线网卡驱动 for 32位64位
- 2440 cs8900a 网卡驱动程序
- vmware虚拟win7网卡驱动
- 联想sl400笔记本网卡驱动
- Intel 82579LM 82579V千兆以太网控制器驱动
- VMware vSphere 的 Intel 82579LM网卡驱动 最
- intel 82579LM 网卡驱动Linux系统版 v1.9.
- Vxworks下网卡驱动程序的开发
- USB网卡驱动 USB2.0 TO Fast Ethernet Adapte
- LOM网卡驱动:Intel(R) Ethernet Connecti
- Intel(R) 82579V网卡驱动for server20033
- 映泰Biostar TA870网
- RTL8188EVT USB WIFI无线网卡驱动 免费版
- 华硕b250主板网卡驱动 官方最新版
- Samsung三星R439-DS系列网卡驱动程序 v
- 索尼SONY VPCM125JC网卡驱动程序 v6.0.14
-
li
nksys AE1000/Cisco AM10无线网卡驱动 - ASUS华硕a550笔记本电脑网卡驱动程序
- 5G网卡驱动.rar
- 联想Lenovo z360笔记本网卡驱动 for win
- 钰硕ar8151网卡驱动 win7 64位 win7/10/xp
- 华硕台式机万能网卡驱动 for win7/10/
- 戴尔d630无线网卡驱动 v1.3.2 官方最新
- 卡皇RTL8187芯片网卡驱动 Win7 x86x64官方
- IBM ThinkPad T42无线网卡驱动
- IBM ThinkPad T30笔记本无线网卡驱动程序
- IBM服务器 XSeries 226网卡驱动
- intel 82577lm网卡驱动
- 网卡驱动程序软件 intel pro 100ve)
- 华硕PCE-N15网卡驱动程序 v1.0.1.0 官方版
评论
共有 条评论