Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 #ifndef _COLIBRI_H_
  2 #define _COLIBRI_H_
  3 
  4 #include <net/ax88796.h>
  5 
  6 /*
  7  * common settings for all modules
  8  */
  9 
 10 #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
 11 extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
 12 #else
 13 static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
 14 #endif
 15 
 16 #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
 17 extern void colibri_pxa3xx_init_lcd(int bl_pin);
 18 #else
 19 static inline void colibri_pxa3xx_init_lcd(int bl_pin) {}
 20 #endif
 21 
 22 #if defined(CONFIG_AX88796)
 23 extern void colibri_pxa3xx_init_eth(struct ax_plat_data *plat_data);
 24 #endif
 25 
 26 /* physical memory regions */
 27 #define COLIBRI_SDRAM_BASE      0xa0000000      /* SDRAM region */
 28 
 29 /* definitions for Colibri PXA270 */
 30 
 31 #define COLIBRI_PXA270_FLASH_PHYS       (PXA_CS0_PHYS)  /* Flash region */
 32 #define COLIBRI_PXA270_ETH_PHYS         (PXA_CS2_PHYS)  /* Ethernet */
 33 #define COLIBRI_PXA270_ETH_IRQ_GPIO     114
 34 #define COLIBRI_PXA270_ETH_IRQ          \
 35         gpio_to_irq(mfp_to_gpio(COLIBRI_PXA270_ETH_IRQ_GPIO))
 36 
 37 #endif /* _COLIBRI_H_ */
 38 
 39 
  This page was automatically generated by the LXR engine.