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
4586da2a
Commit
4586da2a
authored
Mar 15, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] kill the warning everybody grumbles about
parent
6aa7c167
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+6
-0
No files found.
drivers/scsi/libata-core.c
View file @
4586da2a
...
@@ -49,7 +49,9 @@ static unsigned int ata_busy_sleep (struct ata_port *ap,
...
@@ -49,7 +49,9 @@ static unsigned int ata_busy_sleep (struct ata_port *ap,
unsigned
long
tmout_pat
,
unsigned
long
tmout_pat
,
unsigned
long
tmout
);
unsigned
long
tmout
);
static
void
__ata_dev_select
(
struct
ata_port
*
ap
,
unsigned
int
device
);
static
void
__ata_dev_select
(
struct
ata_port
*
ap
,
unsigned
int
device
);
#if 0 /* to be used eventually */
static void ata_qc_push (struct ata_queued_cmd *qc, unsigned int append);
static void ata_qc_push (struct ata_queued_cmd *qc, unsigned int append);
#endif
static
void
ata_dma_complete
(
struct
ata_port
*
ap
,
u8
host_stat
,
static
void
ata_dma_complete
(
struct
ata_port
*
ap
,
u8
host_stat
,
unsigned
int
done_late
);
unsigned
int
done_late
);
static
void
ata_host_set_pio
(
struct
ata_port
*
ap
);
static
void
ata_host_set_pio
(
struct
ata_port
*
ap
);
...
@@ -1971,6 +1973,7 @@ static void ata_pio_sector(struct ata_port *ap)
...
@@ -1971,6 +1973,7 @@ static void ata_pio_sector(struct ata_port *ap)
kunmap
(
sg
[
qc
->
cursg
].
page
);
kunmap
(
sg
[
qc
->
cursg
].
page
);
}
}
#if 0 /* to be used eventually */
/**
/**
* ata_eng_schedule - run an iteration of the pio/dma/whatever engine
* ata_eng_schedule - run an iteration of the pio/dma/whatever engine
* @ap: port on which activity will occur
* @ap: port on which activity will occur
...
@@ -1983,6 +1986,7 @@ static void ata_eng_schedule (struct ata_port *ap, struct ata_engine *eng)
...
@@ -1983,6 +1986,7 @@ static void ata_eng_schedule (struct ata_port *ap, struct ata_engine *eng)
{
{
/* FIXME */
/* FIXME */
}
}
#endif
/**
/**
* ata_eng_timeout - Handle timeout of queued command
* ata_eng_timeout - Handle timeout of queued command
...
@@ -2172,6 +2176,7 @@ void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat, unsigned int done_l
...
@@ -2172,6 +2176,7 @@ void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat, unsigned int done_l
clear_bit
(
tag
,
&
ap
->
qactive
);
clear_bit
(
tag
,
&
ap
->
qactive
);
}
}
#if 0 /* to be used eventually */
/**
/**
* ata_qc_push -
* ata_qc_push -
* @qc:
* @qc:
...
@@ -2193,6 +2198,7 @@ static void ata_qc_push (struct ata_queued_cmd *qc, unsigned int append)
...
@@ -2193,6 +2198,7 @@ static void ata_qc_push (struct ata_queued_cmd *qc, unsigned int append)
if (!test_and_set_bit(ATA_EFLG_ACTIVE, &eng->flags))
if (!test_and_set_bit(ATA_EFLG_ACTIVE, &eng->flags))
ata_eng_schedule(ap, eng);
ata_eng_schedule(ap, eng);
}
}
#endif
/**
/**
* ata_qc_issue -
* ata_qc_issue -
...
...
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