Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
5e46631b
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5e46631b
编写于
1月 12, 2006
作者:
H
Hannes Reinecke
提交者:
James Bottomley
1月 12, 2006
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[SCSI] aic7xxx/aic79xx: New device ids
Signed-off-by:
N
James Bottomley
<
James.Bottomley@SteelEye.com
>
上级
bcc1e382
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
40 addition
and
14 deletion
+40
-14
drivers/scsi/aic7xxx/aic79xx_pci.c
drivers/scsi/aic7xxx/aic79xx_pci.c
+15
-9
drivers/scsi/aic7xxx/aic79xx_pci.h
drivers/scsi/aic7xxx/aic79xx_pci.h
+3
-2
drivers/scsi/aic7xxx/aic7xxx_pci.c
drivers/scsi/aic7xxx/aic7xxx_pci.c
+21
-3
drivers/scsi/aic7xxx/aic7xxx_pci.h
drivers/scsi/aic7xxx/aic7xxx_pci.h
+1
-0
未找到文件。
drivers/scsi/aic7xxx/aic79xx_pci.c
浏览文件 @
5e46631b
...
...
@@ -38,9 +38,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: //depot/aic7xxx/aic7xxx/aic79xx_pci.c#77 $
*
* $FreeBSD$
* $Id: //depot/aic7xxx/aic7xxx/aic79xx_pci.c#89 $
*/
#ifdef __linux__
...
...
@@ -114,6 +112,13 @@ struct ahd_pci_identity ahd_pci_ident_table [] =
"Adaptec 29320ALP Ultra320 SCSI adapter"
,
ahd_aic7901_setup
},
/* aic7901A based controllers */
{
ID_AHA_29320LP
,
ID_ALL_MASK
,
"Adaptec 29320LP Ultra320 SCSI adapter"
,
ahd_aic7901A_setup
},
/* aic7902 based controllers */
{
ID_AHA_29320
,
...
...
@@ -127,12 +132,6 @@ struct ahd_pci_identity ahd_pci_ident_table [] =
"Adaptec 29320B Ultra320 SCSI adapter"
,
ahd_aic7902_setup
},
{
ID_AHA_29320LP
,
ID_ALL_MASK
,
"Adaptec 29320LP Ultra320 SCSI adapter"
,
ahd_aic7901A_setup
},
{
ID_AHA_39320
,
ID_ALL_MASK
,
...
...
@@ -145,6 +144,12 @@ struct ahd_pci_identity ahd_pci_ident_table [] =
"Adaptec 39320 Ultra320 SCSI adapter"
,
ahd_aic7902_setup
},
{
ID_AHA_39320_B_DELL
,
ID_ALL_MASK
,
"Adaptec (Dell OEM) 39320 Ultra320 SCSI adapter"
,
ahd_aic7902_setup
},
{
ID_AHA_39320A
,
ID_ALL_MASK
,
...
...
@@ -668,6 +673,7 @@ ahd_configure_termination(struct ahd_softc *ahd, u_int adapter_control)
* Now set the termination based on what we found.
*/
sxfrctl1
=
ahd_inb
(
ahd
,
SXFRCTL1
)
&
~
STPWEN
;
ahd
->
flags
&=
~
AHD_TERM_ENB_A
;
if
((
termctl
&
FLX_TERMCTL_ENPRILOW
)
!=
0
)
{
ahd
->
flags
|=
AHD_TERM_ENB_A
;
sxfrctl1
|=
STPWEN
;
...
...
drivers/scsi/aic7xxx/aic79xx_pci.h
浏览文件 @
5e46631b
...
...
@@ -53,14 +53,15 @@
#define ID_AHA_29320ALP 0x8017900500449005ull
#define ID_AIC7901A 0x801E9005FFFF9005ull
#define ID_AHA_29320 0x8012900500429005ull
#define ID_AHA_29320B 0x8013900500439005ull
#define ID_AHA_29320LP 0x8014900500449005ull
#define ID_AIC7902 0x801F9005FFFF9005ull
#define ID_AIC7902_B 0x801D9005FFFF9005ull
#define ID_AHA_39320 0x8010900500409005ull
#define ID_AHA_29320 0x8012900500429005ull
#define ID_AHA_29320B 0x8013900500439005ull
#define ID_AHA_39320_B 0x8015900500409005ull
#define ID_AHA_39320_B_DELL 0x8015900501681028ull
#define ID_AHA_39320A 0x8016900500409005ull
#define ID_AHA_39320D 0x8011900500419005ull
#define ID_AHA_39320D_B 0x801C900500419005ull
...
...
drivers/scsi/aic7xxx/aic7xxx_pci.c
浏览文件 @
5e46631b
...
...
@@ -39,9 +39,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
* $Id: //depot/aic7xxx/aic7xxx/aic7xxx_pci.c#69 $
*
* $FreeBSD$
* $Id: //depot/aic7xxx/aic7xxx/aic7xxx_pci.c#79 $
*/
#ifdef __linux__
...
...
@@ -393,6 +391,12 @@ struct ahc_pci_identity ahc_pci_ident_table [] =
"Adaptec aic7892 Ultra160 SCSI adapter (ARO)"
,
ahc_aic7892_setup
},
{
ID_AHA_2915_30LP
,
ID_ALL_MASK
,
"Adaptec 2915/30LP Ultra160 SCSI adapter"
,
ahc_aic7892_setup
},
/* aic7895 based controllers */
{
ID_AHA_2940U_DUAL
,
...
...
@@ -1193,9 +1197,19 @@ ahc_pci_test_register_access(struct ahc_softc *ahc)
* use for this test.
*/
hcntrl
=
ahc_inb
(
ahc
,
HCNTRL
);
if
(
hcntrl
==
0xFF
)
goto
fail
;
if
((
hcntrl
&
CHIPRST
)
!=
0
)
{
/*
* The chip has not been initialized since
* PCI/EISA/VLB bus reset. Don't trust
* "left over BIOS data".
*/
ahc
->
flags
|=
AHC_NO_BIOS_INIT
;
}
/*
* Next create a situation where write combining
* or read prefetching could be initiated by the
...
...
@@ -1307,6 +1321,10 @@ check_extport(struct ahc_softc *ahc, u_int *sxfrctl1)
sd
.
sd_chip
=
C56_66
;
}
ahc_release_seeprom
(
&
sd
);
/* Remember the SEEPROM type for later */
if
(
sd
.
sd_chip
==
C56_66
)
ahc
->
flags
|=
AHC_LARGE_SEEPROM
;
}
if
(
!
have_seeprom
)
{
...
...
drivers/scsi/aic7xxx/aic7xxx_pci.h
浏览文件 @
5e46631b
...
...
@@ -105,6 +105,7 @@
#define ID_AHA_29160C 0x0080900562209005ull
#define ID_AHA_29160B 0x00809005E2209005ull
#define ID_AHA_19160B 0x0081900562A19005ull
#define ID_AHA_2915_30LP 0x0082900502109005ull
#define ID_AIC7896 0x005F9005FFFF9005ull
#define ID_AIC7896_ARO 0x00539005FFFF9005ull
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录