s3c2410var.h revision 256281
150472Speter/* $NetBSD: s3c2410var.h,v 1.2 2003/08/29 12:57:50 bsh Exp $ */ 237Srgrimes 378822Snik/*- 450203Srgrimes * Copyright (c) 2003 Genetec corporation. All rights reserved. 537Srgrimes * Written by Hiroyuki Bessho for Genetec corporation. 62878Srgrimes * 78571Srgrimes * Redistribution and use in source and binary forms, with or without 839490Sobrien * modification, are permitted provided that the following conditions 92878Srgrimes * are met: 1039849Sjkh * 1. Redistributions of source code must retain the above copyright 1144621Sdcs * notice, this list of conditions and the following disclaimer. 1244621Sdcs * 2. Redistributions in binary form must reproduce the above copyright 1372515Sru * notice, this list of conditions and the following disclaimer in the 1472515Sru * documentation and/or other materials provided with the distribution. 1572515Sru * 3. The name of Genetec corporation may not be used to endorse 1672515Sru * or promote products derived from this software without specific prior 1739849Sjkh * written permission. 18112086Sru * 192878Srgrimes * THIS SOFTWARE IS PROVIDED BY GENETEC CORP. ``AS IS'' AND 208571Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2198079Sobrien * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2298079Sobrien * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GENETEC CORP. 2350296Srgrimes * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2450296Srgrimes * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 258571Srgrimes * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 262878Srgrimes * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2750296Srgrimes * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2842528Shm * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2950296Srgrimes * POSSIBILITY OF SUCH DAMAGE. 3050296Srgrimes * 318571Srgrimes * $FreeBSD: stable/10/sys/arm/s3c2xx0/s3c2410var.h 205354 2010-03-20 03:39:35Z imp $ 322878Srgrimes */ 338571Srgrimes 3441459Sdillon#ifndef _ARM_S3C2410VAR_H_ 3541459Sdillon#define _ARM_S3C2410VAR_H_ 3650296Srgrimes 3750296Srgrimes#include <arm/s3c2xx0/s3c24x0var.h> 382878Srgrimes 3987422Sdesint s3c2410_sscom_cnattach(bus_space_tag_t, int, int, int, tcflag_t); 4087422Sdesint s3c2410_sscom_kgdb_attach(bus_space_tag_t, int, int, int, tcflag_t); 4172515Sruvoid s3c2410_intr_init(struct s3c24x0_softc *); 4272515Sruvoid s3c2410_softreset(void); 4372515Sru 4472515Sruvoid s3c2410_mask_subinterrupts(int); 4572515Sruvoid s3c2410_unmask_subinterrupts(int); 4687514Scjc 4787514Scjcvoid *s3c2410_extint_establish(int, int, int, int (*)(void *), void *); 4872515Sruvoid s3c2410_setup_extint(int, int); 4972515Sru#endif /* _ARM_S3C2410VAR_H_ */ 5072515Sru