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
nexedi
linux
Commits
5a46fe89
Commit
5a46fe89
authored
Jan 17, 2006
by
Yusuf Iskenderoglu
Committed by
Jeff Garzik
Jan 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] sata_promise: add pci id
parent
88b52877
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
drivers/scsi/sata_promise.c
drivers/scsi/sata_promise.c
+16
-0
No files found.
drivers/scsi/sata_promise.c
View file @
5a46fe89
...
...
@@ -66,6 +66,7 @@ enum {
board_2037x
=
0
,
/* FastTrak S150 TX2plus */
board_20319
=
1
,
/* FastTrak S150 TX4 */
board_20619
=
2
,
/* FastTrak TX4000 */
board_20771
=
3
,
/* FastTrak TX2300 */
PDC_HAS_PATA
=
(
1
<<
1
),
/* PDC20375 has PATA */
...
...
@@ -190,6 +191,16 @@ static const struct ata_port_info pdc_port_info[] = {
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
.
port_ops
=
&
pdc_pata_ops
,
},
/* board_20771 */
{
.
sht
=
&
pdc_ata_sht
,
.
host_flags
=
PDC_COMMON_FLAGS
|
ATA_FLAG_SATA
,
.
pio_mask
=
0x1f
,
/* pio0-4 */
.
mwdma_mask
=
0x07
,
/* mwdma0-2 */
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
.
port_ops
=
&
pdc_sata_ops
,
},
};
static
const
struct
pci_device_id
pdc_ata_pci_tbl
[]
=
{
...
...
@@ -226,6 +237,8 @@ static const struct pci_device_id pdc_ata_pci_tbl[] = {
{
PCI_VENDOR_ID_PROMISE
,
0x6629
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
board_20619
},
{
PCI_VENDOR_ID_PROMISE
,
0x3570
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
board_20771
},
{
}
/* terminate list */
};
...
...
@@ -706,6 +719,9 @@ static int pdc_ata_init_one (struct pci_dev *pdev, const struct pci_device_id *e
case
board_2037x
:
probe_ent
->
n_ports
=
2
;
break
;
case
board_20771
:
probe_ent
->
n_ports
=
2
;
break
;
case
board_20619
:
probe_ent
->
n_ports
=
4
;
...
...
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