Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/dev Just skip matching the `slave' property a...
details: https://anonhg.NetBSD.org/src/rev/29d7e1b7dcf6
branches: trunk
changeset: 482116:29d7e1b7dcf6
user: pk <pk%NetBSD.org@localhost>
date: Mon Feb 14 18:07:37 2000 +0000
description:
Just skip matching the `slave' property against `cf_unit'.
diffstat:
sys/arch/sparc/dev/zs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d0ff328d274f -r 29d7e1b7dcf6 sys/arch/sparc/dev/zs.c
--- a/sys/arch/sparc/dev/zs.c Mon Feb 14 17:14:28 2000 +0000
+++ b/sys/arch/sparc/dev/zs.c Mon Feb 14 18:07:37 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs.c,v 1.72 2000/02/12 12:51:03 pk Exp $ */
+/* $NetBSD: zs.c,v 1.73 2000/02/14 18:07:37 pk Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -201,7 +201,7 @@
if (strcmp(cf->cf_driver->cd_name, ma->ma_name) != 0)
return (0);
- return (getpropint(ma->ma_node, "slave", -2) == cf->cf_unit);
+ return (1);
}
static int
@@ -219,7 +219,7 @@
if (strcmp(cf->cf_driver->cd_name, sa->sa_name) != 0)
return (0);
- return (getpropint(sa->sa_node, "slave", -2) == cf->cf_unit);
+ return (1);
}
oba = &uoba->uoba_oba4;
Home |
Main Index |
Thread Index |
Old Index