[PATCH] 2.5.44 and Secondary Channel Only configuration Kernel Ooops

From: Jason Williams (jason_williams@suth.com)
Date: Mon Oct 21 2002 - 08:13:01 EST


Here is a patch to correct the problem with the IDE code when you have
the Secondary Channel Only enabled in your BIOS. If you have only the
secondary channel enabled, a null pointer get passed to the
ide_iomio_dma function as the part of the hwif var (more specifically
hwif->mate) This patch puts in some extra sanity checks in that section
so make sure we don't hit the null.

Jason

P.S. This is a continuation of a previous patch I submitted for 2.5.43
which wasn't committed and I didn't send that to the maintainer (Sorry
Andre) so I am resending it now as a patch to the 2.5.44 kernel.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:53 EST