!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/drivers/isdn/eicon/   drwxr-xr-x
Free 318.31 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     linsys.c (2.91 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Copyright (C) Eicon Technology Corporation, 2000.
 *
 * Eicon File Revision :    1.10  
 *
 * This software may be used and distributed according to the terms
 * of the GNU General Public License, incorporated herein by reference.
 *
 */

#include <linux/sched.h>
#undef N_DATA
#include <linux/tqueue.h>

#include <linux/smp.h>
struct pt_regs;
#include <linux/interrupt.h>
#include <linux/ioport.h>

#include "sys.h"
#include "divas.h"
#include "adapter.h"
#include "divalog.h"

#include "uxio.h"

int Divas4BRIInitPCI(card_t *card, dia_card_t *cfg)
{
    /* Use UxPciConfigWrite    routines to initialise PCI config space */

/*    wPCIcommand = 0x03;
    cm_write_devconfig16(CMKey, PCI_COMMAND, &wPCIcommand);

    wPCIcommand = 0x280;
    cm_write_devconfig16(CMKey, PCI_STATUS, &wPCIcommand);

    bPCIcommand = 0x30;
    cm_write_devconfig16(CMKey, PCI_STATUS, &wPCIcommand);
*/
    return 0; 
}

int DivasPRIInitPCI(card_t *card, dia_card_t *cfg)
{
    /* Use UxPciConfigWrite    routines to initialise PCI config space */

/*        wPCIcommand = 0x03;
    cm_write_devconfig16(CMKey, PCI_COMMAND, &wPCIcommand);
    
    wPCIcommand = 0x280;
    cm_write_devconfig16(CMKey, PCI_STATUS, &wPCIcommand);
    
    bPCIcommand = 0x30;
    cm_write_devconfig8(CMKey, PCI_LATENCY, &bPCIcommand);*/

    return 0;  
}

int DivasBRIInitPCI(card_t *card, dia_card_t *cfg)
{
    /* Need to set these platform dependent values after patching */

    card->hw->reset_base = card->cfg.reset_base;
    card->hw->io_base = card->cfg.io_base;

    request_region(card->hw->reset_base,0x80,"Divas");
    request_region(card->hw->io_base,0x20,"Divas");


    /* Same as for PRI */
    return DivasPRIInitPCI(card, cfg);
}

/* ######################### Stubs of routines that are not done yet ################## */
/*void DivasLogIdi(card_t *card, ENTITY *e, int request)
{
}
*/

int    DivasDpcSchedule(void)
{
    static    struct tq_struct DivasTask;

    DivasTask.routine = DivasDoDpc;
    DivasTask.data = (void *) 0;

    queue_task(&DivasTask, &tq_immediate);
    mark_bh(IMMEDIATE_BH);

    return 0;
}

int    DivasScheduleRequestDpc(void)
{
    static    struct tq_struct DivasTask;

    DivasTask.routine = DivasDoRequestDpc;
    DivasTask.data = (void *) 0;

    queue_task(&DivasTask, &tq_immediate);
    mark_bh(IMMEDIATE_BH);

    return 0;
}

void    DivasLogAdd(void *buffer, int length)
{
    static
    boolean_t   overflow = FALSE;
    static
    boolean_t   busy = FALSE;

    /* make sure we're not interrupting ourselves */

    if (busy)
    {
        printk(KERN_DEBUG "Divas: Logging interrupting self !\n");
        return;
    }
    busy = TRUE;

    /* ignore call if daemon isn't running and we've reached limit */

    if (DivasLogFifoFull())
    {
        if (!overflow)
        {
            printk(KERN_DEBUG "Divas: Trace buffer full\n");
            overflow = TRUE;
        }
        busy = FALSE;
        return;
    }

    DivasLogFifoWrite(buffer, length);

    busy = FALSE;
    return;
}

/* #################################################################################### */

:: 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.0047 ]--