Fix a typo.

Back out a few lines that I haven't dealt with properly yet.

Snickered at by: Mike Smith
This commit is contained in:
Matthew N. Dodd 1999-07-29 01:51:49 +00:00
parent 496027bf08
commit f4e3b1e7dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49198
2 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: isa_common.c,v 1.3 1999/05/30 11:02:09 dfr Exp $
* $Id: isa_common.c,v 1.4 1999/07/29 01:02:56 mdodd Exp $
*/
/*
* Modifications for Intel architecture by Garrett A. Wollman.
@ -164,10 +164,10 @@ isa_print_child(device_t bus, device_t dev)
if (SLIST_FIRST(rl) || idev->id_flags)
retval += printf(" at");
retval += isa_print_resources(rl, "port", SYS_RES_IOPORT, "%#lx");
retval += isa_print_resources(rl, "iomem", SYS_RES_MEMORY, "%#lx");
retval += isa_print_resources(rl, "irq", SYS_RES_IRQ, "%ld");
retval += isa_print_resources(rl, "drq", SYS_RES_DRQ, "%ld");
isa_print_resources(rl, "port", SYS_RES_IOPORT, "%#lx");
isa_print_resources(rl, "iomem", SYS_RES_MEMORY, "%#lx");
isa_print_resources(rl, "irq", SYS_RES_IRQ, "%ld");
isa_print_resources(rl, "drq", SYS_RES_DRQ, "%ld");
if (idev->id_flags)
retval += printf(" flags %#x", idev->id_flags);

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: subr_bus.c,v 1.31 1999/07/24 09:34:12 dfr Exp $
* $Id: subr_bus.c,v 1.32 1999/07/29 01:02:58 mdodd Exp $
*/
#include <sys/param.h>
@ -1866,7 +1866,7 @@ bus_print_child_header (device_t dev, device_t child)
retval += device_printf(child, "<%s>",
device_get_desc(child));
} else {
retval += printf("%s", device_get_nameunit(child))
retval += printf("%s", device_get_nameunit(child));
}
return (retval);