|
@@ -48,18 +48,10 @@
|
|
|
|
|
|
const char *nfp_hwinfo_lookup(struct nfp_cpp *cpp, const char *lookup);
|
|
|
|
|
|
-/* Implemented in nfp_nsp.c */
|
|
|
+/* Implemented in nfp_nsp.c, low level functions */
|
|
|
|
|
|
struct nfp_nsp;
|
|
|
-struct firmware;
|
|
|
-
|
|
|
-struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
|
|
|
-void nfp_nsp_close(struct nfp_nsp *state);
|
|
|
-u16 nfp_nsp_get_abi_ver_major(struct nfp_nsp *state);
|
|
|
-u16 nfp_nsp_get_abi_ver_minor(struct nfp_nsp *state);
|
|
|
-int nfp_nsp_wait(struct nfp_nsp *state);
|
|
|
-int nfp_nsp_device_soft_reset(struct nfp_nsp *state);
|
|
|
-int nfp_nsp_load_fw(struct nfp_nsp *state, const struct firmware *fw);
|
|
|
+
|
|
|
int nfp_nsp_read_eth_table(struct nfp_nsp *state, void *buf, unsigned int size);
|
|
|
int nfp_nsp_write_eth_table(struct nfp_nsp *state,
|
|
|
const void *buf, unsigned int size);
|