summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-11-15 02:47:37 +0000
committermarcel <marcel@FreeBSD.org>2004-11-15 02:47:37 +0000
commit74ed0a250c11ab61fe52665b9c327c47591a2f51 (patch)
tree73243aa093dd9762962b31db2b90ef735bb58189 /sys/dev/puc
parent35042e9828a7a43c514159b632c123ab2c97b4b9 (diff)
downloadFreeBSD-src-74ed0a250c11ab61fe52665b9c327c47591a2f51.zip
FreeBSD-src-74ed0a250c11ab61fe52665b9c327c47591a2f51.tar.gz
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.
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc_sbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/puc_sbus.c b/sys/dev/puc/puc_sbus.c
index 47a2fb4..3d2e7d6 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);
}
OpenPOWER on IntegriCloud