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
nexedi
linux
Commits
0a119366
Commit
0a119366
authored
Jul 09, 2003
by
Steve French
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs
parents
b113958b
b28ae60c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
drivers/ide/ide-probe.c
drivers/ide/ide-probe.c
+8
-0
include/linux/compiler.h
include/linux/compiler.h
+1
-1
No files found.
drivers/ide/ide-probe.c
View file @
0a119366
...
...
@@ -390,6 +390,14 @@ static int try_to_identify (ide_drive_t *drive, u8 cmd)
cookie
=
probe_irq_on
();
/* enable device irq */
hwif
->
OUTB
(
drive
->
ctl
,
IDE_CONTROL_REG
);
}
else
{
/*
* Disable device irq if we don't need to
* probe for it. Otherwise we'll get spurious
* interrupts during the identify-phase that
* the irq handler isn't expecting.
*/
hwif
->
OUTB
(
drive
->
ctl
|
2
,
IDE_CONTROL_REG
);
}
retval
=
actual_try_to_identify
(
drive
,
cmd
);
...
...
include/linux/compiler.h
View file @
0a119366
...
...
@@ -68,7 +68,7 @@
* The attribute `pure' is not implemented in GCC versions earlier
* than 2.96.
*/
#if (__GNUC__ == 2 && __GNUC_MINOR >= 96) || __GNUC__ > 2
#if (__GNUC__ == 2 && __GNUC_MINOR
__
>= 96) || __GNUC__ > 2
#define __attribute_pure__ __attribute__((pure))
#else
#define __attribute_pure__
/* unimplemented */
...
...
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