1205354Simp/* $NetBSD: s3c2410var.h,v 1.2 2003/08/29 12:57:50 bsh Exp $ */ 2205354Simp 3205354Simp/*- 4205354Simp * Copyright (c) 2003 Genetec corporation. All rights reserved. 5205354Simp * Written by Hiroyuki Bessho for Genetec corporation. 6205354Simp * 7205354Simp * Redistribution and use in source and binary forms, with or without 8205354Simp * modification, are permitted provided that the following conditions 9205354Simp * are met: 10205354Simp * 1. Redistributions of source code must retain the above copyright 11205354Simp * notice, this list of conditions and the following disclaimer. 12205354Simp * 2. Redistributions in binary form must reproduce the above copyright 13205354Simp * notice, this list of conditions and the following disclaimer in the 14205354Simp * documentation and/or other materials provided with the distribution. 15205354Simp * 3. The name of Genetec corporation may not be used to endorse 16205354Simp * or promote products derived from this software without specific prior 17205354Simp * written permission. 18205354Simp * 19205354Simp * THIS SOFTWARE IS PROVIDED BY GENETEC CORP. ``AS IS'' AND 20205354Simp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21205354Simp * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22205354Simp * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GENETEC CORP. 23205354Simp * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24205354Simp * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25205354Simp * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26205354Simp * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27205354Simp * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28205354Simp * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29205354Simp * POSSIBILITY OF SUCH DAMAGE. 30205354Simp * 31205354Simp * $FreeBSD$ 32205354Simp */ 33205354Simp 34205354Simp#ifndef _ARM_S3C2410VAR_H_ 35205354Simp#define _ARM_S3C2410VAR_H_ 36205354Simp 37205354Simp#include <arm/s3c2xx0/s3c24x0var.h> 38205354Simp 39205354Simpint s3c2410_sscom_cnattach(bus_space_tag_t, int, int, int, tcflag_t); 40205354Simpint s3c2410_sscom_kgdb_attach(bus_space_tag_t, int, int, int, tcflag_t); 41205354Simpvoid s3c2410_intr_init(struct s3c24x0_softc *); 42205354Simpvoid s3c2410_softreset(void); 43205354Simp 44205354Simpvoid s3c2410_mask_subinterrupts(int); 45205354Simpvoid s3c2410_unmask_subinterrupts(int); 46205354Simp 47205354Simpvoid *s3c2410_extint_establish(int, int, int, int (*)(void *), void *); 48205354Simpvoid s3c2410_setup_extint(int, int); 49205354Simp#endif /* _ARM_S3C2410VAR_H_ */ 50