!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/ide/   drwxr-xr-x
Free 318.35 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:     rapide.c (1.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * linux/drivers/ide/rapide.c
 *
 * Copyright (c) 1996-1998 Russell King.
 *
 * Changelog:
 *  08-06-1996    RMK    Created
 *  13-04-1998    RMK    Added manufacturer and product IDs
 */

#include <linux/module.h>
#include <linux/slab.h>
#include <linux/blkdev.h>
#include <linux/errno.h>
#include <linux/ide.h>
#include <linux/init.h>

#include <asm/ecard.h>

static card_ids __init rapide_cids[] = {
    { MANU_YELLOWSTONE, PROD_YELLOWSTONE_RAPIDE32 },
    { 0xffff, 0xffff }
};

static struct expansion_card *ec[MAX_ECARDS];
static int result[MAX_ECARDS];

static inline int rapide_register(struct expansion_card *ec)
{
    unsigned long port = ecard_address (ec, ECARD_MEMC, 0);
    hw_regs_t hw;

    int i;

    memset(&hw, 0, sizeof(hw));

    for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) {
        hw.io_ports[i] = (ide_ioreg_t)port;
        port += 1 << 4;
    }
    hw.io_ports[IDE_CONTROL_OFFSET] = port + 0x206;
    hw.irq = ec->irq;

    return ide_register_hw(&hw, NULL);
}

int __init rapide_init(void)
{
    int i;

    for (i = 0; i < MAX_ECARDS; i++)
        ec[i] = NULL;

    ecard_startfind();

    for (i = 0; ; i++) {
        if ((ec[i] = ecard_find(0, rapide_cids)) == NULL)
            break;

        ecard_claim(ec[i]);
        result[i] = rapide_register(ec[i]);
    }
    for (i = 0; i < MAX_ECARDS; i++)
        if (ec[i] && result[i] < 0) {
            ecard_release(ec[i]);
            ec[i] = NULL;
    }
    return 0;
}

#ifdef MODULE
MODULE_LICENSE("GPL");

int init_module (void)
{
    return rapide_init();
}

void cleanup_module (void)
{
    int i;

    for (i = 0; i < MAX_ECARDS; i++)
        if (ec[i]) {
            unsigned long port;
            port = ecard_address(ec[i], ECARD_MEMC, 0);

            ide_unregister_port(port, ec[i]->irq, 16);
            ecard_release(ec[i]);
            ec[i] = NULL;
        }
}
#endif


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