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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ks8695p.h

?? ks8695的ide硬盤程序
?? H
?? 第 1 頁 / 共 3 頁
字號:
/* ks8695p.h - Micrel KS8695/X/P header file */


/*
modification history
--------------------
V1.09:---------------------------------------------------------------------
05/13/2004 pcd
(1).Integrate KS8695/KS8695X to KS8695P. They have different features on following ('x' as support):
               WAN  LAN  HPNA  PCI  FlowCntl  SDRAM  WAN_PHY(0xEA14)
      KS8695    x    x    x                    16MB   0xB000
      KS8695X   x    x                         16MB   0xB000
      KS8695P   x    x          x    x         32MB   0x0 (default)

     The default is           is for KS8695P
     The definition "KS8695"  is for KS8695 
     The definition "KS8695X" is for KS8695X 
(2) Movied "definition flash" to config.h.
---------------------------------------------------------------------
9/15/2003  Ritter Yeh  created 
*/

/*
This file contains I/O address and related constants for the Micrel
KS8695P demo board.
*/

#ifndef	INCks8695p
#define	INCks8695p

#ifdef __cplusplus
extern "C" {
#endif

#define TARGET_KS8695P

#if !defined(KS8695) && !defined(KS8695X)
#define BUS		BUS_TYPE_PCI      /* KS8695P only */
#else
#define BUS		BUS_TYPE_NONE     /* KS8695/X only */
#endif


/* - Hard coded id of the core module we are compiling for. */

#define CORE_MODULE 0

/*
 * interrupt control stuff
 * Note: FIQ is not handled within VxWorks so this is just IRQ
 */


#define KS8695P_INT_NUM_LEVELS	32

#if	!defined(KS8695) || defined(KS8695X)
#define KS8695P_INT_CSR_MASK	0xFF03FFFF  /* KS8695X\KS8695P Mask out invalid status bits */
#else
#define KS8695P_INT_CSR_MASK	0xFFFFFFFF /* KS8695 uses all bits */
#endif



/* Interrupt levels */

#define INT_LVL_CCRS		 0	/* Communications Channel Receive Status */
#define INT_LVL_CCTS    	 1	/* Communications Channel Transmit Status */
#define INT_LVL_EXTI0S		 2	/* External Interrupt 0 Status */
#define INT_LVL_EXTI1S  	 3	/* External Interrupt 1 Status */
#define INT_LVL_EXTI2S       4	/* External Interrupt 2 Status */
#define INT_LVL_EXTI3S 		 5	/* External Interrupt 3 Status */
#define INT_LVL_T0MS   		 6	/* Timer 0 Status */
#define INT_LVL_T1MS   		 7	/* Timer 1 Status */
#define INT_LVL_UTS		     8	/* UART Transmit Status */
#define INT_LVL_URS 		 9	/* UART Receive Status */
#define INT_LVL_ULES		10	/* UART Line Error Status */
#define INT_LVL_UMS 		11	/* UART Modem Status */
#define INT_LVL_LMRPSS      12  /* LAN MAC Receive Process Stopped Status */
#define INT_LVL_LMTPSS      13	/* LAN MAC Transmit Process Stopped Status */
#define INT_LVL_LMRBUS   	14	/* LAN MAC Receive Buffer Unavailable Status */
#define INT_LVL_LMTBUS      15	/* LAN MAC Transmit Buffer Unavailable Status */
#define INT_LVL_LMRS		16	/* LAN MAC Receive Status */
#define INT_LVL_LMTS        17	/* LAN MAC Transmit Status */
#if	!defined(KS8695) || defined(KS8695X)   /* KS8695X/P only */
#define INT_LVL_RESEV18     18  /* Reserved */
#define INT_LVL_RESEV19     19  /* Reserved */
#define INT_LVL_RESEV20     20  /* Reserved */
#define INT_LVL_RESEV21     21  /* Reserved */
#define INT_LVL_RESEV22     22  /* Reserved */
#define INT_LVL_RESEV23     23  /* Reserved */
#else                                      /* KS8695 only */
#define INT_LVL_HMRPSS	    18  /* HPNA MAC Receive Process Stopped Status */
#define INT_LVL_HMTPSS	    19  /* HPNA MAC Transmit Process Stopped Status */
#define INT_LVL_HMRBUS	    20  /* HPNA MAC Receive Buffer Unavailable Status */
#define INT_LVL_HMTBUS	    21  /* HPNA MAC Transmit Buffer Unavailable Status */
#define INT_LVL_HMRS	    22  /* HPNA MAC Receive Status */
#define INT_LVL_HMTS		23  /* HPNA MAC Transmit Status */
#endif	/*KS8695*/
#define INT_LVL_ABERS		24	/* AMBA Bus Error Response Status */
#define INT_LVL_WMRPSS		25 	/* WAN MAC Receive Process Stopped Status */
#define INT_LVL_WMTPSS      26	/* WAN MAC Transmit Process Stopped Status */
#define INT_LVL_WMRBUS      27	/* WAN MAC Receive Buffer Unavailable Status */
#define INT_LVL_WMTBUS      28	/* WAN MAC Transmit Buffer Unavailable Status */
#define INT_LVL_WMRS		29	/* WAN MAC Receive Status */
#define INT_LVL_WMTS  		30	/* WAN MAC Transmit Status */
#define INT_LVL_WMLCS       31	/* WAN MAC Link Changed Status */


/* interrupt vectors */

#define INT_VEC_CCRS		INUM_TO_IVEC(INT_LVL_CCRS)
#define INT_VEC_CCTS    	INUM_TO_IVEC(INT_LVL_CCTS)
#define INT_VEC_EXTI0S		INUM_TO_IVEC(INT_LVL_EXTI0S)
#define INT_VEC_EXTI1S  	INUM_TO_IVEC(INT_LVL_EXTI1S)
#define INT_VEC_EXTI2S      INUM_TO_IVEC(INT_LVL_EXTI2S)
#define INT_VEC_EXTI3S 		INUM_TO_IVEC(INT_LVL_EXTI3S)
#define INT_VEC_T0MS   		INUM_TO_IVEC(INT_LVL_T0MS)
#define INT_VEC_T1MS   		INUM_TO_IVEC(INT_LVL_T1MS)
#define INT_VEC_UTS		    INUM_TO_IVEC(INT_LVL_UTS)
#define INT_VEC_URS 		INUM_TO_IVEC(INT_LVL_URS)
#define INT_VEC_ULES		INUM_TO_IVEC(INT_LVL_ULES)
#define INT_VEC_UMS 		INUM_TO_IVEC(INT_LVL_UMS)
#define INT_VEC_LMRPSS      INUM_TO_IVEC(INT_LVL_LMRPSS)
#define INT_VEC_LMTPSS      INUM_TO_IVEC(INT_LVL_LMTPSS)
#define INT_VEC_LMRBUS   	INUM_TO_IVEC(INT_LVL_LMRBUS)
#define INT_VEC_LMTBUS      INUM_TO_IVEC(INT_LVL_LMTBUS)
#define INT_VEC_LMRS		INUM_TO_IVEC(INT_LVL_LMRS)
#define INT_VEC_LMTS        INUM_TO_IVEC(INT_LVL_LMTS)
#if	!defined(KS8695) || defined(KS8695X)   /* KS8695X/P only */
#define INT_VEC_RESEV18     INUM_TO_IVEC(INT_LVL_RESEV18)
#define INT_VEC_RESEV19     INUM_TO_IVEC(INT_LVL_RESEV19)
#define INT_VEC_RESEV20     INUM_TO_IVEC(INT_LVL_RESEV20)
#define INT_VEC_RESEV21     INUM_TO_IVEC(INT_LVL_RESEV21)
#define INT_VEC_RESEV22     INUM_TO_IVEC(INT_LVL_RESEV22)
#define INT_VEC_RESEV23     INUM_TO_IVEC(INT_LVL_RESEV23)
#else                                      /* KS8695 only */
#define INT_VEC_HMRPSS      INUM_TO_IVEC(INT_LVL_HMRPSS)
#define INT_VEC_HMTPSS      INUM_TO_IVEC(INT_LVL_HMTPSS)
#define INT_VEC_HMRBUS   	INUM_TO_IVEC(INT_LVL_HMRBUS)
#define INT_VEC_HMTBUS      INUM_TO_IVEC(INT_LVL_HMTBUS)
#define INT_VEC_HMRS		INUM_TO_IVEC(INT_LVL_HMRS)
#define INT_VEC_HMTS        INUM_TO_IVEC(INT_LVL_HMTS)
#endif
#define INT_VEC_ABERS		INUM_TO_IVEC(INT_LVL_ABERS)
#define INT_VEC_WMRPSS		INUM_TO_IVEC(INT_LVL_WMRPSS)
#define INT_VEC_WMTPSS      INUM_TO_IVEC(INT_LVL_WMTPSS)
#define INT_VEC_WMRBUS      INUM_TO_IVEC(INT_LVL_WMRBUS)
#define INT_VEC_WMTBUS      INUM_TO_IVEC(INT_LVL_WMTBUS)
#define INT_VEC_WMRS		INUM_TO_IVEC(INT_LVL_WMRS)
#define INT_VEC_WMTS  		INUM_TO_IVEC(INT_LVL_WMTS)
#define INT_VEC_WMLCS       INUM_TO_IVEC(INT_LVL_WMLCS)

/* defines for timer */
#define SYS_TIMER_INT_LVL (INT_LVL_T0MS)
#define AUX_TIMER_INT_LVL (INT_LVL_T1MS)

/* Add corresponding INT_VEC definitions for intConnect calls. */

#define SYS_TIMER_INT_VEC (INT_VEC_T0MS)
#define AUX_TIMER_INT_VEC (INT_VEC_T1MS)


/* Frequency of counter/timers */

#define SYS_TIMER_CLK	25000000
#define AUX_TIMER_CLK	25000000

#define SYS_CLK_RATE_MIN 30/*((SYS_TIMER_CLK+0xFFFF)/0x10000) del by wangb 2005-11-2 8:47 */
#define SYS_CLK_RATE_MAX 25000

#define AUX_CLK_RATE_MIN 30 /*((AUX_TIMER_CLK+0xFFFF)/0x10000) del by wangb 2005-11-2 8:47*/
#define AUX_CLK_RATE_MAX 25000


/* PCI definitions */

/* Interrupt number for PCI */

#define INT_NUM_IRQ0	INT_LVL_EXTI0S


/* Bit field definitions */

#define BIT0                            0x00000001
#define BIT1                            0x00000002
#define BIT2                            0x00000004
#define BIT3                            0x00000008
#define BIT4                            0x00000010
#define BIT5                            0x00000020
#define BIT6                            0x00000040
#define BIT7                            0x00000080
#define BIT8                            0x00000100
#define BIT9                            0x00000200
#define BIT10                           0x00000400
#define BIT11                           0x00000800
#define BIT12                           0x00001000
#define BIT13                           0x00002000
#define BIT14                           0x00004000
#define BIT15                           0x00008000
#define BIT16                           0x00010000
#define BIT17                           0x00020000
#define BIT18                           0x00040000
#define BIT19                           0x00080000
#define BIT20                           0x00100000

/* Handy sizes */

#define SZ_1K                           0x00000400
#define SZ_4K                           0x00001000
#define SZ_8K                           0x00002000
#define SZ_16K                          0x00004000
#define SZ_64K                          0x00010000
#define SZ_128K                         0x00020000
#define SZ_256K                         0x00040000
#define SZ_512K                         0x00080000

#define SZ_1M                           0x00100000
#define SZ_2M                           0x00200000
#define SZ_4M                           0x00400000
#define SZ_8M                           0x00800000
#define SZ_16M                          0x01000000
#define SZ_32M                          0x02000000
#define SZ_64M                          0x04000000
#define SZ_128M                         0x08000000
#define SZ_256M                         0x10000000
#define SZ_512M                         0x20000000

#define SZ_1G                           0x40000000
#define SZ_2G                           0x80000000


/* Local Bus to PCI Bridge definitions */


/* defines for generic pciIoMapLib.c code */
/* del by wangb 2005-10-20 14:15
#define PCI_IN_BYTE(x)		*(volatile UINT8 *) (x)
#define PCI_OUT_BYTE(x,y)	*(volatile UINT8 *) (x) = (UINT8)  y
#define PCI_IN_WORD(x)		*(volatile UINT16 *)(x)
#define PCI_OUT_WORD(x,y)	*(volatile UINT16 *)(x) = (UINT16) y
#define PCI_IN_LONG(x)		*(volatile UINT32 *)(x)
#define PCI_OUT_LONG(x,y)	*(volatile UINT32 *)(x) = (UINT32) y
*/
/* restrict use to the first bus, by default */
/*modified by youyan */
#ifndef PCI_MAX_BUS 
#define PCI_MAX_BUS 1
#endif 
/* memory map as seen by the CPU on the local bus */

#define CPU_PCI_IO_ADRS		0x80000000 	/* PCI I/O space base */
#define CPU_PCI_IO_SIZE		0x00010000
#define CPU_PCI_IO_MASK		0xFFFF0000

#define CPU_PCI_CNFG_ADRS	0x11000000	/* PCI config space */
#define CPU_PCI_CNFG_SIZE	0x01000000

#define CPU_PCI_MEM_ADRS	0x60000000
#define CPU_PCI_MEM_SIZE	0x20000000
#define CPU_PCI_MEM_MASK	0xE0000000

/* PCI view of PCI space for PCI devices */

#define PCI_IO_ADRS         0x80000000      /* base of PCI I/O address */
#define PCI2DRAM_BASE_ADRS  0x44000000      /* memory seen from PCI bus */

/* PCI view of PCI memory space for PCI memory devices */

#define PCI_MEM_ADRS		0x40000000	/* base of PCI memory space */

/* PCI address to CPU address offset */

#define PCI2CPU_IO_OFFSET	(CPU_PCI_IO_ADRS - PCI_IO_ADRS)
#define PCI2CPU_MEM_OFFSET	(CPU_PCI_MEM_ADRS - PCI_MEM_ADRS)

/* PCI bus resources */

#define PCI_IO_SIZE		    0x00004000	/* PCI I/O slot size */
#define PCI_MEM_SIZE		0x00004000	/* PCI memory slot size */

#define PCI_MEM_ADR0        PCI_MEM_ADRS   
#define PCI_IO_ADR0         PCI_IO_ADRS     /* I/O base for CSR 32Bytes */
#define PCI_IO_SIZE0        PCI_IO_SIZE     /* I/O size for CSR */
#define PCI_INT_LVL0        INT_LVL_EXTI0S	/* Interrupt level */
#define PCI_INT_VEC0        INT_VEC_EXTI0S	/* Interrupt vector */

#define PCI_MEM_ADR1        PCI_MEM_ADR0 + PCI_MEM_SIZE
#define PCI_IO_ADR1         PCI_IO_ADR0 + PCI_IO_SIZE
#define PCI_IO_SIZE1        PCI_IO_SIZE
#define PCI_INT_LVL1        INT_LVL_EXTI0S
#define PCI_INT_VEC1        INT_VEC_EXTI0S

#define PCI_MEM_ADR2        PCI_MEM_ADR1 + PCI_MEM_SIZE
#define PCI_IO_ADR2         PCI_IO_ADR1 + PCI_IO_SIZE
#define PCI_IO_SIZE2        PCI_IO_SIZE
#define PCI_INT_LVL2        INT_LVL_EXTI0S
#define PCI_INT_VEC2        INT_VEC_EXTI0S


/* PCI memory base address register configuration mode */

#define FORCE		0x00	/* overwrite membase address register */
#define AUTO		0x01	/* read membase address register */


/*
 * Max number of END devices we support
 */
/*RLQ, keep it for KS8695P only, and it should match PCI Desc structure */
#define KS8695P_MAX_END_DEVS 5


#undef   KS8695P_ENET_FIXED_BUF_ADRS	/* do not use fixed address bufs */
#define  KS8695P_ENET_CHECK_BUFFERS	/* check cacheDmaMalloc() addresses */


#ifdef  KS8695P_ENET_FIXED_BUF_ADRS

/*
 * Provide definitions for the buffer address for the three possible PCI cards.
 * The SDRAM alias address should be available on all boards.
 */

#define KS8695P_ENET_PRIMARY_BUF_ADRS 0x1000000

/* next two areas require a later board, or the FPGAs to have been upgraded */

#define KS8695P_ENET_SECONDARY_BUF_ADRS 0x1100000
#define KS8695P_ENET_TERTIARY_BUF_ADRS  0x1200000

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久久网| 国产综合久久久久久鬼色 | proumb性欧美在线观看| 久久99精品国产麻豆婷婷| 青青草原综合久久大伊人精品| 亚洲三级小视频| 亚洲男同性恋视频| 亚洲一区二区三区国产| 午夜视频在线观看一区二区三区| 亚洲国产精品久久久久婷婷884| 亚洲夂夂婷婷色拍ww47| 性感美女极品91精品| 日韩成人午夜电影| 国产精品系列在线观看| av综合在线播放| 在线观看免费亚洲| 欧美mv和日韩mv的网站| 欧美mv和日韩mv的网站| 亚洲欧美综合另类在线卡通| 亚洲九九爱视频| 免费日本视频一区| 国产风韵犹存在线视精品| 成人影视亚洲图片在线| 欧美制服丝袜第一页| 日韩欧美综合一区| 日韩一区欧美小说| 亚洲成av人片一区二区| 精品在线播放免费| 在线一区二区三区四区| 日韩免费性生活视频播放| 欧美—级在线免费片| 五月婷婷久久丁香| 国产99久久久国产精品潘金网站| 欧美伊人久久久久久久久影院 | 奇米影视一区二区三区小说| 狠狠色狠狠色综合系列| 色婷婷国产精品| 精品国产亚洲在线| 最新日韩在线视频| 黑人巨大精品欧美一区| 日本久久一区二区三区| 久久精品一区四区| 天堂资源在线中文精品| av综合在线播放| 精品久久久久久久久久久院品网 | 国产精品99久久久| 欧美三级中文字| 国产精品久久久久一区二区三区 | 亚洲国产日韩精品| 粉嫩绯色av一区二区在线观看| 欧美精品第一页| 亚洲激情图片一区| 风间由美一区二区av101| 日韩美一区二区三区| 亚洲成年人影院| 91亚洲精华国产精华精华液| 精品三级av在线| 日本不卡在线视频| 日本久久电影网| 亚洲欧美一区二区三区极速播放 | 亚洲欧美一区二区三区国产精品| 国产一区二区三区蝌蚪| 欧美精品一二三| 三级不卡在线观看| 欧美日韩国产不卡| 肉肉av福利一精品导航| 欧美日韩日日摸| 性做久久久久久免费观看| 91美女在线视频| 亚洲欧美日韩国产中文在线| 成人激情免费视频| 亚洲丝袜另类动漫二区| www.久久精品| 一区二区免费视频| 欧美色视频在线| 日韩va亚洲va欧美va久久| 欧美一区二区三区婷婷月色| 日本在线播放一区二区三区| 91精品国产高清一区二区三区| 五月激情综合色| 欧美电影在线免费观看| 琪琪一区二区三区| 国产亚洲一二三区| 91在线高清观看| 亚洲一二三级电影| 日韩一卡二卡三卡国产欧美| 男女男精品视频网| 久久久不卡影院| 91麻豆swag| 视频一区二区中文字幕| 欧美成人三级电影在线| 国产伦精品一区二区三区免费| 国产日韩欧美亚洲| 91片黄在线观看| 日韩影视精彩在线| 久久精品欧美一区二区三区不卡| 国产成人aaaa| 亚洲第一福利视频在线| 欧美一区二区在线视频| 国产成人午夜精品影院观看视频| 有码一区二区三区| 精品国产露脸精彩对白 | 一区二区三区四区高清精品免费观看 | 欧美变态凌虐bdsm| 国产成人在线色| 亚洲国产一区二区三区| 精品久久久久久久久久久久久久久久久| 国产精品一区二区三区乱码| 亚洲天堂福利av| 欧美成人精品1314www| 99久久精品国产精品久久| 视频一区二区中文字幕| 国产精品美女久久久久久久 | 国产三级精品三级| 欧美色网站导航| 成人动漫视频在线| 久久国产夜色精品鲁鲁99| 一片黄亚洲嫩模| 国产欧美精品一区| 欧美一区二区不卡视频| 91啦中文在线观看| 成人夜色视频网站在线观看| 日产欧产美韩系列久久99| 亚洲蜜臀av乱码久久精品| 久久欧美中文字幕| 欧美不卡激情三级在线观看| 欧洲精品视频在线观看| 成人激情午夜影院| 黄色日韩三级电影| 青青草国产精品亚洲专区无| 一区二区三区91| 国产精品进线69影院| 久久久www成人免费无遮挡大片| 欧美久久久久久蜜桃| 91黄色在线观看| 97精品久久久久中文字幕| 国产高清不卡一区二区| 国产在线日韩欧美| 美女性感视频久久| 久久精品国产色蜜蜜麻豆| 亚洲成av人片在www色猫咪| 亚洲女同女同女同女同女同69| 国产视频911| 久久久精品免费网站| 欧美sm美女调教| 精品国产乱码久久久久久影片| 欧美一区二区三区小说| 欧美日韩精品电影| 欧美精选在线播放| 欧美精品三级日韩久久| 欧美日韩久久不卡| 911精品产国品一二三产区| 欧美日韩一区二区三区在线看| 在线视频一区二区三| 欧美无乱码久久久免费午夜一区 | av亚洲精华国产精华精华| 国产成人在线影院| aaa欧美大片| 99国产一区二区三精品乱码| 99久久久免费精品国产一区二区| 成人中文字幕在线| 91老师国产黑色丝袜在线| 91美女片黄在线| 欧美日韩五月天| 91精品国产美女浴室洗澡无遮挡| 日韩欧美综合在线| 国产精品麻豆欧美日韩ww| 最新高清无码专区| 亚洲一区二区高清| 精品亚洲国产成人av制服丝袜| 国产精品一区二区久激情瑜伽| va亚洲va日韩不卡在线观看| 一本色道综合亚洲| 91精品国产免费| 国产精品久线观看视频| 亚洲综合色网站| 国产在线视视频有精品| 91丝袜美腿高跟国产极品老师| 欧美专区日韩专区| 精品国产乱子伦一区| 亚洲人亚洲人成电影网站色| 亚洲国产精品一区二区尤物区| 久久99国产精品免费| 成人福利视频在线看| 欧美挠脚心视频网站| 久久免费电影网| 一区av在线播放| 懂色av噜噜一区二区三区av| 在线观看不卡视频| 久久综合一区二区| 亚洲国产va精品久久久不卡综合| 激情av综合网| 欧美老肥妇做.爰bbww| 中文字幕中文字幕一区二区| 蜜臀av性久久久久蜜臀aⅴ流畅| 成人精品免费视频| 欧美变态口味重另类| 亚洲成人自拍偷拍| av亚洲精华国产精华精| 亚洲精品一区二区三区四区高清 |