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
481ff126
Commit
481ff126
authored
Aug 31, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upstream' into pata-drivers
parents
669a5db4
9bec2e38
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/ata/ahci.c
drivers/ata/ahci.c
+1
-1
drivers/ata/pdc_adma.c
drivers/ata/pdc_adma.c
+1
-1
include/linux/ata.h
include/linux/ata.h
+2
-2
include/linux/libata.h
include/linux/libata.h
+1
-1
No files found.
drivers/ata/ahci.c
View file @
481ff126
...
...
@@ -1075,7 +1075,7 @@ static void ahci_host_intr(struct ata_port *ap)
return
;
/* ignore interim PIO setup fis interrupts */
if
(
ata_tag_valid
(
ap
->
active_tag
)
&&
(
status
&
PORT_IRQ_PIOS_FIS
))
if
(
ata_tag_valid
(
ap
->
active_tag
)
&&
(
status
&
PORT_IRQ_PIOS_FIS
))
return
;
if
(
ata_ratelimit
())
...
...
drivers/ata/pdc_adma.c
View file @
481ff126
...
...
@@ -497,7 +497,7 @@ static inline unsigned int adma_intr_mmio(struct ata_host *host)
continue
;
DPRINTK
(
"ata%u: protocol %d (dev_stat 0x%X)
\n
"
,
ap
->
id
,
qc
->
tf
.
protocol
,
status
);
/* complete taskfile transaction */
pp
->
state
=
adma_state_idle
;
qc
->
err_mask
|=
ac_err_mask
(
status
);
...
...
include/linux/ata.h
View file @
481ff126
...
...
@@ -320,8 +320,8 @@ static inline unsigned int ata_id_major_version(const u16 *id)
static
inline
int
ata_id_current_chs_valid
(
const
u16
*
id
)
{
/* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command
has not been issued to the device then the values of
/* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command
has not been issued to the device then the values of
id[54] to id[56] are vendor specific. */
return
(
id
[
53
]
&
0x01
)
&&
/* Current translation valid */
id
[
54
]
&&
/* cylinders in current translation */
...
...
include/linux/libata.h
View file @
481ff126
...
...
@@ -198,7 +198,7 @@ enum {
/* host set flags */
ATA_HOST_SIMPLEX
=
(
1
<<
0
),
/* Host is simplex, one DMA channel per host only */
/* various lengths of time */
ATA_TMOUT_BOOT
=
30
*
HZ
,
/* heuristic */
ATA_TMOUT_BOOT_QUICK
=
7
*
HZ
,
/* heuristic */
...
...
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