资源简介
华硕 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);
相关资源
- macOS 10.11 - 10.15 RTL 芯片网卡驱动
- HP388Gen82008r2最新驱动前面在网站里下
- ASUS华硕WL-167g无线网卡驱动
- Intel 82579v Gigabit network Server2008 R2网卡
- 惠普服务器网卡驱动
- 黑苹果无线网卡驱动
- 万能网卡驱动支持windowxp及以下
- 英国TalkTalk SNU5630NS/05 的无线网卡驱动
- rtl8821ce linux版网卡驱动
- MACBOOKPRO A1278完美声卡、无线网卡驱动
- Windows无线网卡驱动的开发
- Broadcom430N 802.11n苹果无线网卡驱动
- 黑苹果网卡驱动AR956,AR946,AR9485
-
TP-li
nk WN823N网卡mac os驱动 - esxi6.5/6.7e100e和r8168网卡驱动及在线驱
- net-core磊科NW392无线网卡Linux系统驱动
- EXSi 6.5 U1 Realtek 8168-8111-8411-8118网卡驱
- windows server 2008 网卡驱动
- Realtek网卡驱动rtl8821ce
- 品托网卡驱动
- OS X EI Capitan 水星MW150US等USB无线网卡驱
- 博通无线网卡驱动linux版
- 英特尔X722网卡驱动
- USB转LAN口驱动程序
- 常见的64位网卡驱动inf
- BCM4352 无线网卡驱动 适用kalilinux2018
- DELL Inspiron Desktop 620/620s windows7 64位网
- cdlinux 无线网卡 驱动和安装教程
- bcm94352mac驱动
- 胜为USB网卡驱动UR-301W.zip
评论
共有 条评论