kitl_cfg.h

来自「PXA27X裸机测试程序」· C头文件 代码 · 共 40 行

H
40
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
#ifndef __KITL_CFG_H
#define __KITL_CFG_H

//------------------------------------------------------------------------------

OAL_KITL_ETH_DRIVER g_kitlEthSMSC91C111 = OAL_ETHDRV_LAN91C;
OAL_KITL_ETH_DRIVER g_kitlEthNE2000     = OAL_ETHDRV_NE2000;

OAL_KITL_DEVICE g_kitlDevices[] = {
    { 
        L"SMSC91C111", Internal, (MAINSTONEII_BASE_REG_PA_SMSC_ETHERNET + 0x300), 0, OAL_KITL_TYPE_ETH, 
        &g_kitlEthSMSC91C111
    },
    { 
        L"NE2000_PCCARD", Internal, (BULVERDE_BASE_REG_PA_PCMCIA_S0_IO + 0x300), 0, OAL_KITL_TYPE_ETH, 
        &g_kitlEthNE2000
    },
    { 
        L"NE2000_PCCARD", Internal, (BULVERDE_BASE_REG_PA_PCMCIA_S1_IO + 0x300), 0, OAL_KITL_TYPE_ETH, 
        &g_kitlEthNE2000
    },
    {
        NULL, 0, 0, 0, 0, NULL
    }
};    

//------------------------------------------------------------------------------

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?