Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
3da38566
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看板
提交
3da38566
编写于
1月 18, 2006
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
上级
7c4d3367
959a85ad
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
70 addition
and
11 deletion
+70
-11
arch/sparc64/defconfig
arch/sparc64/defconfig
+18
-6
arch/sparc64/kernel/process.c
arch/sparc64/kernel/process.c
+4
-0
arch/sparc64/kernel/setup.c
arch/sparc64/kernel/setup.c
+2
-0
arch/sparc64/prom/console.c
arch/sparc64/prom/console.c
+8
-0
drivers/serial/suncore.c
drivers/serial/suncore.c
+32
-2
drivers/serial/sunsab.c
drivers/serial/sunsab.c
+4
-3
include/asm-sparc64/oplib.h
include/asm-sparc64/oplib.h
+2
-0
未找到文件。
arch/sparc64/defconfig
浏览文件 @
3da38566
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.1
5
#
Mon Jan 9 14:36:29
2006
# Linux kernel version: 2.6.1
6-rc1
#
Wed Jan 18 13:41:02
2006
#
CONFIG_SPARC=y
CONFIG_SPARC64=y
...
...
@@ -233,6 +233,11 @@ CONFIG_VLAN_8021Q=m
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
#
# TIPC Configuration (EXPERIMENTAL)
#
# CONFIG_TIPC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
...
...
@@ -420,8 +425,7 @@ CONFIG_ISCSI_TCP=m
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLOGICPTI is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA2XXX_EMBEDDED_FIRMWARE is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
...
...
@@ -653,7 +657,6 @@ CONFIG_SERIAL_SUNSU_CONSOLE=y
CONFIG_SERIAL_SUNSAB=m
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
...
...
@@ -738,6 +741,12 @@ CONFIG_I2C_ALGOBIT=y
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
#
# Dallas's 1-wire bus
#
...
...
@@ -1015,6 +1024,7 @@ CONFIG_USB_UHCI_HCD=m
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
...
...
@@ -1269,12 +1279,13 @@ CONFIG_KPROBES=y
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_KERNEL=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHEDSTATS=y
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not set
...
...
@@ -1282,6 +1293,7 @@ CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
CONFIG_DEBUG_FS=y
# CONFIG_DEBUG_VM is not set
CONFIG_FORCED_INLINING=y
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_DCFLUSH is not set
...
...
arch/sparc64/kernel/process.c
浏览文件 @
3da38566
...
...
@@ -164,6 +164,7 @@ void machine_restart(char * cmd)
panic
(
"Reboot failed!"
);
}
#ifdef CONFIG_COMPAT
static
void
show_regwindow32
(
struct
pt_regs
*
regs
)
{
struct
reg_window32
__user
*
rw
;
...
...
@@ -189,6 +190,9 @@ static void show_regwindow32(struct pt_regs *regs)
r_w
.
ins
[
0
],
r_w
.
ins
[
1
],
r_w
.
ins
[
2
],
r_w
.
ins
[
3
],
r_w
.
ins
[
4
],
r_w
.
ins
[
5
],
r_w
.
ins
[
6
],
r_w
.
ins
[
7
]);
}
#else
#define show_regwindow32(regs) do { } while (0)
#endif
static
void
show_regwindow
(
struct
pt_regs
*
regs
)
{
...
...
arch/sparc64/kernel/setup.c
浏览文件 @
3da38566
...
...
@@ -561,6 +561,8 @@ static int __init set_preferred_console(void)
serial_console
=
1
;
}
else
if
(
idev
==
PROMDEV_ITTYB
&&
odev
==
PROMDEV_OTTYB
)
{
serial_console
=
2
;
}
else
if
(
idev
==
PROMDEV_IRSC
&&
odev
==
PROMDEV_ORSC
)
{
serial_console
=
3
;
}
else
{
prom_printf
(
"Inconsistent console: "
"input %d, output %d
\n
"
,
...
...
arch/sparc64/prom/console.c
浏览文件 @
3da38566
...
...
@@ -99,8 +99,12 @@ prom_query_input_device(void)
if
(
!
strncmp
(
propb
,
"keyboard"
,
8
))
return
PROMDEV_ITTYA
;
if
(
!
strncmp
(
propb
,
"rsc"
,
3
))
return
PROMDEV_IRSC
;
if
(
strncmp
(
propb
,
"tty"
,
3
)
||
!
propb
[
3
])
return
PROMDEV_I_UNK
;
switch
(
propb
[
3
])
{
case
'a'
:
return
PROMDEV_ITTYA
;
case
'b'
:
return
PROMDEV_ITTYB
;
...
...
@@ -136,8 +140,12 @@ prom_query_output_device(void)
if
(
!
strncmp
(
propb
,
"screen"
,
6
))
return
PROMDEV_OTTYA
;
if
(
!
strncmp
(
propb
,
"rsc"
,
3
))
return
PROMDEV_ORSC
;
if
(
strncmp
(
propb
,
"tty"
,
3
)
||
!
propb
[
3
])
return
PROMDEV_O_UNK
;
switch
(
propb
[
3
])
{
case
'a'
:
return
PROMDEV_OTTYA
;
case
'b'
:
return
PROMDEV_OTTYB
;
...
...
drivers/serial/suncore.c
浏览文件 @
3da38566
...
...
@@ -34,6 +34,7 @@ sunserial_console_termios(struct console *con)
char
*
mode_prop
=
"ttyX-mode"
;
char
*
cd_prop
=
"ttyX-ignore-cd"
;
char
*
dtr_prop
=
"ttyX-rts-dtr-off"
;
char
*
ssp_console_modes_prop
=
"ssp-console-modes"
;
int
baud
,
bits
,
stop
,
cflag
;
char
parity
;
int
carrier
=
0
;
...
...
@@ -43,14 +44,39 @@ sunserial_console_termios(struct console *con)
if
(
!
serial_console
)
return
;
if
(
serial_console
==
1
)
{
switch
(
serial_console
)
{
case
PROMDEV_OTTYA
:
mode_prop
[
3
]
=
'a'
;
cd_prop
[
3
]
=
'a'
;
dtr_prop
[
3
]
=
'a'
;
}
else
{
break
;
case
PROMDEV_OTTYB
:
mode_prop
[
3
]
=
'b'
;
cd_prop
[
3
]
=
'b'
;
dtr_prop
[
3
]
=
'b'
;
break
;
case
PROMDEV_ORSC
:
nd
=
prom_pathtoinode
(
"rsc"
);
if
(
!
nd
)
{
strcpy
(
mode
,
"115200,8,n,1,-"
);
goto
no_options
;
}
if
(
!
prom_node_has_property
(
nd
,
ssp_console_modes_prop
))
{
strcpy
(
mode
,
"115200,8,n,1,-"
);
goto
no_options
;
}
memset
(
mode
,
0
,
sizeof
(
mode
));
prom_getstring
(
nd
,
ssp_console_modes_prop
,
mode
,
sizeof
(
mode
));
goto
no_options
;
default:
strcpy
(
mode
,
"9600,8,n,1,-"
);
goto
no_options
;
}
topnd
=
prom_getchild
(
prom_root_node
);
...
...
@@ -110,6 +136,10 @@ sunserial_console_termios(struct console *con)
case
9600
:
cflag
|=
B9600
;
break
;
case
19200
:
cflag
|=
B19200
;
break
;
case
38400
:
cflag
|=
B38400
;
break
;
case
57600
:
cflag
|=
B57600
;
break
;
case
115200
:
cflag
|=
B115200
;
break
;
case
230400
:
cflag
|=
B230400
;
break
;
case
460800
:
cflag
|=
B460800
;
break
;
default:
baud
=
9600
;
cflag
|=
B9600
;
break
;
}
...
...
drivers/serial/sunsab.c
浏览文件 @
3da38566
...
...
@@ -897,9 +897,6 @@ static int sunsab_console_setup(struct console *con, char *options)
sunserial_console_termios
(
con
);
/* Firmware console speed is limited to 150-->38400 baud so
* this hackish cflag thing is OK.
*/
switch
(
con
->
cflag
&
CBAUD
)
{
case
B150
:
baud
=
150
;
break
;
case
B300
:
baud
=
300
;
break
;
...
...
@@ -910,6 +907,10 @@ static int sunsab_console_setup(struct console *con, char *options)
default:
case
B9600
:
baud
=
9600
;
break
;
case
B19200
:
baud
=
19200
;
break
;
case
B38400
:
baud
=
38400
;
break
;
case
B57600
:
baud
=
57600
;
break
;
case
B115200
:
baud
=
115200
;
break
;
case
B230400
:
baud
=
230400
;
break
;
case
B460800
:
baud
=
460800
;
break
;
};
/*
...
...
include/asm-sparc64/oplib.h
浏览文件 @
3da38566
...
...
@@ -163,6 +163,7 @@ enum prom_input_device {
PROMDEV_IKBD
,
/* input from keyboard */
PROMDEV_ITTYA
,
/* input from ttya */
PROMDEV_ITTYB
,
/* input from ttyb */
PROMDEV_IRSC
,
/* input from rsc */
PROMDEV_I_UNK
,
};
...
...
@@ -174,6 +175,7 @@ enum prom_output_device {
PROMDEV_OSCREEN
,
/* to screen */
PROMDEV_OTTYA
,
/* to ttya */
PROMDEV_OTTYB
,
/* to ttyb */
PROMDEV_ORSC
,
/* to rsc */
PROMDEV_O_UNK
,
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录