diff options
| author | jdc <jdc@NetBSD.org> | 2008-05-06 21:07:57 +0000 |
|---|---|---|
| committer | jdc <jdc@NetBSD.org> | 2008-05-06 21:07:57 +0000 |
| commit | d91c968da71aaae394abcb735c4e7125ee791a20 (patch) | |
| tree | d5204efffca2d474a7fb90ee33dc05742c56f862 | |
| parent | 24cbc2830b4d328d82512ab682742d1a9c3ce749 (diff) | |
Treat ledma the same way as sbus and dma when looking for the boot path.
Original Ultra 1's with sbus -> ledma -> le can now network boot again.
(From martin@).
| -rw-r--r-- | sys/arch/sparc64/sparc64/autoconf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c index e81a86a0c48..ea83cd13058 100644 --- a/sys/arch/sparc64/sparc64/autoconf.c +++ b/sys/arch/sparc64/sparc64/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.154 2008/04/21 21:00:23 martin Exp $ */ +/* $NetBSD: autoconf.c,v 1.155 2008/05/06 21:07:57 jdc Exp $ */ /* * Copyright (c) 1996 @@ -48,7 +48,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.154 2008/04/21 21:00:23 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.155 2008/05/06 21:07:57 jdc Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -848,7 +848,8 @@ device_register(struct device *dev, void *aux) ofnode = PCITAG_NODE(pa->pa_tag); device_setofnode(dev, ofnode); dev_path_exact_match(dev, ofnode); - } else if (device_is_a(busdev, "sbus") || device_is_a(busdev, "dma")) { + } else if (device_is_a(busdev, "sbus") || device_is_a(busdev, "dma") + || device_is_a(busdev, "ledma")) { struct sbus_attach_args *sa = aux; ofnode = sa->sa_node; |
