diff options
Diffstat (limited to 'sys/arch/hppa64/hppa64/autoconf.c')
-rw-r--r-- | sys/arch/hppa64/hppa64/autoconf.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/arch/hppa64/hppa64/autoconf.c b/sys/arch/hppa64/hppa64/autoconf.c index bb5b1180c11..8d5bb8de1bd 100644 --- a/sys/arch/hppa64/hppa64/autoconf.c +++ b/sys/arch/hppa64/hppa64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.14 2011/04/07 13:13:01 jsing Exp $ */ +/* $OpenBSD: autoconf.c,v 1.15 2011/09/22 13:50:30 deraadt Exp $ */ /* * Copyright (c) 1998-2005 Michael Shalayeff @@ -66,14 +66,13 @@ #include <dev/pci/pcireg.h> #endif +/* device we booted from */ +struct device *bootdv; void dumpconf(void); -void print_devpath(const char *, struct pz_device *); +void print_devpath(const char *label, struct pz_device *pz); void (*cold_hook)(int); /* see below */ -/* device we booted from */ -struct device *bootdv; - /* * LED blinking thing */ @@ -123,7 +122,7 @@ cpu_configure(void) void diskconf(void) { - print_devpath("boot path", &PAGE0->mem_boot); + print_devpath("bootpath", &PAGE0->mem_boot); setroot(bootdv, 0, RB_USERREQ); dumpconf(); } @@ -209,9 +208,6 @@ dumpconf(void) dumpsize = physmem; } - -void print_devpath(const char *label, struct pz_device *pz); - void print_devpath(const char *label, struct pz_device *pz) { @@ -503,8 +499,6 @@ device_register(struct device *dev, void *aux) */ basename = dev->dv_cfdata->cf_driver->cd_name; - /* TODO wd detect */ - /* * We only grok SCSI boot currently. Match on proper device hierarchy, * name and unit/lun values. |