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
74d6048c
Commit
74d6048c
authored
Sep 11, 2002
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missed pdc4030.h update:
o silly IS_PDC4030_DRIVE definition
parent
ab254e4f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
drivers/ide/legacy/pdc4030.h
drivers/ide/legacy/pdc4030.h
+26
-0
No files found.
drivers/ide/legacy/pdc4030.h
View file @
74d6048c
...
...
@@ -11,6 +11,30 @@
#ifndef IDE_PROMISE_H
#define IDE_PROMISE_H
#include <linux/config.h>
#ifndef CONFIG_BLK_DEV_PDC4030
# ifdef _IDE_DISK
# define IS_PDC4030_DRIVE (0)
/* auto-NULLs out pdc4030 code */
ide_startstop_t
promise_rw_disk
(
ide_drive_t
*
,
struct
request
*
,
unsigned
long
);
ide_startstop_t
promise_rw_disk
(
ide_drive_t
*
drive
,
struct
request
*
rq
,
unsigned
long
block
)
{
return
ide_stopped
;
}
# endif
/* _IDE_DISK */
#else
/* CONFIG_BLK_DEV_PDC4030 */
# ifdef _IDE_DISK
# define IS_PDC4030_DRIVE (HWIF(drive)->chipset == ide_pdc4030)
ide_startstop_t
promise_rw_disk
(
ide_drive_t
*
,
struct
request
*
,
unsigned
long
);
# endif
/* _IDE_DISK */
#endif
/* CONFIG_BLK_DEV_PDC4030 */
#ifdef __PROMISE_4030
#define PROMISE_EXTENDED_COMMAND 0xF0
#define PROMISE_READ 0xF2
#define PROMISE_WRITE 0xF3
...
...
@@ -41,4 +65,6 @@ struct dc_ident {
u8
pad
[
SECTOR_WORDS
*
4
-
32
];
};
#endif
/* __PROMISE_4030 */
#endif
/* IDE_PROMISE_H */
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