Print this page
de-linting of .s files
*** 85,269 ****
#define N2NIU_CFGH_TX_LP_SET 0x143
#define N2NIU_CFGH_RX_LP_GET 0x144
#define N2NIU_CFGH_TX_LP_GET 0x145
#define N2NIU_CFGH_VR_ASSIGN 0x146
- #if defined(lint) || defined(__lint)
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_rx_logical_page_conf(uint64_t chidx, uint64_t pgidx,
- uint64_t raddr, uint64_t size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_rx_logical_page_info(uint64_t chidx, uint64_t pgidx,
- uint64_t *raddr, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_tx_logical_page_conf(uint64_t chidx, uint64_t pgidx,
- uint64_t raddr, uint64_t size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_tx_logical_page_info(uint64_t chidx, uint64_t pgidx,
- uint64_t *raddr, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vr_assign(uint64_t vridx, uint64_t ldc_id, uint32_t *cookie)
- { return (0); }
-
- /*
- * KT: Interfaces functions which require the configuration handle
- */
- /*ARGSUSED*/
- uint64_t
- hv_niu_cfgh_rx_logical_page_conf(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
- uint64_t raddr, uint64_t size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_cfgh_rx_logical_page_info(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
- uint64_t *raddr, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_cfgh_tx_logical_page_conf(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
- uint64_t raddr, uint64_t size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_cfgh_tx_logical_page_info(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
- uint64_t *raddr, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_cfgh_vr_assign(uint64_t cfgh, uint64_t vridx, uint64_t ldc_id, uint32_t *cookie)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vr_unassign(uint32_t cookie)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vr_getinfo(uint32_t cookie, uint64_t *real_start, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vr_get_rxmap(uint32_t cookie, uint64_t *dma_map)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vr_get_txmap(uint32_t cookie, uint64_t *dma_map)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_rx_dma_assign(uint32_t cookie, uint64_t chidx, uint64_t *vchidx)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_rx_dma_unassign(uint32_t cookie, uint64_t vchidx)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_tx_dma_assign(uint32_t cookie, uint64_t chidx, uint64_t *vchidx)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_tx_dma_unassign(uint32_t cookie, uint64_t chidx)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrrx_logical_page_conf(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
- uint64_t raddr, uint64_t size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrrx_logical_page_info(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
- uint64_t *raddr, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrtx_logical_page_conf(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
- uint64_t raddr, uint64_t size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrtx_logical_page_info(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
- uint64_t *raddr, uint64_t *size)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrrx_param_get(uint32_t cookie, uint64_t vridx, uint64_t param,
- uint64_t *value)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrrx_param_set(uint32_t cookie, uint64_t vridx, uint64_t param,
- uint64_t value)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrtx_param_get(uint32_t cookie, uint64_t vridx, uint64_t param,
- uint64_t *value)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrtx_param_set(uint32_t cookie, uint64_t vridx, uint64_t param,
- uint64_t value)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrtx_getinfo(uint32_t cookie, uint64_t vridx,
- uint64_t *group, uint64_t *logdev)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrrx_getinfo(uint32_t cookie, uint64_t vridx,
- uint64_t *group, uint64_t *logdev)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrtx_set_ino(uint32_t cookie, uint64_t vridx, uint32_t ino)
- { return (0); }
-
- /*ARGSUSED*/
- uint64_t
- hv_niu_vrrx_set_ino(uint32_t cookie, uint64_t vridx, uint32_t ino)
- { return (0); }
-
- #else /* lint || __lint */
-
/*
* hv_niu_rx_logical_page_conf(uint64_t chidx, uint64_t pgidx,
* uint64_t raddr, uint64_t size)
*/
ENTRY(hv_niu_rx_logical_page_conf)
--- 85,94 ----
*** 625,632 ****
ta FAST_TRAP
retl
stw %o1, [%g1]
SET_SIZE(hv_niu_cfgh_vr_assign)
- #endif /* lint || __lint */
-
#endif /*defined(sun4v)*/
--- 450,455 ----