[SLE] SuSE 6.3 ide.c kinda sorta patched
It's my understanding from the following thread the ide.c code is "kinda sorta" patched. I'm unclear on where to insert this code. Has this patch been officially released? I'm installing 6.3 for the first time on a 486 ISA only system. Since I haven't really used SuSE support since release 5.3, please forgive me if I have missed the patch or recommendation somewhere. referring to the patch code: --- 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; from the thread: Hi, On Wed, 15 Dec 1999 clarge@gizmo.macn.bc.ca wrote:
I'm unable to compile a new kernel in base install. Here is the error message.
<SNIP>
This is on an old 486dx and a clean install with the SuSE kernel sources. Any ideas on how to fix this? This is a nfs install.
This happens, if you compile a kernel without PCI support, right? There's a small bug in the ide code. Here's a patch from Andre Hedrick (the Linux IDE guy): <CUT HERE> --- 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; <CUT HERE> Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ B.B. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
netsomni@fastrans.net