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
4915aff2
Commit
4915aff2
authored
Feb 26, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://gkernel.bkbits.net/libata-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux
parents
87447e7a
818c7f39
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
6 deletions
+19
-6
drivers/pci/quirks.c
drivers/pci/quirks.c
+1
-0
drivers/scsi/ata_piix.c
drivers/scsi/ata_piix.c
+12
-1
drivers/scsi/libata-scsi.c
drivers/scsi/libata-scsi.c
+1
-1
drivers/scsi/sata_promise.c
drivers/scsi/sata_promise.c
+1
-1
drivers/scsi/sata_sil.c
drivers/scsi/sata_sil.c
+1
-1
drivers/scsi/sata_svw.c
drivers/scsi/sata_svw.c
+1
-1
drivers/scsi/sata_via.c
drivers/scsi/sata_via.c
+1
-1
include/linux/libata.h
include/linux/libata.h
+1
-0
No files found.
drivers/pci/quirks.c
View file @
4915aff2
...
@@ -826,6 +826,7 @@ static void __init quirk_intel_ide_combined(struct pci_dev *pdev)
...
@@ -826,6 +826,7 @@ static void __init quirk_intel_ide_combined(struct pci_dev *pdev)
case
0x24df
:
case
0x24df
:
case
0x25a3
:
case
0x25a3
:
case
0x25b0
:
case
0x25b0
:
case
0x2562
:
break
;
break
;
default:
default:
/* we do not handle this PCI device */
/* we do not handle this PCI device */
...
...
drivers/scsi/ata_piix.c
View file @
4915aff2
...
@@ -67,11 +67,22 @@ static struct pci_device_id piix_pci_tbl[] = {
...
@@ -67,11 +67,22 @@ static struct pci_device_id piix_pci_tbl[] = {
{
0x8086
,
0x25a2
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_pata
},
{
0x8086
,
0x25a2
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_pata
},
#endif
#endif
/* NOTE: The following PCI ids must be kept in sync with the
* list in drivers/pci/quirks.c.
*/
{
0x8086
,
0x24d1
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
{
0x8086
,
0x24d1
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
{
0x8086
,
0x24df
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
{
0x8086
,
0x24df
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
{
0x8086
,
0x25a3
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
{
0x8086
,
0x25a3
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
{
0x8086
,
0x25b0
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
{
0x8086
,
0x25b0
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
ich5_sata
},
/* ICH6 operates in two modes, "looks-like-ICH5" mode,
* and enhanced mode, with queueing and other fancy stuff.
* This is distinguished by PCI class code.
*/
{
0x8086
,
0x2562
,
PCI_ANY_ID
,
PCI_ANY_ID
,
PCI_CLASS_STORAGE_IDE
<<
8
,
0xffff00
,
ich5_sata
},
{
}
/* terminate list */
{
}
/* terminate list */
};
};
...
@@ -89,7 +100,7 @@ static Scsi_Host_Template piix_sht = {
...
@@ -89,7 +100,7 @@ static Scsi_Host_Template piix_sht = {
.
eh_strategy_handler
=
ata_scsi_error
,
.
eh_strategy_handler
=
ata_scsi_error
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
sg_tablesize
=
ATA_MAX_PRD
,
.
sg_tablesize
=
LIB
ATA_MAX_PRD
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
emulated
=
ATA_SHT_EMULATED
,
.
emulated
=
ATA_SHT_EMULATED
,
...
...
drivers/scsi/libata-scsi.c
View file @
4915aff2
...
@@ -123,7 +123,7 @@ int ata_scsi_slave_config(struct scsi_device *sdev)
...
@@ -123,7 +123,7 @@ int ata_scsi_slave_config(struct scsi_device *sdev)
{
{
sdev
->
use_10_for_rw
=
1
;
sdev
->
use_10_for_rw
=
1
;
sdev
->
use_10_for_ms
=
1
;
sdev
->
use_10_for_ms
=
1
;
blk_queue_max_phys_segments
(
sdev
->
request_queue
,
ATA_MAX_PRD
/
2
);
blk_queue_max_phys_segments
(
sdev
->
request_queue
,
LIBATA_MAX_PRD
);
return
0
;
/* scsi layer doesn't check return value, sigh */
return
0
;
/* scsi layer doesn't check return value, sigh */
}
}
...
...
drivers/scsi/sata_promise.c
View file @
4915aff2
...
@@ -187,7 +187,7 @@ static Scsi_Host_Template pdc_sata_sht = {
...
@@ -187,7 +187,7 @@ static Scsi_Host_Template pdc_sata_sht = {
.
eh_strategy_handler
=
ata_scsi_error
,
.
eh_strategy_handler
=
ata_scsi_error
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
sg_tablesize
=
ATA_MAX_PRD
,
.
sg_tablesize
=
LIB
ATA_MAX_PRD
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
emulated
=
ATA_SHT_EMULATED
,
.
emulated
=
ATA_SHT_EMULATED
,
...
...
drivers/scsi/sata_sil.c
View file @
4915aff2
...
@@ -127,7 +127,7 @@ static Scsi_Host_Template sil_sht = {
...
@@ -127,7 +127,7 @@ static Scsi_Host_Template sil_sht = {
.
eh_strategy_handler
=
ata_scsi_error
,
.
eh_strategy_handler
=
ata_scsi_error
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
sg_tablesize
=
ATA_MAX_PRD
,
.
sg_tablesize
=
LIB
ATA_MAX_PRD
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
emulated
=
ATA_SHT_EMULATED
,
.
emulated
=
ATA_SHT_EMULATED
,
...
...
drivers/scsi/sata_svw.c
View file @
4915aff2
...
@@ -222,7 +222,7 @@ static Scsi_Host_Template k2_sata_sht = {
...
@@ -222,7 +222,7 @@ static Scsi_Host_Template k2_sata_sht = {
.
eh_strategy_handler
=
ata_scsi_error
,
.
eh_strategy_handler
=
ata_scsi_error
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
sg_tablesize
=
ATA_MAX_PRD
,
.
sg_tablesize
=
LIB
ATA_MAX_PRD
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
emulated
=
ATA_SHT_EMULATED
,
.
emulated
=
ATA_SHT_EMULATED
,
...
...
drivers/scsi/sata_via.c
View file @
4915aff2
...
@@ -70,7 +70,7 @@ static Scsi_Host_Template svia_sht = {
...
@@ -70,7 +70,7 @@ static Scsi_Host_Template svia_sht = {
.
eh_strategy_handler
=
ata_scsi_error
,
.
eh_strategy_handler
=
ata_scsi_error
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
can_queue
=
ATA_DEF_QUEUE
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
this_id
=
ATA_SHT_THIS_ID
,
.
sg_tablesize
=
ATA_MAX_PRD
,
.
sg_tablesize
=
LIB
ATA_MAX_PRD
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
max_sectors
=
ATA_MAX_SECTORS
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
cmd_per_lun
=
ATA_SHT_CMD_PER_LUN
,
.
emulated
=
ATA_SHT_EMULATED
,
.
emulated
=
ATA_SHT_EMULATED
,
...
...
include/linux/libata.h
View file @
4915aff2
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
enum
{
enum
{
/* various global constants */
/* various global constants */
LIBATA_MAX_PRD
=
ATA_MAX_PRD
/
2
,
ATA_MAX_PORTS
=
8
,
ATA_MAX_PORTS
=
8
,
ATA_DEF_QUEUE
=
1
,
ATA_DEF_QUEUE
=
1
,
ATA_MAX_QUEUE
=
1
,
ATA_MAX_QUEUE
=
1
,
...
...
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