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 \________________________ --------------E74B901C8C0897BE5445156B Content-Type: text/plain; charset=us-ascii; name="ide-nopci.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ide-nopci.patch"--- 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;
--------------E74B901C8C0897BE5445156B--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/