- Timestamp:
- Jul 17, 2017, 1:50:38 PM (7 years ago)
- Location:
- trunk/hal
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_drivers.h
r213 r216 34 34 void hal_drivers_pic_init(chdev_t *dev); 35 35 36 void hal_drivers_ioc_init(chdev_t *dev );36 void hal_drivers_ioc_init(chdev_t *dev, uint32_t impl); 37 37 38 38 #endif /* HAL_DRIVERS_H_ */ -
trunk/hal/tsar_mips32/core/hal_drivers.c
r213 r216 70 70 /* -------------------------------------------------------------------------- */ 71 71 72 void hal_drivers_ioc_init(chdev_t *dev )72 void hal_drivers_ioc_init(chdev_t *dev, uint32_t impl) 73 73 { 74 soclib_bdv_init(dev); 74 if (impl == IMPL_IOC_BDV) { 75 soclib_bdv_init(dev); 76 } else if (impl == IMPL_IOC_HBA) { 77 soclib_hba_init(dev); 78 } else { 79 assert( false , __FUNCTION__ , "undefined IOC device implementation" ); 80 } 75 81 } 76 82 -
trunk/hal/x86_64/core/hal_drivers.c
r215 r216 71 71 /* -------------------------------------------------------------------------- */ 72 72 73 void hal_drivers_ioc_init(chdev_t *dev )73 void hal_drivers_ioc_init(chdev_t *dev, uint32_t impl) 74 74 { 75 75 ioc_ata_init(dev);
Note: See TracChangeset
for help on using the changeset viewer.