亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? sysln97xend.c

?? vxworks嵌入式開發(fā)vmware bsp包 其中已包括網(wǎng)卡的驅(qū)動 本人試過 非常好用
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* sysLn97xEnd.c - system configuration module for AMD 79C97x END driver */ /* Copyright 1984-2001 Wind River Systems, Inc. *//*modification history--------------------01d,11oct01,pai  Now using VM_STATE_MASK_FOR_ALL and VM_STATE_FOR_PCI in                 sysMmuMapAdd call.  Updated documentation and routines                 for new device discovery algorithm (SPR# 35716).01c,09oct01,pai  Corrected variable usage in sysLn97xEndLoad and                 sysLan97xPciInit.  Conditionally compile PCI_DEV_MMU_MSK                 and PCI_DEV_ADRS_SIZE.01b,05oct01,pai  Removed inaccurate commentary in sysLan97xPciInit().01a,02oct01,pai  Written from sysNetif.  Implemented a new BSP driver load                 routine that processes multiple physical devices and END                 units.  This replaces sysLan97xInitStrCook (SPR #35716).*//*DESCRIPTIONThis is the WRS-supplied configuration module for the VxWorksln97xEnd (lnPci) END driver.  It initializes device resources andprovides BSP-specific ln97xEnd driver routines for any Am79C970A,Am79C971, Am79C972, and Am79C973 PCnet-PCI ethernet devices found onthe system.The number of supported devices that can be configured for a particularsystem is finite and is specified by the LN97X_MAX_DEV configurationconstant in this file.  This value, and the internal data structuresusing it, can be modified in this file for specific implementations.*/#if defined(INCLUDE_LN_97X_END)/* namespace collisions */#undef CSR  /* redefined in ln97xEnd.h (temporary fix) *//* includes */#include "end.h"#include "ln97xEnd.h"			/* modify by frank *//* defines *//* specify the maximum number of physical devices to configure */#define LN97X_MAX_DEV           (8)/* AMD 79C97x 10/100Base-TX PCI Ethernet Board Types */#define AMD_PCI_VENDOR_ID       (0x1022)  /* AMD PCI vendor ID */#define LN97X_PCI_VENDOR_ID     (0x1022)  /* AMD PCI vendor ID */#define LN97X_PCI_DEVICE_ID     (0x2000)  /* Am79c97x device ID */#define LN970_PCI_REV_MASK      (0x10)    /* Am79c970A PCI rev mask */#define LN971_PCI_REV_MASK      (0x20)    /* Am79c971  PCI rev mask */#define LN972_PCI_REV_MASK      (0x30)    /* Am79c972  PCI rev mask */#define LN973_PCI_REV_MASK      (0x40)    /* Am79c973  PCI rev mask *//* LN_TYPE_97x values are equivalent to (LN97x_PCI_REV_MASK >> 4) */#define LN_TYPE_970             (1)       /* Am97c970A PCNet-PCI II */#define LN_TYPE_971             (2)       /* Am97c971  PCNet-Fast   */#define LN_TYPE_972             (3)       /* Am97c972  PCNet-Fast+  */#define LN_TYPE_973             (4)       /* Am97c973  PCNet-Fast III *//* driver configuration flags *//* The <offset> parameter specifies the offset from which a packet has * to be loaded from the beginning of a device buffer.  Normally, this * parameter is zero except for architectures which access long words * only on aligned addresses.  For these architectures, the value of * this <offset> should be 2. */#define LN97X_OFFS_VALUE        (0)       /* driver <offset> value */#define LN97X_CSR3_VALUE        (0)       /* CSR3 register value */#define LN97X_RSVD_FLAGS        (0)       /* driver <flags> value *//* imports */IMPORT STATUS    sysMmuMapAdd (void * address, UINT len,                               UINT initialStateMask,                               UINT initialState);IMPORT END_OBJ * ln97xEndLoad (char *);/* locals */ LOCAL int ln97XUnits = 0;  /* the number of physical units found *//* This string table stores English descriptions of supported devices. * LN_TYPE_97x values index the table to obtain board descriptions. */LOCAL const char * ln97xStrDesc [] =    {    "AMD 79C97x PCI Enhanced Network Driver",    "AMD Am79C970A PCnet-PCI II Enhanced Network Driver",    "AMD Am79C971 PCnet-FAST Enhanced Network Driver",    "AMD Am79C972 PCnet-FAST+ Enhanced Network Driver",    "AMD Am79C973 PCnet-FAST III Enhanced Network Driver"    };/* * This array defines the board-specific PCI resources.  There is one * unique END unit associated with one unique physical device recorded * in this table.  The END unit number is equivalent to an index into * this table. */ LOCAL PCI_BOARD_RESOURCE ln97xPciResources [LN97X_MAX_DEV] =    {    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    },    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    },    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    },    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    },    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    },    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    },    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    },    {NONE, NONE, NONE, AMD_PCI_VENDOR_ID, LN97X_PCI_DEVICE_ID,     LN970_PCI_REV_MASK, LN_TYPE_970, NONE, NONE,    {NONE, NONE, NONE, NONE, NONE, NONE}, NULL    }    };/* forward declarations */LOCAL UINT32 sysLn97xDev2Type (UINT32, UINT32, UINT8);/******************************************************************************** sysLn97xEndLoad - construct a load string and load an Am79C97x device** This routine will be invoked by the MUX for the purpose of loading* an Am79C97x (lnPci) device with initial parameters.  This routine is* constructed as an interface wrapper for the driver load routine.* Thus, the arguments and return values are consistent with any* xxxEndLoad() routine defined for an END driver and the MUX API.** INTERNAL* The muxDevLoad() operation calls this routine twice.  A zero length* <pParamStr> parameter string indicates that this is the first time* through this routine.  The driver load routine should return the* driver name in <pParamStr>.** On the second pass though this routine, the initialization parameter* string is constructed.  Note that on the second pass, the <pParamStr>* consists of a colon-delimeted END device unit number and rudimentary* initialization string (often empty) constructed from entries in the* BSP END Device Table such that:**     <pParamStr> = "<unit>:<default initialization string>"** In the process of building the rest of <pParamStr>, the prepended unit* number must be preserved and passed to the driver load routine.  The* <default initialization string> portion mentioned above is discarded,* but future versions of this routine may use it.** The complete ln97xEnd driver load string has format:**     <unit>:<devMemAddr>:<devIoAddr>:<pciMemBase:<vecNum>:<intLvl>:*     <memAdrs>:<memSize>:<memWidth>:<csr3b>:<offset>:<flags>** RETURNS: An END object pointer, or NULL on error, or 0 and the name of the* device if the <pParamStr> was NULL.** SEE ALSO: ln97xEndLoad()*/END_OBJ * sysLn97xEndLoad    (    char *      pParamStr,   /* pointer to initialization parameter string */    void *      unused       /* unused optional argument */    )    {    END_OBJ *   pEnd;    char        paramStr [END_INIT_STR_MAX];    static const char * const paramTemplate =         "%d:0x%x:0x%x:0x%x:%d:%d:-1:-1:-1:0x%x:%d:0x%x:%p";    /* alias local PCI and board resource table addresses */    PCI_BOARD_RESOURCE * const pciRsrc = ln97xPciResources;    if (strlen (pParamStr) == 0)        {        /* PASS (1)         * The driver load routine returns the driver name in <pParamStr>.         */        pEnd = ln97xEndLoad (pParamStr);        }    else        {        /* PASS (2)         * The END <unit> number is prepended to <pParamStr>.  Construct         * the rest of the driver load string based on physical devices         * discovered in sysLan97xPciInit().  When this routine is called         * to process a particular END <unit> number, use the END <unit>         * as an index into the PCI "resources" table to build the driver         * parameter string.         */        int    typeIdx;   /* index to the string resource table */        char * holder  = NULL;        int    endUnit = atoi (strtok_r (pParamStr, ":", &holder));        /* is there a PCI resource associated with this END unit ? */        if (endUnit >= ln97XUnits)            {            /* This is an error - no physical devs available to this unit */            return NULL;            }        /* construct an index into the string resource table */        typeIdx = (pciRsrc[endUnit].boardType);        /* construct the initialization parameter string */        sprintf (paramStr, paramTemplate,                 endUnit,                     /* END unit number */                 NONE, /* pciRsrc[endUnit].bar[1],   modify by frank */  /* memory-mapped IO base */                 pciRsrc[endUnit].bar[0],     /* IO address space base */                 PCI2DRAM_BASE_ADRS,          /* host PCI mem. base */                 pciRsrc[endUnit].irqvec,     /* IRQ vector */                 pciRsrc[endUnit].irq,        /* IRQ number */                 LN97X_CSR3_VALUE,            /* csr3 register value */                 LN97X_OFFS_VALUE,            /* offset */                 LN97X_RSVD_FLAGS,            /* flags (reserved) */                 &ln97xStrDesc[typeIdx]       /* device description */                );        if ((pEnd = ln97xEndLoad (paramStr)) == (END_OBJ *) NULL)            {            printf ("Error sysLn97xEndLoad: device failed.\n");            }        }    return (pEnd);    }/********************************************************************************* sysLn97xDev2Type - convert a PCI Revision ID to a board type** Given <vendorId>, <deviceId>, and <revisionId> values read from PCI* configuration space, this routine will attempt to map the ID to a board* type value defined in this file.** INTERNAL* The PCI Vendor and Device IDs are the same for all driver supported* Am79c97x devices.  When an instance is located, the PCI Revision ID is

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲另类在线一区| 国产米奇在线777精品观看| 日日骚欧美日韩| 国产盗摄女厕一区二区三区| 欧美日韩精品专区| 国产精品国产三级国产aⅴ中文 | 欧美猛男gaygay网站| 久久午夜老司机| 蜜臀精品久久久久久蜜臀| 色94色欧美sute亚洲线路一ni| 精品蜜桃在线看| 人人爽香蕉精品| 欧美日韩一级视频| 亚洲精品国产一区二区三区四区在线| 国产一区二区三区高清播放| 91精品国产综合久久久蜜臀粉嫩| 亚洲美女精品一区| 成人av在线电影| 国产欧美一区二区精品婷婷| 久久91精品国产91久久小草| 欧美精品自拍偷拍| 亚洲成人综合视频| 欧美视频一区二区在线观看| 亚洲欧美日韩系列| 91丨porny丨国产| 国产精品久久久久久久蜜臀| 国产福利一区二区三区视频| 精品欧美一区二区在线观看| 蜜臀久久久久久久| 欧美一区二区三区视频在线观看| 亚洲综合区在线| 欧美网站一区二区| 亚洲精品乱码久久久久久久久| 99久久伊人久久99| 亚洲日本一区二区| 色综合久久久久久久久| 亚洲欧美国产高清| 欧洲视频一区二区| 午夜av区久久| 欧美电视剧免费全集观看| 精品一区二区三区av| 精品成人一区二区三区四区| 国产综合久久久久影院| 国产日产亚洲精品系列| 成人在线综合网站| 国产精品白丝在线| 色香色香欲天天天影视综合网| 一区二区三区蜜桃| 欧美精品vⅰdeose4hd| 久久精品99久久久| 国产精品免费视频观看| 91久久精品一区二区三区| 亚洲成av人片一区二区三区| 日韩一区二区在线看| 国产成都精品91一区二区三| √…a在线天堂一区| 欧美日本一区二区在线观看| 久久99精品一区二区三区| 国产视频一区在线播放| 99视频国产精品| 天堂一区二区在线| 久久精品人人爽人人爽| 在线视频国产一区| 久久精品二区亚洲w码| 成人免费在线视频| 欧美电视剧免费全集观看| 99综合电影在线视频| 婷婷成人激情在线网| 国产午夜亚洲精品理论片色戒| 91女厕偷拍女厕偷拍高清| 青青草原综合久久大伊人精品优势| 国产日韩精品一区二区三区| 欧美午夜电影在线播放| 丁香网亚洲国际| 日韩精品一二三区| 亚洲天堂精品在线观看| 日韩免费看网站| 欧美性高清videossexo| 成人免费毛片嘿嘿连载视频| 午夜欧美视频在线观看| 一色桃子久久精品亚洲| 日韩欧美一二三区| 日本韩国一区二区三区| 国产suv精品一区二区三区| 丝瓜av网站精品一区二区| 国产精品久久二区二区| 精品国产一区二区三区忘忧草| 一本大道久久精品懂色aⅴ| 国产一区二区在线影院| 日韩成人一区二区三区在线观看| 国产精品免费网站在线观看| 欧美精品一区二区三区蜜桃 | 一区二区三区四区精品在线视频| 欧美一区二区三区在线看| 色94色欧美sute亚洲线路二| 丁香五精品蜜臀久久久久99网站| 久久国产麻豆精品| 日日摸夜夜添夜夜添精品视频| 综合亚洲深深色噜噜狠狠网站| 国产喂奶挤奶一区二区三区| 欧美精品久久一区二区三区| 色婷婷国产精品综合在线观看| 大白屁股一区二区视频| 国产成人福利片| 国产一区二区毛片| 免费成人在线观看视频| 日本成人在线看| 日韩高清不卡一区二区三区| 午夜电影久久久| 亚洲r级在线视频| 石原莉奈在线亚洲二区| 日韩二区三区四区| 日韩国产精品久久| 蜜臀av性久久久久蜜臀aⅴ| 秋霞av亚洲一区二区三| 人人精品人人爱| 乱一区二区av| 国产精品夜夜爽| 国产**成人网毛片九色| 国产99精品国产| 成人av在线资源网| 91一区二区三区在线播放| 91在线免费看| 欧美探花视频资源| 欧美夫妻性生活| 精品国产乱码久久久久久夜甘婷婷 | 亚洲国产精品精华液ab| 久久美女高清视频| 日本一区二区三区四区在线视频| 国产色产综合产在线视频| 国产精品美女久久久久久久久久久| 国产精品久久久久aaaa樱花 | 欧美美女视频在线观看| 欧美精品日韩综合在线| 日韩精品一区国产麻豆| 久久久久久一级片| 亚洲欧美综合在线精品| 亚洲一二三四久久| 精品无人码麻豆乱码1区2区| 国产成都精品91一区二区三| 色老头久久综合| 91精品国产品国语在线不卡| 国产亚洲一区二区在线观看| 国产精品美女久久久久aⅴ| 一区二区三区四区视频精品免费| 日产国产高清一区二区三区 | 久草在线在线精品观看| 处破女av一区二区| 欧美精品一二三| 国产亚洲女人久久久久毛片| 亚洲男同性恋视频| 久久国产精品免费| 91丨九色丨黑人外教| 欧美一区二区三区不卡| 国产精品久久网站| 亚洲国产wwwccc36天堂| 国产福利一区在线观看| 欧美日韩精品三区| 中文一区二区完整视频在线观看| 亚洲午夜精品在线| 国产精品77777| 欧美日本一区二区三区| 自拍偷在线精品自拍偷无码专区 | 日韩欧美一级二级| 亚洲精品视频在线观看网站| 精品中文字幕一区二区小辣椒 | 国产一区二区在线看| 在线亚洲人成电影网站色www| 精品久久人人做人人爱| 亚洲午夜一区二区| 成人激情免费网站| 欧美成人bangbros| 亚洲在线中文字幕| 99免费精品在线观看| 久久一留热品黄| 美日韩黄色大片| 欧美三级日韩三级国产三级| 一色屋精品亚洲香蕉网站| 国产乱一区二区| 日韩视频免费直播| 三级久久三级久久久| 欧美亚洲综合另类| 亚洲另类春色国产| 成人激情黄色小说| 国产欧美日韩视频一区二区| 国产一区二区三区免费在线观看| 69堂成人精品免费视频| 亚洲成人激情综合网| 色一情一伦一子一伦一区| 国产精品久99| 成人小视频免费在线观看| 国产欧美日韩在线看| 国产aⅴ综合色| 国产视频一区不卡| 国产精品99久久久久久似苏梦涵 | 久久综合久久综合九色| 美女脱光内衣内裤视频久久网站| 欧美日韩国产免费一区二区| 亚洲成人福利片| 欧美区视频在线观看|