modify dm9000

This commit is contained in:
刘益星
2010-06-01 07:26:28 +00:00
committed by 黄涛
parent dda555085e
commit f625ea82d1
2 changed files with 4 additions and 0 deletions

View File

@@ -400,7 +400,9 @@ struct rk2818bl_info rk2818_bl_info = {
static struct platform_device *devices[] __initdata = {
&rk2818_device_uart1,
#ifdef CONFIG_DM9000
&rk2818_device_dm9k,
#endif
#ifdef CONFIG_I2C0_RK2818
&rk2818_device_i2c0,
#endif

View File

@@ -260,6 +260,7 @@ struct platform_device rk2818_device_backlight = {
//net device
/* DM9000 */
#ifdef CONFIG_DM9000
static struct resource dm9k_resource[] = {
[0] = {
.start = RK2818_NANDC_PHYS + 0x800 + (1*0x100 + 0x8), //nand_cs1+nand_cmd
@@ -296,6 +297,7 @@ struct platform_device rk2818_device_dm9k = {
.platform_data = &dm9k_platdata,
}
};
#endif
/*ADC*/
static struct resource rk2818_adc_resource[] = {