From 982ea33b89976b267f72bd39984a744767014ff5 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Mon, 15 Nov 2004 02:47:37 +0000 Subject: Apply a bandaid to avoid hangs on Ultra 2 machines. The second Z8530 connects to the keyboard and mouse and needs some special treatment. Until this is fully understood, implemented and tested, simply avoid probing the second Z8530. This is also what the zs(4) driver does. --- sys/dev/puc/puc_sbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/puc/puc_sbus.c b/sys/dev/puc/puc_sbus.c index 47a2fb41303a..3d2e7d67a81a 100644 --- a/sys/dev/puc/puc_sbus.c +++ b/sys/dev/puc/puc_sbus.c @@ -51,7 +51,7 @@ puc_sbus_probe(device_t dev) const char *nm; nm = ofw_bus_get_name(dev); - if (!strcmp(nm, "zs")) { + if (!strcmp(nm, "zs") && device_get_unit(dev) == 0) { device_set_desc(dev, "Zilog Z8530 dual channel SCC"); return (0); } -- cgit v1.3