s3c2410var.h revision 272103
198524Sfenner/* $NetBSD: s3c2410var.h,v 1.2 2003/08/29 12:57:50 bsh Exp $ */ 298524Sfenner 398524Sfenner/*- 498524Sfenner * Copyright (c) 2003 Genetec corporation. All rights reserved. 598524Sfenner * Written by Hiroyuki Bessho for Genetec corporation. 698524Sfenner * 798524Sfenner * Redistribution and use in source and binary forms, with or without 898524Sfenner * modification, are permitted provided that the following conditions 998524Sfenner * are met: 1098524Sfenner * 1. Redistributions of source code must retain the above copyright 1198524Sfenner * notice, this list of conditions and the following disclaimer. 1298524Sfenner * 2. Redistributions in binary form must reproduce the above copyright 1398524Sfenner * notice, this list of conditions and the following disclaimer in the 1498524Sfenner * documentation and/or other materials provided with the distribution. 1598524Sfenner * 3. The name of Genetec corporation may not be used to endorse 1698524Sfenner * or promote products derived from this software without specific prior 1798524Sfenner * written permission. 1898524Sfenner * 19127668Sbms * THIS SOFTWARE IS PROVIDED BY GENETEC CORP. ``AS IS'' AND 20146773Ssam * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2198524Sfenner * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2298524Sfenner * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GENETEC CORP. 2398524Sfenner * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2498524Sfenner * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2598524Sfenner * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2698524Sfenner * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27127668Sbms * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28127668Sbms * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2998524Sfenner * POSSIBILITY OF SUCH DAMAGE. 3098524Sfenner * 3198524Sfenner * $FreeBSD: head/sys/arm/samsung/s3c2xx0/s3c2410var.h 272103 2014-09-25 11:38:26Z gavin $ 3298524Sfenner */ 3398524Sfenner 3498524Sfenner#ifndef _ARM_S3C2410VAR_H_ 3598524Sfenner#define _ARM_S3C2410VAR_H_ 3698524Sfenner 3798524Sfenner#include <arm/samsung/s3c2xx0/s3c24x0var.h> 3898524Sfenner 3998524Sfennerint s3c2410_sscom_cnattach(bus_space_tag_t, int, int, int, tcflag_t); 4098524Sfennerint s3c2410_sscom_kgdb_attach(bus_space_tag_t, int, int, int, tcflag_t); 4198524Sfennervoid s3c2410_intr_init(struct s3c24x0_softc *); 4298524Sfennervoid s3c2410_softreset(void); 4398524Sfenner 4498524Sfennervoid s3c2410_mask_subinterrupts(int); 4598524Sfennervoid s3c2410_unmask_subinterrupts(int); 4698524Sfenner 4798524Sfennervoid *s3c2410_extint_establish(int, int, int, int (*)(void *), void *); 4898524Sfennervoid s3c2410_setup_extint(int, int); 4998524Sfenner#endif /* _ARM_S3C2410VAR_H_ */ 5098524Sfenner