Changeset 492 for trunk/hal/tsar_mips32/drivers/soclib_nic.c
- Timestamp:
- Aug 22, 2018, 11:55:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_nic.c
r451 r492 53 53 54 54 // allocate memory for chbuf descriptor (one page) 55 assert( (sizeof(nic_chbuf_t) <= CONFIG_PPM_PAGE_SIZE ) , __FUNCTION__ ,55 assert( (sizeof(nic_chbuf_t) <= CONFIG_PPM_PAGE_SIZE ) , 56 56 "chbuf descriptor exceeds one page" ); 57 57 … … 62 62 nic_chbuf_t * chbuf = (nic_chbuf_t *)kmem_alloc( &req ); 63 63 64 assert( (chbuf != NULL) , __FUNCTION__ ,64 assert( (chbuf != NULL) , 65 65 "cannot allocate chbuf descriptor" ); 66 66 … … 72 72 // allocate containers (one page per container) 73 73 // and complete chbuf descriptor initialization 74 assert( (CONFIG_PPM_PAGE_SIZE == 4096) , __FUNCTION__ ,74 assert( (CONFIG_PPM_PAGE_SIZE == 4096) , 75 75 "chbuf container must be 4 Kbytes" ); 76 76 … … 79 79 uint32_t * container = (uint32_t *)kmem_alloc( &req ); 80 80 81 assert( (container != NULL) , __FUNCTION__ ,81 assert( (container != NULL) , 82 82 "cannot allocate container" ); 83 83
Note: See TracChangeset
for help on using the changeset viewer.