1 /* $OpenBSD: tivar.h,v 1.2 2009/08/29 22:55:48 kettenis Exp $ */ 2 3 /* 4 * Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 struct tigon_firmware { 20 int FwReleaseMajor; 21 int FwReleaseMinor; 22 int FwReleaseFix; 23 u_int32_t FwStartAddr; 24 25 u_int32_t FwTextAddr; 26 int FwTextLen; 27 u_int32_t FwRodataAddr; 28 int FwRodataLen; 29 30 u_int32_t FwDataAddr; 31 int FwDataLen; 32 u_int32_t FwSbssAddr; 33 int FwSbssLen; 34 35 u_int32_t FwBssAddr; 36 int FwBssLen; 37 38 int FwTextOffset; 39 int FwRodataOffset; 40 int FwDataOffset; 41 42 u_char data[1]; 43 }; 44 45 struct ti_softc; 46 47 int ti_attach(struct ti_softc *sc); 48 int ti_intr(void *); 49