~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/b1lli.h

Version: ~ [ linux-5.2-rc5 ] ~ [ linux-5.1.12 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.53 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.128 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.182 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.182 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.68 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-3.9.11 ] ~ [ linux-3.8.13 ] ~ [ linux-3.7.10 ] ~ [ linux-3.6.11 ] ~ [ linux-3.5.7 ] ~ [ linux-3.4.113 ] ~ [ linux-3.3.8 ] ~ [ linux-3.2.102 ] ~ [ linux-3.1.10 ] ~ [ linux-3.0.101 ] ~ [ linux-2.6.39.4 ] ~ [ linux-2.6.38.8 ] ~ [ linux-2.6.37.6 ] ~ [ linux-2.6.36.4 ] ~ [ linux-2.6.35.14 ] ~ [ linux-2.6.34.15 ] ~ [ linux-2.6.33.20 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* $Id: b1lli.h,v 1.8.8.3 2001/09/23 22:25:05 kai Exp $
  2  *
  3  * ISDN lowlevel-module for AVM B1-card.
  4  *
  5  * Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
  6  *
  7  * This software may be used and distributed according to the terms
  8  * of the GNU General Public License, incorporated herein by reference.
  9  *
 10  */
 11 
 12 #ifndef _B1LLI_H_
 13 #define _B1LLI_H_
 14 /*
 15  * struct for loading t4 file 
 16  */
 17 typedef struct avmb1_t4file {
 18         int len;
 19         unsigned char *data;
 20 } avmb1_t4file;
 21 
 22 typedef struct avmb1_loaddef {
 23         int contr;
 24         avmb1_t4file t4file;
 25 } avmb1_loaddef;
 26 
 27 typedef struct avmb1_loadandconfigdef {
 28         int contr;
 29         avmb1_t4file t4file;
 30         avmb1_t4file t4config; 
 31 } avmb1_loadandconfigdef;
 32 
 33 typedef struct avmb1_resetdef {
 34         int contr;
 35 } avmb1_resetdef;
 36 
 37 typedef struct avmb1_getdef {
 38         int contr;
 39         int cardtype;
 40         int cardstate;
 41 } avmb1_getdef;
 42 
 43 /*
 44  * struct for adding new cards 
 45  */
 46 typedef struct avmb1_carddef {
 47         int port;
 48         int irq;
 49 } avmb1_carddef;
 50 
 51 #define AVM_CARDTYPE_B1         0
 52 #define AVM_CARDTYPE_T1         1
 53 #define AVM_CARDTYPE_M1         2
 54 #define AVM_CARDTYPE_M2         3
 55 
 56 typedef struct avmb1_extcarddef {
 57         int port;
 58         int irq;
 59         int cardtype;
 60         int cardnr;  /* for HEMA/T1 */
 61 } avmb1_extcarddef;
 62 
 63 #define AVMB1_LOAD              0       /* load image to card */
 64 #define AVMB1_ADDCARD           1       /* add a new card - OBSOLETE */
 65 #define AVMB1_RESETCARD         2       /* reset a card */
 66 #define AVMB1_LOAD_AND_CONFIG   3       /* load image and config to card */
 67 #define AVMB1_ADDCARD_WITH_TYPE 4       /* add a new card, with cardtype */
 68 #define AVMB1_GET_CARDINFO      5       /* get cardtype */
 69 #define AVMB1_REMOVECARD        6       /* remove a card - OBSOLETE */
 70 
 71 #define AVMB1_REGISTERCARD_IS_OBSOLETE
 72 
 73 #endif                          /* _B1LLI_H_ */
 74 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp