Changeset 259 for trunk/hal/tsar_mips32
- Timestamp:
- Jul 20, 2017, 3:06:35 PM (7 years ago)
- Location:
- trunk/hal/tsar_mips32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_drivers.c
r257 r259 112 112 } 113 113 114 /////////////////////////////////////////////////////////////////////////////// 115 // NIC 116 /////////////////////////////////////////////////////////////////////////////// 117 118 ////////////////////////////////////////// 119 void hal_drivers_nic_init( chdev_t * nic, 120 uint32_t impl ) 121 { 122 if( impl == IMPL_NIC_SOC ) 123 { 124 soclib_nic_init( nic ); 125 } 126 else 127 { 128 assert( false , __FUNCTION__ , "undefined NIC device implementation" ); 129 } 130 } 131 -
trunk/hal/tsar_mips32/drivers/soclib_nic.c
r75 r259 39 39 uint32_t i; 40 40 kmem_req_t req; 41 42 // set driver specific fields in chdev descriptor 43 chdev->cmd = &soclib_nic_cmd; 44 chdev->isr = &soclib_nic_isr; 41 45 42 46 // get hardware device cluster and local pointer
Note: See TracChangeset
for help on using the changeset viewer.