aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/eisa
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>1999-07-29 01:03:04 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>1999-07-29 01:03:04 +0000
commit15317dd875420f6e8953f95fa7de214465187dda (patch)
tree4895cb91c66163742479e4442fcd330fed36fc9b /sys/dev/eisa
parent7558f6aad9132f231a62b6bf2bb57f082dc0a57d (diff)
Notes
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r--sys/dev/eisa/eisaconf.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index 5fa11139904dd..53650a148efe5 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: eisaconf.c,v 1.46 1999/06/22 09:44:00 peter Exp $
+ * $Id: eisaconf.c,v 1.47 1999/07/11 13:42:35 dfr Exp $
*/
#include "opt_eisa.h"
@@ -212,12 +212,17 @@ eisa_probe_nomatch(device_t dev, device_t child)
return;
}
-static void
+static int
eisa_print_child(device_t dev, device_t child)
{
- /* XXX print resource descriptions? */
- printf(" at slot %d", eisa_get_slot(child));
- printf(" on %s", device_get_nameunit(dev));
+ int retval = 0;
+
+ bus_print_child_header(dev, child);
+
+ retval += printf(" on %s slot %d", device_get_nameunit(dev),
+ eisa_get_slot(child));
+
+ return (retval);
}
static int