Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
74b7bd9d
Commit
74b7bd9d
authored
Feb 26, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/misc-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux
parents
61c3c39f
4b5ae086
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
2 deletions
+56
-2
arch/i386/pci/irq.c
arch/i386/pci/irq.c
+1
-0
drivers/ide/pci/piix.c
drivers/ide/pci/piix.c
+8
-0
drivers/ide/pci/piix.h
drivers/ide/pci/piix.h
+28
-0
include/linux/pci_ids.h
include/linux/pci_ids.h
+4
-0
sound/oss/i810_audio.c
sound/oss/i810_audio.c
+15
-2
No files found.
arch/i386/pci/irq.c
View file @
74b7bd9d
...
...
@@ -479,6 +479,7 @@ static __init int intel_router_probe(struct irq_router *r, struct pci_dev *route
case
PCI_DEVICE_ID_INTEL_82801E_0
:
case
PCI_DEVICE_ID_INTEL_82801EB_0
:
case
PCI_DEVICE_ID_INTEL_ESB_0
:
case
PCI_DEVICE_ID_INTEL_ICH6_0
:
r
->
name
=
"PIIX/ICH"
;
r
->
get
=
pirq_piix_get
;
r
->
set
=
pirq_piix_set
;
...
...
drivers/ide/pci/piix.c
View file @
74b7bd9d
...
...
@@ -152,6 +152,8 @@ static int piix_get_info (char *buffer, char **addr, off_t offset, int count)
case
PCI_DEVICE_ID_INTEL_82801DB_11
:
case
PCI_DEVICE_ID_INTEL_82801EB_11
:
case
PCI_DEVICE_ID_INTEL_82801E_11
:
case
PCI_DEVICE_ID_INTEL_ESB_2
:
case
PCI_DEVICE_ID_INTEL_ICH6_2
:
p
+=
sprintf
(
p
,
"PIIX4 Ultra 100 "
);
break
;
case
PCI_DEVICE_ID_INTEL_82372FB_1
:
...
...
@@ -289,6 +291,8 @@ static u8 piix_ratemask (ide_drive_t *drive)
case
PCI_DEVICE_ID_INTEL_82801DB_10
:
case
PCI_DEVICE_ID_INTEL_82801DB_11
:
case
PCI_DEVICE_ID_INTEL_82801EB_11
:
case
PCI_DEVICE_ID_INTEL_ESB_2
:
case
PCI_DEVICE_ID_INTEL_ICH6_2
:
mode
=
3
;
break
;
/* UDMA 66 capable */
...
...
@@ -622,6 +626,8 @@ static unsigned int __devinit init_chipset_piix (struct pci_dev *dev, const char
case
PCI_DEVICE_ID_INTEL_82801DB_11
:
case
PCI_DEVICE_ID_INTEL_82801EB_11
:
case
PCI_DEVICE_ID_INTEL_82801E_11
:
case
PCI_DEVICE_ID_INTEL_ESB_2
:
case
PCI_DEVICE_ID_INTEL_ICH6_2
:
{
unsigned
int
extra
=
0
;
pci_read_config_dword
(
dev
,
0x54
,
&
extra
);
...
...
@@ -797,6 +803,8 @@ static struct pci_device_id piix_pci_tbl[] = {
#ifndef CONFIG_SCSI_SATA
{
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_82801EB_1
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
18
},
#endif
/* !CONFIG_SCSI_SATA */
{
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_ESB_2
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
19
},
{
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_ICH6_2
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
20
},
{
0
,
},
};
...
...
drivers/ide/pci/piix.h
View file @
74b7bd9d
...
...
@@ -266,6 +266,34 @@ static ide_pci_device_t piix_pci_info[] __devinitdata = {
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
.
bootable
=
ON_BOARD
,
.
extra
=
0
,
},{
/* 19 */
.
vendor
=
PCI_VENDOR_ID_INTEL
,
.
device
=
PCI_DEVICE_ID_INTEL_ESB_2
,
.
name
=
"ICH5"
,
.
init_setup
=
init_setup_piix
,
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
.
bootable
=
ON_BOARD
,
.
extra
=
0
,
},{
/* 20 */
.
vendor
=
PCI_VENDOR_ID_INTEL
,
.
device
=
PCI_DEVICE_ID_INTEL_ICH6_2
,
.
name
=
"ICH6"
,
.
init_setup
=
init_setup_piix
,
.
init_chipset
=
init_chipset_piix
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_piix
,
.
init_dma
=
init_dma_piix
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
.
bootable
=
ON_BOARD
,
.
extra
=
0
,
},{
.
vendor
=
0
,
.
device
=
0
,
...
...
include/linux/pci_ids.h
View file @
74b7bd9d
...
...
@@ -2054,6 +2054,10 @@
#define PCI_DEVICE_ID_INTEL_82865_IG 0x2572
#define PCI_DEVICE_ID_INTEL_82875_HB 0x2578
#define PCI_DEVICE_ID_INTEL_82875_IG 0x257b
#define PCI_DEVICE_ID_INTEL_ICH6_0 0x2640
#define PCI_DEVICE_ID_INTEL_ICH6_1 0x2641
#define PCI_DEVICE_ID_INTEL_ICH6_2 0x266f
#define PCI_DEVICE_ID_INTEL_ICH6_3 0x266e
#define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340
#define PCI_DEVICE_ID_INTEL_82830_HB 0x3575
#define PCI_DEVICE_ID_INTEL_82830_CGC 0x3577
...
...
sound/oss/i810_audio.c
View file @
74b7bd9d
...
...
@@ -120,9 +120,15 @@
#ifndef PCI_DEVICE_ID_INTEL_ICH5
#define PCI_DEVICE_ID_INTEL_ICH5 0x24d5
#endif
#ifndef PCI_DEVICE_ID_INTEL_ICH6_3
#define PCI_DEVICE_ID_INTEL_ICH6_3 0x266e
#endif
#ifndef PCI_DEVICE_ID_INTEL_440MX
#define PCI_DEVICE_ID_INTEL_440MX 0x7195
#endif
#ifndef PCI_DEVICE_ID_INTEL_ESB_5
#define PCI_DEVICE_ID_INTEL_ESB_5 0x25a6
#endif
#ifndef PCI_DEVICE_ID_SI_7012
#define PCI_DEVICE_ID_SI_7012 0x7012
#endif
...
...
@@ -343,6 +349,11 @@ static struct pci_device_id i810_pci_tbl [] = {
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
AMD768
},
{
PCI_VENDOR_ID_AMD
,
PCI_DEVICE_ID_AMD_8111_AC97
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
AMD8111
},
{
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_ESB_5
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
INTELICH4
},
{
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_ICH6_3
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
INTELICH4
},
{
0
,}
};
...
...
@@ -2785,7 +2796,8 @@ static int i810_ac97_power_up_bus(struct i810_card *card)
*/
/* see i810_ac97_init for the next 7 lines (jsaw) */
inw
(
card
->
ac97base
);
if
((
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH4
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH5
)
if
((
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH4
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH5
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ESB_5
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH6_3
)
&&
(
card
->
use_mmio
))
{
primary_codec_id
=
(
int
)
readl
(
card
->
iobase_mmio
+
SDM
)
&
0x3
;
printk
(
KERN_INFO
"i810_audio: Primary codec has ID %d
\n
"
,
...
...
@@ -2855,7 +2867,8 @@ static int __devinit i810_ac97_init(struct i810_card *card)
possible IO channels. Bit 0:1 of SDM then holds the
last codec ID spoken to.
*/
if
((
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH4
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH5
)
if
((
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH4
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH5
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ESB_5
||
card
->
pci_id
==
PCI_DEVICE_ID_INTEL_ICH6_3
)
&&
(
card
->
use_mmio
))
{
ac97_id
=
(
int
)
readl
(
card
->
iobase_mmio
+
SDM
)
&
0x3
;
printk
(
KERN_INFO
"i810_audio: Connection %d with codec id %d
\n
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment