!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:     com20020.h (3.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Linux ARCnet driver - COM20020 chipset support - function declarations
 * 
 * Written 1997 by David Woodhouse.
 * Written 1994-1999 by Avery Pennarun.
 * Derived from skeleton.c by Donald Becker.
 *
 * Special thanks to Contemporary Controls, Inc. (www.ccontrols.com)
 *  for sponsoring the further development of this driver.
 *
 * **********************
 *
 * The original copyright of skeleton.c was as follows:
 *
 * skeleton.c Written 1993 by Donald Becker.
 * Copyright 1993 United States Government as represented by the
 * Director, National Security Agency.  This software may only be used
 * and distributed according to the terms of the GNU General Public License as
 * modified by SRC, incorporated herein by reference.
 *
 * **********************
 *
 * For more details, see drivers/net/arcnet.c
 *
 * **********************
 */
#ifndef __COM20020_H
#define __COM20020_H

int com20020_check(struct net_device *dev);
int com20020_found(struct net_device *dev, int shared);
void com20020_remove(struct net_device *dev);

/* The number of low I/O ports used by the card. */
#define ARCNET_TOTAL_SIZE 9

/* various register addresses */
#define _INTMASK  (ioaddr+0)    /* writable */
#define _STATUS   (ioaddr+0)    /* readable */
#define _COMMAND  (ioaddr+1)    /* standard arcnet commands */
#define _DIAGSTAT (ioaddr+1)    /* diagnostic status register */
#define _ADDR_HI  (ioaddr+2)    /* control registers for IO-mapped memory */
#define _ADDR_LO  (ioaddr+3)
#define _MEMDATA  (ioaddr+4)    /* data port for IO-mapped memory */
#define _SUBADR   (ioaddr+5)    /* the extended port _XREG refers to */
#define _CONFIG   (ioaddr+6)    /* configuration register */
#define _XREG     (ioaddr+7)    /* extra registers (indexed by _CONFIG 
                    or _SUBADR) */

/* in the ADDR_HI register */
#define RDDATAflag    0x80    /* next access is a read (not a write) */

/* in the DIAGSTAT register */
#define NEWNXTIDflag    0x02    /* ID to which token is passed has changed */

/* in the CONFIG register */
#define RESETcfg    0x80    /* put card in reset state */
#define TXENcfg        0x20    /* enable TX */

/* in SETUP register */
#define PROMISCset    0x10    /* enable RCV_ALL */

/* COM2002x */
#define SUB_TENTATIVE    0    /* tentative node ID */
#define SUB_NODE    1    /* node ID */
#define SUB_SETUP1    2    /* various options */
#define SUB_TEST    3    /* test/diag register */

/* COM20022 only */
#define SUB_SETUP2    4    /* sundry options */
#define SUB_BUSCTL    5    /* bus control options */
#define SUB_DMACOUNT    6    /* DMA count options */

#define SET_SUBADR(x) do { \
    if ((x) < 4) \
    { \
        lp->config = (lp->config & ~0x03) | (x); \
        SETCONF; \
    } \
    else \
    { \
        outb(x, _SUBADR); \
    } \
} while (0)

#undef ARCRESET
#undef ASTATUS
#undef ACOMMAND
#undef AINTMASK

#define ARCRESET { outb(lp->config | 0x80, _CONFIG); \
            udelay(5);                        \
            outb(lp->config , _CONFIG);       \
                  }
#define ARCRESET0 { outb(0x18 | 0x80, _CONFIG);   \
            udelay(5);                       \
            outb(0x18 , _CONFIG);            \
                  }

#define ASTATUS()    inb(_STATUS)
#define ACOMMAND(cmd)    outb((cmd),_COMMAND)
#define AINTMASK(msk)    outb((msk),_INTMASK)

#define SETCONF        outb(lp->config, _CONFIG)

#endif /* __COM20020_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.0182 ]--