Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
1f8fc993
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
1f8fc993
编写于
11月 18, 2005
作者:
J
Jeff Garzik
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'upstream-jgarzik' of
git://git.tuxdriver.com/git/netdev-jwl
上级
638cbac8
7635d345
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
784 addition
and
774 deletion
+784
-774
drivers/net/sk98lin/h/skdrv2nd.h
drivers/net/sk98lin/h/skdrv2nd.h
+0
-1
drivers/net/sk98lin/h/skvpd.h
drivers/net/sk98lin/h/skvpd.h
+0
-8
drivers/net/sk98lin/skge.c
drivers/net/sk98lin/skge.c
+21
-22
drivers/net/wan/lmc/lmc_prot.h
drivers/net/wan/lmc/lmc_prot.h
+0
-15
drivers/net/wireless/atmel.c
drivers/net/wireless/atmel.c
+762
-728
drivers/net/wireless/hostap/Makefile
drivers/net/wireless/hostap/Makefile
+1
-0
drivers/net/wireless/hostap/hostap_main.c
drivers/net/wireless/hostap/hostap_main.c
+0
-0
未找到文件。
drivers/net/sk98lin/h/skdrv2nd.h
浏览文件 @
1f8fc993
...
...
@@ -60,7 +60,6 @@ extern SK_U64 SkOsGetTime(SK_AC*);
extern
int
SkPciReadCfgDWord
(
SK_AC
*
,
int
,
SK_U32
*
);
extern
int
SkPciReadCfgWord
(
SK_AC
*
,
int
,
SK_U16
*
);
extern
int
SkPciReadCfgByte
(
SK_AC
*
,
int
,
SK_U8
*
);
extern
int
SkPciWriteCfgDWord
(
SK_AC
*
,
int
,
SK_U32
);
extern
int
SkPciWriteCfgWord
(
SK_AC
*
,
int
,
SK_U16
);
extern
int
SkPciWriteCfgByte
(
SK_AC
*
,
int
,
SK_U8
);
extern
int
SkDrvEvent
(
SK_AC
*
,
SK_IOC
IoC
,
SK_U32
,
SK_EVPARA
);
...
...
drivers/net/sk98lin/h/skvpd.h
浏览文件 @
1f8fc993
...
...
@@ -130,14 +130,12 @@ typedef struct s_vpd_key {
#ifndef VPD_DO_IO
#define VPD_OUT8(pAC,IoC,Addr,Val) (void)SkPciWriteCfgByte(pAC,Addr,Val)
#define VPD_OUT16(pAC,IoC,Addr,Val) (void)SkPciWriteCfgWord(pAC,Addr,Val)
#define VPD_OUT32(pAC,IoC,Addr,Val) (void)SkPciWriteCfgDWord(pAC,Addr,Val)
#define VPD_IN8(pAC,IoC,Addr,pVal) (void)SkPciReadCfgByte(pAC,Addr,pVal)
#define VPD_IN16(pAC,IoC,Addr,pVal) (void)SkPciReadCfgWord(pAC,Addr,pVal)
#define VPD_IN32(pAC,IoC,Addr,pVal) (void)SkPciReadCfgDWord(pAC,Addr,pVal)
#else
/* VPD_DO_IO */
#define VPD_OUT8(pAC,IoC,Addr,Val) SK_OUT8(IoC,PCI_C(Addr),Val)
#define VPD_OUT16(pAC,IoC,Addr,Val) SK_OUT16(IoC,PCI_C(Addr),Val)
#define VPD_OUT32(pAC,IoC,Addr,Val) SK_OUT32(IoC,PCI_C(Addr),Val)
#define VPD_IN8(pAC,IoC,Addr,pVal) SK_IN8(IoC,PCI_C(Addr),pVal)
#define VPD_IN16(pAC,IoC,Addr,pVal) SK_IN16(IoC,PCI_C(Addr),pVal)
#define VPD_IN32(pAC,IoC,Addr,pVal) SK_IN32(IoC,PCI_C(Addr),pVal)
...
...
@@ -155,12 +153,6 @@ typedef struct s_vpd_key {
else \
SK_OUT16(pAC,PCI_C(Addr),Val); \
}
#define VPD_OUT32(pAC,Ioc,Addr,Val) { \
if ((pAC)->DgT.DgUseCfgCycle) \
SkPciWriteCfgDWord(pAC,Addr,Val); \
else \
SK_OUT32(pAC,PCI_C(Addr),Val); \
}
#define VPD_IN8(pAC,Ioc,Addr,pVal) { \
if ((pAC)->DgT.DgUseCfgCycle) \
SkPciReadCfgByte(pAC,Addr,pVal); \
...
...
drivers/net/sk98lin/skge.c
浏览文件 @
1f8fc993
...
...
@@ -277,6 +277,27 @@ extern struct ethtool_ops SkGeEthtoolOps;
static
uintptr_t
TxQueueAddr
[
SK_MAX_MACS
][
2
]
=
{{
0x680
,
0x600
},{
0x780
,
0x700
}};
static
uintptr_t
RxQueueAddr
[
SK_MAX_MACS
]
=
{
0x400
,
0x480
};
/*****************************************************************************
*
* SkPciWriteCfgDWord - write a 32 bit value to pci config space
*
* Description:
* This routine writes a 32 bit value to the pci configuration
* space.
*
* Returns:
* 0 - indicate everything worked ok.
* != 0 - error indication
*/
static
inline
int
SkPciWriteCfgDWord
(
SK_AC
*
pAC
,
/* Adapter Control structure pointer */
int
PciAddr
,
/* PCI register address */
SK_U32
Val
)
/* pointer to store the read value */
{
pci_write_config_dword
(
pAC
->
PciDev
,
PciAddr
,
Val
);
return
(
0
);
}
/* SkPciWriteCfgDWord */
/*****************************************************************************
*
* SkGeInitPCI - Init the PCI resources
...
...
@@ -4083,28 +4104,6 @@ SK_U8 *pVal) /* pointer to store the read value */
}
/* SkPciReadCfgByte */
/*****************************************************************************
*
* SkPciWriteCfgDWord - write a 32 bit value to pci config space
*
* Description:
* This routine writes a 32 bit value to the pci configuration
* space.
*
* Returns:
* 0 - indicate everything worked ok.
* != 0 - error indication
*/
int
SkPciWriteCfgDWord
(
SK_AC
*
pAC
,
/* Adapter Control structure pointer */
int
PciAddr
,
/* PCI register address */
SK_U32
Val
)
/* pointer to store the read value */
{
pci_write_config_dword
(
pAC
->
PciDev
,
PciAddr
,
Val
);
return
(
0
);
}
/* SkPciWriteCfgDWord */
/*****************************************************************************
*
* SkPciWriteCfgWord - write a 16 bit value to pci config space
...
...
drivers/net/wan/lmc/lmc_prot.h
已删除
100644 → 0
浏览文件 @
638cbac8
#ifndef _LMC_PROTO_H_
#define _LMC_PROTO_H_
void
lmc_proto_init
(
lmc_softc_t
*
const
)
void
lmc_proto_attach
(
lmc_softc_t
*
sc
const
)
void
lmc_proto_detach
(
lmc_softc
*
sc
const
)
void
lmc_proto_reopen
(
lmc_softc_t
*
sc
const
)
int
lmc_proto_ioctl
(
lmc_softc_t
*
sc
const
,
struct
ifreq
*
ifr
,
int
cmd
)
void
lmc_proto_open
(
lmc_softc_t
*
sc
const
)
void
lmc_proto_close
(
lmc_softc_t
*
sc
const
)
unsigned
short
lmc_proto_type
(
lmc_softc_t
*
sc
const
,
struct
skbuff
*
skb
)
#endif
drivers/net/wireless/atmel.c
浏览文件 @
1f8fc993
此差异已折叠。
点击以展开。
drivers/net/wireless/hostap/Makefile
浏览文件 @
1f8fc993
hostap-y
:=
hostap_main.o
obj-$(CONFIG_HOSTAP)
+=
hostap.o
obj-$(CONFIG_HOSTAP_CS)
+=
hostap_cs.o
...
...
drivers/net/wireless/hostap/hostap.c
→
drivers/net/wireless/hostap/hostap
_main
.c
浏览文件 @
1f8fc993
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录