⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xscale_release_note.txt

📁 SMSC NET controller 9218 driver software
💻 TXT
字号:
Apr-05-07 Nancy Lin





SMSC9118 driver 1.52 for Xscale on Linux 2.4.21-rmk1-pxa1-intc2 and Linux 2.6.9 kernel


This driver is built and tested on Intel Mainstone II board (Rev.B, PXA270 B0/C0).


To build a different version driver, do the fowlling:
	cp Makefile_2.4 Makefile ( or "cp Makefile_2.6 Makefile")
	make
The different binary files will be in diferent folders(./bin_2.4/ or ./bin_2.6/) 


Linux Kernel is from ARM Linux Site (http://www.arm.linux.org.uk) and 


SMSC modified some of kernel files to be able to support SMSC9118 100/10 Ethernet chip


connected to Expansion slot of Intel Mainstone Board.


*NOTE*


Original Mainstone Board has issue in CPLD code to access Expansion slot.


To use expansion slot on Mainstone, CPLD should be reprogrammed.


Unfortunately, there is no official release for that.


SMSC got help from Intel and resolved the issue in house.





The issues to port to another platform.


- Current driver is built to run on Mainstone II board. 


   To make it run on the other systems, some part of driver need to be changed.





- Physical Address of SMSC9118
 


   CS5 is used for Expansion slot on Mainstone II board, SMSC9118 is mapped to CS5 area of PXA270 processor


   On Linux-2.4.21 kernel, CS5 is mapped to 0xF2000000~0xF20FFFFF (virtual address)


   On Linux-2.6.9 kernel, CS5 is mapped to 0xF5000000~0xF50FFFFF (virtual address)






- Interrupt  


   It uses irq number of 198 on Linux_2.4.21, and uses 167 on Linux_2.6.9.


   User can modifiy PLATFORM_IRQ in xscale.h for different value.





- DMA channels


   This driver uses DMA channel 1 as Rx DMA and 2 as Tx DMA.


   (See PLATFORM_RX_DMA and PLATFORM_TX_DMA in xscale.h)


   If those channels are assigned to other devices, these should be changed not to be conflict to other systems.


   *NOTE* This part will be updated.

















⌨️ 快捷键说明

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