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
1700c80d
Commit
1700c80d
authored
Jun 04, 2005
by
Committed by
Jeff Garzik
Jun 04, 2005
Browse files
Options
Browse Files
Download
Plain Diff
Merge of /spare/repo/libata-dev branch pdc20619
parents
d3c39d14
ae20ea85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
drivers/scsi/sata_promise.c
drivers/scsi/sata_promise.c
+25
-1
No files found.
drivers/scsi/sata_promise.c
View file @
1700c80d
...
...
@@ -59,6 +59,7 @@ enum {
board_2037x
=
0
,
/* FastTrak S150 TX2plus */
board_20319
=
1
,
/* FastTrak S150 TX4 */
board_20619
=
2
,
/* FastTrak TX4000 */
PDC_HAS_PATA
=
(
1
<<
1
),
/* PDC20375 has PATA */
...
...
@@ -147,6 +148,17 @@ static struct ata_port_info pdc_port_info[] = {
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
.
port_ops
=
&
pdc_ata_ops
,
},
/* board_20619 */
{
.
sht
=
&
pdc_ata_sht
,
.
host_flags
=
ATA_FLAG_NO_LEGACY
|
ATA_FLAG_SRST
|
ATA_FLAG_MMIO
|
ATA_FLAG_SLAVE_POSS
,
.
pio_mask
=
0x1f
,
/* pio0-4 */
.
mwdma_mask
=
0x07
,
/* mwdma0-2 */
.
udma_mask
=
0x7f
,
/* udma0-6 ; FIXME */
.
port_ops
=
&
pdc_ata_ops
,
},
};
static
struct
pci_device_id
pdc_ata_pci_tbl
[]
=
{
...
...
@@ -172,6 +184,9 @@ static struct pci_device_id pdc_ata_pci_tbl[] = {
{
PCI_VENDOR_ID_PROMISE
,
0x3d18
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
board_20319
},
{
PCI_VENDOR_ID_PROMISE
,
0x6629
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
board_20619
},
{
}
/* terminate list */
};
...
...
@@ -636,6 +651,15 @@ 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_20619
:
probe_ent
->
n_ports
=
4
;
pdc_ata_setup_port
(
&
probe_ent
->
port
[
2
],
base
+
0x300
);
pdc_ata_setup_port
(
&
probe_ent
->
port
[
3
],
base
+
0x380
);
probe_ent
->
port
[
2
].
scr_addr
=
base
+
0x600
;
probe_ent
->
port
[
3
].
scr_addr
=
base
+
0x700
;
break
;
default:
BUG
();
break
;
...
...
@@ -676,7 +700,7 @@ static void __exit pdc_ata_exit(void)
MODULE_AUTHOR
(
"Jeff Garzik"
);
MODULE_DESCRIPTION
(
"Promise
SATA TX2/TX4
low-level driver"
);
MODULE_DESCRIPTION
(
"Promise
ATA TX2/TX4/TX4000
low-level driver"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_DEVICE_TABLE
(
pci
,
pdc_ata_pci_tbl
);
MODULE_VERSION
(
DRV_VERSION
);
...
...
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