summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorKenji Aoyama <aoyama@cvs.openbsd.org>2011-12-13 15:23:52 +0000
committerKenji Aoyama <aoyama@cvs.openbsd.org>2011-12-13 15:23:52 +0000
commit944d6d1f4be240c829d09af379f60cd2092b258e (patch)
tree7fedd8ef923b8491fb3d3d7baef805e353533ce5 /sys/arch/luna88k
parent30067d7a399a15b131a02c25fe8d4a93c3aaff98 (diff)
Fix auto-boot failure problem. The controller name should be a
complete device name for auto-boot check. ok miod@
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/luna88k/autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/luna88k/luna88k/autoconf.c b/sys/arch/luna88k/luna88k/autoconf.c
index 13d7505b953..e28898d8c6a 100644
--- a/sys/arch/luna88k/luna88k/autoconf.c
+++ b/sys/arch/luna88k/luna88k/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.17 2010/11/18 21:13:19 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.18 2011/12/13 15:23:51 aoyama Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -157,7 +157,7 @@ device_register(struct device *dev, void *aux)
spcsc = dev->dv_parent->dv_parent;
- if (strcmp(autoboot.cont, spcsc->dv_cfdata->cf_driver->cd_name) == 0 &&
+ if (strcmp(spcsc->dv_xname, autoboot.cont) == 0 &&
sa->sa_sc_link->target == autoboot.targ &&
sa->sa_sc_link->lun == 0) {
bootdv = dev;