Hi,
just when support for sun4c was deleted from the mainline tree you found
someone crazy enough to take it out of the attic and give it a try for
the vintage Christmas fun. Using the last booting kernel I found the
sun_esp SCSI controller would not show up. With a little hack I
surprisingly could get it to work. Looks like the v2 driver rewrite
assumes that the "dma" device is the parent, while on this SPARCstation
2 all the devices are next to each other.
You probably already want to ignore this as I mention sun4c and
SPARCstation2, but maybe it affects other currently supported vintage
machines - I only have one sparc32, this SS2, ...
The older driver compared the sbus bus and slot number to match. If you
have a better, real implementation I'm happy to cross compile and test
boot it ;-) On the next rainy weekend I might try to find out why >=3.0
hang, probably the untested genirq support, ...
--- linux-2.6.39.4/drivers/scsi/sun_esp.c.vanilla 2017-12-26
12:21:15.881902541 +0000
+++ linux-2.6.39.4/drivers/scsi/sun_esp.c 2017-12-26 14:17:09.061647990
+0000
@@ -577,6 +580,10 @@
dma_node = op->dev.of_node;
hme = 1;
}
+ if (!dma_node) {
+ dma_node = of_find_node_by_name(dp->parent, "dma");
+ }
+
if (dma_node)
dma_of = of_find_device_by_node(dma_node);
if (!dma_of)
--
René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
https://exactcode.com | https://t2sde.org | https://rene.rebe.de
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html