lkml.org 
[lkml]   [1999]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.2.14pre4 ide.c w/no CONFIG_BLK_DEV_IDEPCI
The attached patch allows ide.c to compile where CONFIG_BLK_DEV_IDEPCI
is not defined.

-Tom
--
Tom Eastep \ Opinions expressed here
teastep@evergo.net \ are my own and not
Shoreline, Washington USA \ those of my employer
Work: tom.eastep@compaq.com \________________________--- linux/drivers/block/ide.c~ Fri Nov 5 15:34:17 1999
+++ linux/drivers/block/ide.c Fri Nov 5 15:43:03 1999
@@ -1419,11 +1419,13 @@
*/
(void)ide_ack_intr(hwif->io_ports[IDE_STATUS_OFFSET], hwif->io_ports[IDE_IRQ_OFFSET]);
unexpected_intr(irq, hwgroup);
+#ifdef CONFIG_BLK_DEV_IDEPCI
} else {
/*
* Whack the status register, just in case we have a leftover pending IRQ.
*/
(void)IN_BYTE(hwif->io_ports[IDE_STATUS_OFFSET]);
+#endif /* CONFIG_BLK_DEV_IDEPCI */
}
spin_unlock_irqrestore(&io_request_lock, flags);
return;
\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.036 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site