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
166743a1
Commit
166743a1
authored
Oct 01, 2004
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ide] remove dead CMD640 debugging from ide-probe.c
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
83b64ac2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
18 deletions
+4
-18
drivers/ide/ide-probe.c
drivers/ide/ide-probe.c
+0
-9
drivers/ide/pci/cmd640.c
drivers/ide/pci/cmd640.c
+4
-2
include/linux/ide.h
include/linux/ide.h
+0
-7
No files found.
drivers/ide/ide-probe.c
View file @
166743a1
...
@@ -389,15 +389,6 @@ static int try_to_identify (ide_drive_t *drive, u8 cmd)
...
@@ -389,15 +389,6 @@ static int try_to_identify (ide_drive_t *drive, u8 cmd)
*/
*/
printk
(
"%s: IRQ probe failed (0x%lx)
\n
"
,
printk
(
"%s: IRQ probe failed (0x%lx)
\n
"
,
drive
->
name
,
cookie
);
drive
->
name
,
cookie
);
#ifdef CONFIG_BLK_DEV_CMD640
#ifdef CMD640_DUMP_REGS
if
(
hwif
->
chipset
==
ide_cmd640
)
{
printk
(
"%s: Hmmm.. probably a driver "
"problem.
\n
"
,
drive
->
name
);
CMD640_DUMP_REGS
;
}
#endif
/* CMD640_DUMP_REGS */
#endif
/* CONFIG_BLK_DEV_CMD640 */
}
}
}
}
}
}
...
...
drivers/ide/pci/cmd640.c
View file @
166743a1
...
@@ -101,6 +101,8 @@
...
@@ -101,6 +101,8 @@
#undef REALLY_SLOW_IO
/* most systems can safely undef this */
#undef REALLY_SLOW_IO
/* most systems can safely undef this */
#define CMD640_PREFETCH_MASKS 1
#define CMD640_PREFETCH_MASKS 1
//#define CMD640_DUMP_REGS
#include <linux/config.h>
#include <linux/config.h>
#include <linux/types.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
...
@@ -748,7 +750,7 @@ int __init ide_probe_for_cmd640x (void)
...
@@ -748,7 +750,7 @@ int __init ide_probe_for_cmd640x (void)
put_cmd640_reg
(
0x5b
,
0
);
put_cmd640_reg
(
0x5b
,
0
);
#ifdef CMD640_DUMP_REGS
#ifdef CMD640_DUMP_REGS
CMD640_DUMP_REGS
;
cmd640_dump_regs
()
;
#endif
#endif
/*
/*
...
@@ -870,7 +872,7 @@ int __init ide_probe_for_cmd640x (void)
...
@@ -870,7 +872,7 @@ int __init ide_probe_for_cmd640x (void)
}
}
#ifdef CMD640_DUMP_REGS
#ifdef CMD640_DUMP_REGS
CMD640_DUMP_REGS
;
cmd640_dump_regs
()
;
#endif
#endif
return
1
;
return
1
;
}
}
...
...
include/linux/ide.h
View file @
166743a1
...
@@ -52,13 +52,6 @@
...
@@ -52,13 +52,6 @@
#define OK_TO_RESET_CONTROLLER 1
/* 0 for use with AH2372A/B interface */
#define OK_TO_RESET_CONTROLLER 1
/* 0 for use with AH2372A/B interface */
#endif
#endif
#ifdef CONFIG_BLK_DEV_CMD640
#if 0 /* change to 1 when debugging cmd640 problems */
void cmd640_dump_regs (void);
#define CMD640_DUMP_REGS cmd640_dump_regs() /* for debugging cmd640 chipset */
#endif
#endif
/* CONFIG_BLK_DEV_CMD640 */
#ifndef DISABLE_IRQ_NOSYNC
#ifndef DISABLE_IRQ_NOSYNC
#define DISABLE_IRQ_NOSYNC 0
#define DISABLE_IRQ_NOSYNC 0
#endif
#endif
...
...
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