Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
9bec2e38
Commit
9bec2e38
authored
Aug 31, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] Trim trailing whitespace.
parent
b01e86fe
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 @
9bec2e38
...
@@ -1075,7 +1075,7 @@ static void ahci_host_intr(struct ata_port *ap)
...
@@ -1075,7 +1075,7 @@ static void ahci_host_intr(struct ata_port *ap)
return
;
return
;
/* ignore interim PIO setup fis interrupts */
/* 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
;
return
;
if
(
ata_ratelimit
())
if
(
ata_ratelimit
())
...
...
drivers/ata/pdc_adma.c
View file @
9bec2e38
...
@@ -497,7 +497,7 @@ static inline unsigned int adma_intr_mmio(struct ata_host *host)
...
@@ -497,7 +497,7 @@ static inline unsigned int adma_intr_mmio(struct ata_host *host)
continue
;
continue
;
DPRINTK
(
"ata%u: protocol %d (dev_stat 0x%X)
\n
"
,
DPRINTK
(
"ata%u: protocol %d (dev_stat 0x%X)
\n
"
,
ap
->
id
,
qc
->
tf
.
protocol
,
status
);
ap
->
id
,
qc
->
tf
.
protocol
,
status
);
/* complete taskfile transaction */
/* complete taskfile transaction */
pp
->
state
=
adma_state_idle
;
pp
->
state
=
adma_state_idle
;
qc
->
err_mask
|=
ac_err_mask
(
status
);
qc
->
err_mask
|=
ac_err_mask
(
status
);
...
...
include/linux/ata.h
View file @
9bec2e38
...
@@ -320,8 +320,8 @@ static inline unsigned int ata_id_major_version(const u16 *id)
...
@@ -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
)
static
inline
int
ata_id_current_chs_valid
(
const
u16
*
id
)
{
{
/* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command
/* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command
has not been issued to the device then the values of
has not been issued to the device then the values of
id[54] to id[56] are vendor specific. */
id[54] to id[56] are vendor specific. */
return
(
id
[
53
]
&
0x01
)
&&
/* Current translation valid */
return
(
id
[
53
]
&
0x01
)
&&
/* Current translation valid */
id
[
54
]
&&
/* cylinders in current translation */
id
[
54
]
&&
/* cylinders in current translation */
...
...
include/linux/libata.h
View file @
9bec2e38
...
@@ -198,7 +198,7 @@ enum {
...
@@ -198,7 +198,7 @@ enum {
/* host set flags */
/* host set flags */
ATA_HOST_SIMPLEX
=
(
1
<<
0
),
/* Host is simplex, one DMA channel per host only */
ATA_HOST_SIMPLEX
=
(
1
<<
0
),
/* Host is simplex, one DMA channel per host only */
/* various lengths of time */
/* various lengths of time */
ATA_TMOUT_BOOT
=
30
*
HZ
,
/* heuristic */
ATA_TMOUT_BOOT
=
30
*
HZ
,
/* heuristic */
ATA_TMOUT_BOOT_QUICK
=
7
*
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