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
7526c9af
Commit
7526c9af
authored
Sep 16, 2002
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing exports
parent
65fce515
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
drivers/ide/ide-dma.c
drivers/ide/ide-dma.c
+7
-1
drivers/ide/ide.c
drivers/ide/ide.c
+2
-0
No files found.
drivers/ide/ide-dma.c
View file @
7526c9af
...
@@ -211,6 +211,8 @@ ide_startstop_t ide_dma_intr (ide_drive_t *drive)
...
@@ -211,6 +211,8 @@ ide_startstop_t ide_dma_intr (ide_drive_t *drive)
return
DRIVER
(
drive
)
->
error
(
drive
,
"dma_intr"
,
stat
);
return
DRIVER
(
drive
)
->
error
(
drive
,
"dma_intr"
,
stat
);
}
}
EXPORT_SYMBOL_GPL
(
ide_dma_intr
);
static
int
ide_build_sglist
(
ide_drive_t
*
drive
,
struct
request
*
rq
)
static
int
ide_build_sglist
(
ide_drive_t
*
drive
,
struct
request
*
rq
)
{
{
ide_hwif_t
*
hwif
=
HWIF
(
drive
);
ide_hwif_t
*
hwif
=
HWIF
(
drive
);
...
@@ -365,6 +367,8 @@ int ide_build_dmatable (ide_drive_t *drive, struct request *rq)
...
@@ -365,6 +367,8 @@ int ide_build_dmatable (ide_drive_t *drive, struct request *rq)
return
0
;
/* revert to PIO for this request */
return
0
;
/* revert to PIO for this request */
}
}
EXPORT_SYMBOL_GPL
(
ide_build_dmatable
);
/* Teardown mappings after DMA has completed. */
/* Teardown mappings after DMA has completed. */
void
ide_destroy_dmatable
(
ide_drive_t
*
drive
)
void
ide_destroy_dmatable
(
ide_drive_t
*
drive
)
{
{
...
@@ -376,6 +380,8 @@ void ide_destroy_dmatable (ide_drive_t *drive)
...
@@ -376,6 +380,8 @@ void ide_destroy_dmatable (ide_drive_t *drive)
HWIF
(
drive
)
->
sg_dma_active
=
0
;
HWIF
(
drive
)
->
sg_dma_active
=
0
;
}
}
EXPORT_SYMBOL_GPL
(
ide_destroy_dmatable
);
static
int
config_drive_for_dma
(
ide_drive_t
*
drive
)
static
int
config_drive_for_dma
(
ide_drive_t
*
drive
)
{
{
struct
hd_driveid
*
id
=
drive
->
id
;
struct
hd_driveid
*
id
=
drive
->
id
;
...
@@ -1019,4 +1025,4 @@ void ide_setup_dma (ide_hwif_t *hwif, unsigned long dma_base, unsigned int num_p
...
@@ -1019,4 +1025,4 @@ void ide_setup_dma (ide_hwif_t *hwif, unsigned long dma_base, unsigned int num_p
BUG
();
BUG
();
}
}
EXPORT_SYMBOL_GPL
(
ide_setup_dma
);
drivers/ide/ide.c
View file @
7526c9af
...
@@ -194,6 +194,8 @@ int noautodma = 0;
...
@@ -194,6 +194,8 @@ int noautodma = 0;
int
noautodma
=
1
;
int
noautodma
=
1
;
#endif
#endif
EXPORT_SYMBOL
(
noautodma
);
/*
/*
* ide_modules keeps track of the available IDE chipset/probe/driver modules.
* ide_modules keeps track of the available IDE chipset/probe/driver modules.
*/
*/
...
...
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