Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
0ff7cba4
Commit
0ff7cba4
authored
17 years ago
by
Dave Liu
Committed by
Wolfgang Denk
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
drivers: clean up the ata_piix.h
Signed-off-by:
Dave Liu
<
daveliu@freescale.com
>
parent
e8f7ba40
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/block/ata_piix.h
+15
-11
15 additions, 11 deletions
drivers/block/ata_piix.h
with
15 additions
and
11 deletions
drivers/block/ata_piix.h
+
15
−
11
View file @
0ff7cba4
#ifndef __ATA_PIIX_H__
#define __ATA_PIIX_H__
#if (DEBUG_SATA)
#define PRINTF(fmt,args...) printf (fmt ,##args)
...
...
@@ -51,17 +53,17 @@ struct sata_port {
static
inline
void
ata_dump_id
(
u16
*
id
)
{
PRINTF
(
"49
==
0x%04x "
"53
==
0x%04x "
"63
==
0x%04x "
"64
==
0x%04x "
"75
==
0x%04x
\n
"
,
id
[
49
],
id
[
53
],
id
[
63
],
id
[
64
],
id
[
75
]);
PRINTF
(
"80
==
0x%04x "
"81
==
0x%04x "
"82
==
0x%04x "
"83
==
0x%04x "
"84
==
0x%04x
\n
"
,
id
[
80
],
id
[
81
],
id
[
82
],
id
[
83
],
id
[
84
]);
PRINTF
(
"88
==
0x%04x "
"93
==
0x%04x
\n
"
,
id
[
88
],
id
[
93
]);
PRINTF
(
"49
=
0x%04x "
"53
=
0x%04x "
"63
=
0x%04x "
"64
=
0x%04x "
"75
=
0x%04x
\n
"
,
id
[
49
],
id
[
53
],
id
[
63
],
id
[
64
],
id
[
75
]);
PRINTF
(
"80
=
0x%04x "
"81
=
0x%04x "
"82
=
0x%04x "
"83
=
0x%04x "
"84
=
0x%04x
\n
"
,
id
[
80
],
id
[
81
],
id
[
82
],
id
[
83
],
id
[
84
]);
PRINTF
(
"88
=
0x%04x "
"93
=
0x%04x
\n
"
,
id
[
88
],
id
[
93
]);
}
#endif
...
...
@@ -88,3 +90,5 @@ int init_sata (int dev);
#ifdef DRV_DECL
/*Defines Driver Specific variables */
struct
sata_port
port
[
CFG_SATA_MAXBUS
];
#endif
#endif
/* __ATA_PIIX_H__ */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment