你好,游客 登录 注册 搜索
背景:
阅读新闻

OK6410、Linux2.6.36内核移植,DM9000 驱动移植

[日期:2012-04-28] 来源:Linux社区  作者:acanoe [字体:大 中 小]

修改

对照这个结构体  将那些进行修改,注意  by  acanoe   的语句为修改重点。


  1. static struct platform_device *smdk6410_devices[] __initdata = {  
  2. //#ifdef CONFIG_SMDK6410_SD_CH0     //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  3.     &s3c_device_hsmmc0,  
  4. //#endif                //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  5. //#ifdef CONFIG_SMDK6410_SD_CH1     //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  6.     &s3c_device_hsmmc1,  
  7. //#endif                //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  8.     &s3c_device_i2c0,  
  9. //  &s3c_device_i2c1,       //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  10.     &s3c_device_fb,  
  11.     &s3c_device_ohci,  
  12.     &s3c_device_usb_hsotg,  
  13. //  &s3c64xx_device_iisv4,      //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  14. //  &samsung_device_keypad,     //<span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  15. // add by acanoe 2   
  16.     &s3c_device_nand,  
  17.   
  18. #ifdef CONFIG_DM9000   
  19.     &s3c_device_dm9000,  
  20. #endif   
  21. // add by acanoe 2   
  22.   
  23.   
  24. #ifdef CONFIG_REGULATOR   
  25.     &smdk6410_b_pwr_5v,  
  26. #endif   
  27.     &smdk6410_lcd_powerdev,  
  28.   
  29. //  &smdk6410_smsc911x,     // <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  30.     &s3c_device_adc,  
  31. //  &s3c_device_cfcon,      // <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  32.     &s3c_device_rtc,  
  33. //  &s3c_device_ts,         // <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; line-height: 18px; ">Canceled</span> by acanoe   
  34. //  &s3c_device_wdt,   
  35. };  
linux
相关资讯       OK6410  Linux内核移植 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款