Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
fc103349
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fc103349
编写于
6月 28, 2006
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[MIPS] Remove BSD and Sys V compat data types.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
89e22d15
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
47 addition
and
47 deletion
+47
-47
arch/mips/au1000/common/irq.c
arch/mips/au1000/common/irq.c
+7
-7
arch/mips/au1000/common/power.c
arch/mips/au1000/common/power.c
+11
-11
arch/mips/au1000/csb250/init.c
arch/mips/au1000/csb250/init.c
+3
-3
arch/mips/gt64120/momenco_ocelot/setup.c
arch/mips/gt64120/momenco_ocelot/setup.c
+2
-2
arch/mips/kernel/apm.c
arch/mips/kernel/apm.c
+1
-1
arch/mips/kernel/syscall.c
arch/mips/kernel/syscall.c
+4
-4
arch/mips/momentum/jaguar_atx/setup.c
arch/mips/momentum/jaguar_atx/setup.c
+2
-2
arch/mips/momentum/ocelot_c/setup.c
arch/mips/momentum/ocelot_c/setup.c
+2
-2
arch/mips/momentum/ocelot_g/setup.c
arch/mips/momentum/ocelot_g/setup.c
+2
-2
arch/mips/pci/ops-tx4927.c
arch/mips/pci/ops-tx4927.c
+4
-4
arch/mips/pci/ops-tx4938.c
arch/mips/pci/ops-tx4938.c
+4
-4
include/asm-mips/sn/klconfig.h
include/asm-mips/sn/klconfig.h
+5
-5
未找到文件。
arch/mips/au1000/common/irq.c
浏览文件 @
fc103349
...
...
@@ -585,13 +585,13 @@ void intc1_req1_irqdispatch(struct pt_regs *regs)
* au_sleep function in power.c.....maybe I should just pm_register()
* them instead?
*/
static
uint
sleep_intctl_config0
[
2
];
static
uint
sleep_intctl_config1
[
2
];
static
uint
sleep_intctl_config2
[
2
];
static
uint
sleep_intctl_src
[
2
];
static
uint
sleep_intctl_assign
[
2
];
static
uint
sleep_intctl_wake
[
2
];
static
uint
sleep_intctl_mask
[
2
];
static
u
nsigned
int
sleep_intctl_config0
[
2
];
static
u
nsigned
int
sleep_intctl_config1
[
2
];
static
u
nsigned
int
sleep_intctl_config2
[
2
];
static
u
nsigned
int
sleep_intctl_src
[
2
];
static
u
nsigned
int
sleep_intctl_assign
[
2
];
static
u
nsigned
int
sleep_intctl_wake
[
2
];
static
u
nsigned
int
sleep_intctl_mask
[
2
];
void
save_au1xxx_intctl
(
void
)
...
...
arch/mips/au1000/common/power.c
浏览文件 @
fc103349
...
...
@@ -80,17 +80,17 @@ static DEFINE_SPINLOCK(pm_lock);
* We only have to save/restore registers that aren't otherwise
* done as part of a driver pm_* function.
*/
static
uint
sleep_aux_pll_cntrl
;
static
uint
sleep_cpu_pll_cntrl
;
static
uint
sleep_pin_function
;
static
uint
sleep_uart0_inten
;
static
uint
sleep_uart0_fifoctl
;
static
uint
sleep_uart0_linectl
;
static
uint
sleep_uart0_clkdiv
;
static
uint
sleep_uart0_enable
;
static
uint
sleep_usbhost_enable
;
static
uint
sleep_usbdev_enable
;
static
uint
sleep_static_memctlr
[
4
][
3
];
static
u
nsigned
int
sleep_aux_pll_cntrl
;
static
u
nsigned
int
sleep_cpu_pll_cntrl
;
static
u
nsigned
int
sleep_pin_function
;
static
u
nsigned
int
sleep_uart0_inten
;
static
u
nsigned
int
sleep_uart0_fifoctl
;
static
u
nsigned
int
sleep_uart0_linectl
;
static
u
nsigned
int
sleep_uart0_clkdiv
;
static
u
nsigned
int
sleep_uart0_enable
;
static
u
nsigned
int
sleep_usbhost_enable
;
static
u
nsigned
int
sleep_usbdev_enable
;
static
u
nsigned
int
sleep_static_memctlr
[
4
][
3
];
/* Define this to cause the value you write to /proc/sys/pm/sleep to
* set the TOY timer for the amount of time you want to sleep.
...
...
arch/mips/au1000/csb250/init.c
浏览文件 @
fc103349
...
...
@@ -65,9 +65,9 @@ int __init prom_init(int argc, char **argv, char **envp, int *prom_vec)
/* We use a0 and a1 to pass initrd start and size.
*/
if
(((
uint
)
argc
>
0
)
&&
((
uint
)
argv
>
0
))
{
my_initrd_start
=
(
uint
)
argc
;
my_initrd_size
=
(
uint
)
argv
;
if
(((
u
nsigned
int
)
argc
>
0
)
&&
((
uint
)
argv
>
0
))
{
my_initrd_start
=
(
u
nsigned
int
)
argc
;
my_initrd_size
=
(
u
nsigned
int
)
argv
;
}
/* First argv is ignored.
...
...
arch/mips/gt64120/momenco_ocelot/setup.c
浏览文件 @
fc103349
...
...
@@ -164,8 +164,8 @@ void __init plat_mem_setup(void)
pm_power_off
=
momenco_ocelot_power_off
;
/*
* initrd_start = (ulong)ocelot_initrd_start;
* initrd_end = (ulong)ocelot_initrd_start + (ulong)ocelot_initrd_size;
* initrd_start = (u
nsigned
long)ocelot_initrd_start;
* initrd_end = (u
nsigned
long)ocelot_initrd_start + (ulong)ocelot_initrd_size;
* initrd_below_start_ok = 1;
*/
...
...
arch/mips/kernel/apm.c
浏览文件 @
fc103349
...
...
@@ -260,7 +260,7 @@ static unsigned int apm_poll(struct file *fp, poll_table * wait)
* has acknowledge does the actual suspend happen.
*/
static
int
apm_ioctl
(
struct
inode
*
inode
,
struct
file
*
filp
,
u
_int
cmd
,
u_
long
arg
)
apm_ioctl
(
struct
inode
*
inode
,
struct
file
*
filp
,
u
nsigned
int
cmd
,
unsigned
long
arg
)
{
struct
apm_user
*
as
=
filp
->
private_data
;
unsigned
long
flags
;
...
...
arch/mips/kernel/syscall.c
浏览文件 @
fc103349
...
...
@@ -301,7 +301,7 @@ asmlinkage int _sys_sysmips(int cmd, long arg1, int arg2, int arg3)
*
* This is really horribly ugly.
*/
asmlinkage
int
sys_ipc
(
uint
call
,
int
first
,
int
second
,
asmlinkage
int
sys_ipc
(
u
nsigned
int
call
,
int
first
,
int
second
,
unsigned
long
third
,
void
__user
*
ptr
,
long
fifth
)
{
int
version
,
ret
;
...
...
@@ -359,18 +359,18 @@ asmlinkage int sys_ipc (uint call, int first, int second,
case
SHMAT
:
switch
(
version
)
{
default:
{
ulong
raddr
;
u
nsigned
long
raddr
;
ret
=
do_shmat
(
first
,
(
char
__user
*
)
ptr
,
second
,
&
raddr
);
if
(
ret
)
return
ret
;
return
put_user
(
raddr
,
(
ulong
__user
*
)
third
);
return
put_user
(
raddr
,
(
u
nsigned
long
__user
*
)
third
);
}
case
1
:
/* iBCS2 emulator entry point */
if
(
!
segment_eq
(
get_fs
(),
get_ds
()))
return
-
EINVAL
;
return
do_shmat
(
first
,
(
char
__user
*
)
ptr
,
second
,
(
ulong
*
)
third
);
(
u
nsigned
long
*
)
third
);
}
case
SHMDT
:
return
sys_shmdt
((
char
__user
*
)
ptr
);
...
...
arch/mips/momentum/jaguar_atx/setup.c
浏览文件 @
fc103349
...
...
@@ -370,8 +370,8 @@ void __init plat_mem_setup(void)
pm_power_off
=
momenco_jaguar_power_off
;
/*
* initrd_start = (ulong)jaguar_initrd_start;
* initrd_end = (ulong)jaguar_initrd_start + (ulong)jaguar_initrd_size;
* initrd_start = (u
nsigned
long)jaguar_initrd_start;
* initrd_end = (u
nsigned
long)jaguar_initrd_start + (ulong)jaguar_initrd_size;
* initrd_below_start_ok = 1;
*/
...
...
arch/mips/momentum/ocelot_c/setup.c
浏览文件 @
fc103349
...
...
@@ -242,8 +242,8 @@ void __init plat_mem_setup(void)
pm_power_off
=
momenco_ocelot_power_off
;
/*
* initrd_start = (ulong)ocelot_initrd_start;
* initrd_end = (ulong)ocelot_initrd_start + (ulong)ocelot_initrd_size;
* initrd_start = (u
nsigned
long)ocelot_initrd_start;
* initrd_end = (u
nsigned
long)ocelot_initrd_start + (ulong)ocelot_initrd_size;
* initrd_below_start_ok = 1;
*/
...
...
arch/mips/momentum/ocelot_g/setup.c
浏览文件 @
fc103349
...
...
@@ -174,8 +174,8 @@ void __init plat_mem_setup(void)
pm_power_off
=
momenco_ocelot_power_off
;
/*
* initrd_start = (ulong)ocelot_initrd_start;
* initrd_end = (ulong)ocelot_initrd_start + (ulong)ocelot_initrd_size;
* initrd_start = (u
nsigned
long)ocelot_initrd_start;
* initrd_end = (u
nsigned
long)ocelot_initrd_start + (ulong)ocelot_initrd_size;
* initrd_below_start_ok = 1;
*/
...
...
arch/mips/pci/ops-tx4927.c
浏览文件 @
fc103349
...
...
@@ -119,7 +119,7 @@ static int tx4927_pcibios_read_config(struct pci_bus *bus, unsigned int devfn, i
switch
(
size
)
{
case
1
:
*
val
=
*
(
volatile
u8
*
)
((
ulong
)
&
tx4927_pcicptr
->
*
val
=
*
(
volatile
u8
*
)
((
u
nsigned
long
)
&
tx4927_pcicptr
->
g2pcfgdata
|
#ifdef __LITTLE_ENDIAN
(
where
&
3
));
...
...
@@ -128,7 +128,7 @@ static int tx4927_pcibios_read_config(struct pci_bus *bus, unsigned int devfn, i
#endif
break
;
case
2
:
*
val
=
*
(
volatile
u16
*
)
((
ulong
)
&
tx4927_pcicptr
->
*
val
=
*
(
volatile
u16
*
)
((
u
nsigned
long
)
&
tx4927_pcicptr
->
g2pcfgdata
|
#ifdef __LITTLE_ENDIAN
(
where
&
3
));
...
...
@@ -168,7 +168,7 @@ static int tx4927_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
switch
(
size
)
{
case
1
:
*
(
volatile
u8
*
)
((
ulong
)
&
tx4927_pcicptr
->
*
(
volatile
u8
*
)
((
u
nsigned
long
)
&
tx4927_pcicptr
->
g2pcfgdata
|
#ifdef __LITTLE_ENDIAN
(
where
&
3
))
=
val
;
...
...
@@ -178,7 +178,7 @@ static int tx4927_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
break
;
case
2
:
*
(
volatile
u16
*
)
((
ulong
)
&
tx4927_pcicptr
->
*
(
volatile
u16
*
)
((
u
nsigned
long
)
&
tx4927_pcicptr
->
g2pcfgdata
|
#ifdef __LITTLE_ENDIAN
(
where
&
3
))
=
val
;
...
...
arch/mips/pci/ops-tx4938.c
浏览文件 @
fc103349
...
...
@@ -106,7 +106,7 @@ static int tx4938_pcibios_read_config(struct pci_bus *bus, unsigned int devfn,
switch
(
size
)
{
case
1
:
*
val
=
*
(
volatile
u8
*
)
((
ulong
)
&
tx4938_pcicptr
->
g2pcfgdata
|
*
val
=
*
(
volatile
u8
*
)
((
u
nsigned
long
)
&
tx4938_pcicptr
->
g2pcfgdata
|
#ifdef __BIG_ENDIAN
((
where
&
3
)
^
3
));
#else
...
...
@@ -114,7 +114,7 @@ static int tx4938_pcibios_read_config(struct pci_bus *bus, unsigned int devfn,
#endif
break
;
case
2
:
*
val
=
*
(
volatile
u16
*
)
((
ulong
)
&
tx4938_pcicptr
->
g2pcfgdata
|
*
val
=
*
(
volatile
u16
*
)
((
u
nsigned
long
)
&
tx4938_pcicptr
->
g2pcfgdata
|
#ifdef __BIG_ENDIAN
((
where
&
3
)
^
2
));
#else
...
...
@@ -154,7 +154,7 @@ static int tx4938_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
switch
(
size
)
{
case
1
:
*
(
volatile
u8
*
)
((
ulong
)
&
tx4938_pcicptr
->
g2pcfgdata
|
*
(
volatile
u8
*
)
((
u
nsigned
long
)
&
tx4938_pcicptr
->
g2pcfgdata
|
#ifdef __BIG_ENDIAN
((
where
&
3
)
^
3
))
=
val
;
#else
...
...
@@ -162,7 +162,7 @@ static int tx4938_pcibios_write_config(struct pci_bus *bus, unsigned int devfn,
#endif
break
;
case
2
:
*
(
volatile
u16
*
)
((
ulong
)
&
tx4938_pcicptr
->
g2pcfgdata
|
*
(
volatile
u16
*
)
((
u
nsigned
long
)
&
tx4938_pcicptr
->
g2pcfgdata
|
#ifdef __BIG_ENDIAN
((
where
&
0x3
)
^
0x2
))
=
val
;
#else
...
...
include/asm-mips/sn/klconfig.h
浏览文件 @
fc103349
...
...
@@ -602,7 +602,7 @@ typedef struct klcpu_s { /* CPU */
typedef
struct
klhub_s
{
/* HUB */
klinfo_t
hub_info
;
uint
hub_flags
;
/* PCFG_HUB_xxx flags */
u
nsigned
int
hub_flags
;
/* PCFG_HUB_xxx flags */
klport_t
hub_port
;
/* hub is connected to this */
nic_t
hub_box_nic
;
/* nic of containing box */
klconf_off_t
hub_mfg_nic
;
/* MFG NIC string */
...
...
@@ -611,7 +611,7 @@ typedef struct klhub_s { /* HUB */
typedef
struct
klhub_uart_s
{
/* HUB */
klinfo_t
hubuart_info
;
uint
hubuart_flags
;
/* PCFG_HUB_xxx flags */
u
nsigned
int
hubuart_flags
;
/* PCFG_HUB_xxx flags */
nic_t
hubuart_box_nic
;
/* nic of containing box */
}
klhub_uart_t
;
...
...
@@ -710,7 +710,7 @@ typedef struct klvmed_s { /* VME DEVICE - VME BOARD */
/* XXX - Don't we need the number of ports here?!? */
typedef
struct
klrou_s
{
/* ROUTER */
klinfo_t
rou_info
;
uint
rou_flags
;
/* PCFG_ROUTER_xxx flags */
u
nsigned
int
rou_flags
;
/* PCFG_ROUTER_xxx flags */
nic_t
rou_box_nic
;
/* nic of the containing module */
klport_t
rou_port
[
MAX_ROUTER_PORTS
+
1
]
;
/* array index 1 to 6 */
klconf_off_t
rou_mfg_nic
;
/* MFG NIC string */
...
...
@@ -733,8 +733,8 @@ typedef struct klgfx_s { /* GRAPHICS Device */
klinfo_t
gfx_info
;
klconf_off_t
old_gndevs
;
/* for compatibility with older proms */
klconf_off_t
old_gdoff0
;
/* for compatibility with older proms */
uint
cookie
;
/* for compatibility with older proms */
uint
moduleslot
;
u
nsigned
int
cookie
;
/* for compatibility with older proms */
u
nsigned
int
moduleslot
;
struct
klgfx_s
*
gfx_next_pipe
;
graphics_t
gfx_specific
;
klconf_off_t
pad0
;
/* for compatibility with older proms */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录