Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/hpcmips Fixed locater id -> platform.
details: https://anonhg.NetBSD.org/src/rev/8c9db112a1dc
branches: trunk
changeset: 522024:8c9db112a1dc
user: takemura <takemura%NetBSD.org@localhost>
date: Sun Feb 10 15:17:24 2002 +0000
description:
Fixed locater id -> platform.
diffstat:
sys/arch/hpcmips/hpcmips/mainbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r d5165b425e20 -r 8c9db112a1dc sys/arch/hpcmips/hpcmips/mainbus.c
--- a/sys/arch/hpcmips/hpcmips/mainbus.c Sun Feb 10 15:17:21 2002 +0000
+++ b/sys/arch/hpcmips/hpcmips/mainbus.c Sun Feb 10 15:17:24 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.16 2001/11/22 14:22:30 takemura Exp $ */
+/* $NetBSD: mainbus.c,v 1.17 2002/02/10 15:17:24 takemura Exp $ */
/*-
* Copyright (c) 1999
@@ -100,14 +100,14 @@
mainbus_search(struct device *parent, struct cfdata *cf, void *aux)
{
struct mainbus_attach_args *ma = (void *)aux;
- int locator = cf->cf_loc[MAINBUSCF_ID];
+ int locator = cf->cf_loc[MAINBUSCF_PLATFORM];
/* check device name */
if (strcmp(ma->ma_name, cf->cf_driver->cd_name) != 0)
return (0);
/* check platform ID in config file */
- if (locator != MAINBUSCF_ID_DEFAULT &&
+ if (locator != MAINBUSCF_PLATFORM_DEFAULT &&
!platid_match(&platid, PLATID_DEREFP(locator)))
return (0);
Home |
Main Index |
Thread Index |
Old Index