!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/include/linux/   drwxr-xr-x
Free 318.36 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     sdladrv.h (3.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*****************************************************************************
* sdladrv.h    SDLA Support Module.  Kernel API Definitions.
*
* Author:     Gideon Hack    
*
* Copyright:    (c) 1995-2000 Sangoma Technologies Inc.
*
*        This program is free software; you can redistribute it and/or
*        modify it under the terms of the GNU General Public License
*        as published by the Free Software Foundation; either version
*        2 of the License, or (at your option) any later version.
* ============================================================================
* Jun 02, 1999     Gideon Hack    Added support for the S514 PCI adapter.
* Dec 11, 1996    Gene Kozin    Complete overhaul.
* Oct 17, 1996    Gene Kozin    Minor bug fixes.
* Jun 12, 1996    Gene Kozin     Added support for S503 card.
* Dec 06, 1995    Gene Kozin    Initial version.
*****************************************************************************/
#ifndef    _SDLADRV_H
#define    _SDLADRV_H

#include <linux/version.h>

#ifndef KERNEL_VERSION
  #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,0)
#define LINUX_2_4    
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
#define LINUX_2_1
#else
#define LINUX_2_0
#endif

#define    SDLA_MAXIORANGE    4    /* maximum I/O port range */
#define    SDLA_WINDOWSIZE    0x2000    /* default dual-port memory window size */
/****** Data Structures *****************************************************/

/*----------------------------------------------------------------------------
 * Adapter hardware configuration. Pointer to this structure is passed to all
 * APIs.
 */
typedef struct sdlahw
{
    unsigned type;            /* adapter type */
    unsigned fwid;            /* firmware ID */
    unsigned port;            /* adapter I/O port base */
    int irq;            /* interrupt request level */
    char S514_cpu_no[1];        /* PCI CPU Number */
    unsigned char S514_slot_no;    /* PCI Slot Number */
    char auto_pci_cfg;        /* Autodetect PCI Slot */
#if defined(LINUX_2_1) || defined(LINUX_2_4)
    struct pci_dev *pci_dev;    /* PCI device */
#else
    unsigned char pci_bus;        /* PCI bus number */
    unsigned char pci_dev_func;    /* PCI device/function number */
#endif
    void * dpmbase;            /* dual-port memory base */
    unsigned dpmsize;        /* dual-port memory size */
    unsigned pclk;            /* CPU clock rate, kHz */
    unsigned long memory;        /* memory size */
    unsigned long vector;        /* local offset of the DPM window */
    unsigned io_range;        /* I/O port range */
    unsigned char regs[SDLA_MAXIORANGE]; /* was written to registers */
    unsigned reserved[5];
} sdlahw_t;

/****** Function Prototypes *************************************************/

extern int sdla_setup    (sdlahw_t* hw, void* sfm, unsigned len);
extern int sdla_down    (sdlahw_t* hw);
extern int sdla_inten    (sdlahw_t* hw);
extern int sdla_intde    (sdlahw_t* hw);
extern int sdla_intack    (sdlahw_t* hw);
extern void S514_intack  (sdlahw_t* hw, u32 int_status);
extern void read_S514_int_stat (sdlahw_t* hw, u32* int_status);
extern int sdla_intr    (sdlahw_t* hw);
extern int sdla_mapmem    (sdlahw_t* hw, unsigned long addr);
extern int sdla_peek    (sdlahw_t* hw, unsigned long addr, void* buf,
             unsigned len);
extern int sdla_poke    (sdlahw_t* hw, unsigned long addr, void* buf,
             unsigned len);
extern int sdla_exec    (void* opflag);

extern unsigned wanpipe_hw_probe(void);

#endif    /* _SDLADRV_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0329 ]--