Subject: s3c2xx0 typos
To: None <port-arm@netbsd.org>
From: Jonathan Cline <jcline@d2tech.com>
List: port-arm
Date: 05/02/2003 15:45:08
Hi,

Perhaps these are two non critical typos
(likely cut & paste errors) noticed in
current arm kernel.


1. double include, see below

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/s3c2xx0/s3c2800var.h?re
v=1.1&content-type=text/x-cvsweb-markup

#include <arm/s3c2xx0/s3c2xx0var.h>

#ifndef _ARM_S3C2800VAR_H_
#define _ARM_S3C2800VAR_H_

#include <arm/s3c2xx0/s3c2xx0var.h>



2. second FAIL("TIMER0") should likely say TIMER1

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/s3c2xx0/s3c2800.c?rev=1
.2&content-type=text/x-cvsweb-markup

	if (bus_space_map(iot, S3C2800_TIMER0_BASE,
		S3C2800_TIMER_SIZE, 0, &sc->sc_tmr0_ioh))
		FAIL("TIMER0");

	if (bus_space_map(iot, S3C2800_TIMER1_BASE,
		S3C2800_TIMER_SIZE, 0, &sc->sc_tmr1_ioh))
		FAIL("TIMER0");