public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c0264
)
devide: remove escaped debug, ifdef routine not always required
author
Alan Cox
<alan@linux.intel.com>
Fri, 13 Feb 2015 17:03:56 +0000
(17:03 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 13 Feb 2015 17:03:56 +0000
(17:03 +0000)
Kernel/dev/devide_discard.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/devide_discard.c
b/Kernel/dev/devide_discard.c
index
f841d81
..
4ed3070
100644
(file)
--- a/
Kernel/dev/devide_discard.c
+++ b/
Kernel/dev/devide_discard.c
@@
-23,6
+23,7
@@
/* each source file. */
/****************************************************************************/
+#ifdef IDE_REG_CONTROL
static void devide_delay(void)
{
timer_t timeout;
@@
-32,6
+33,7
@@
static void devide_delay(void)
while(!timer_expired(timeout))
platform_idle();
}
+#endif
void devide_init_drive(uint8_t drive)
{
@@
-95,7
+97,6
@@
void devide_init_drive(uint8_t drive)
if(!blk)
goto failout;
- kputs("BAL");
blk->transfer = devide_transfer_sector;
blk->flush = devide_flush_cache;
blk->driver_data = drive & DRIVE_NR_MASK;