summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/chelsio/libcxgb/Makefile
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2016-07-21 20:27:14 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-25 20:31:08 +0300
commitb8b9d81b36a4adada3ef3504c252e2518393884d (patch)
tree24ccbc0d50f0d03a9297d32eb0bdc599fdf0ba00 /drivers/net/ethernet/chelsio/libcxgb/Makefile
parent9e0b27fe5ada7752577f3e1260eec44e79476142 (diff)
downloadlinux-b8b9d81b36a4adada3ef3504c252e2518393884d.tar.xz
libcxgb: add library module for Chelsio drivers
Add common library module(libcxgb.ko) for Chelsio drivers to remove duplicate code. Code for iSCSI DDP Page Pod Manager is moved from cxgb4.ko to libcxgb.ko. Earlier only cxgbit.ko was using this code, now cxgb3i and cxgb4i will also use common Page Pod manager code. In future this module will have common connection management and hardware specific code that can be shared by multiple Chelsio drivers. Signed-off-by: Varun Prakash <varun@chelsio.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/libcxgb/Makefile')
-rw-r--r--drivers/net/ethernet/chelsio/libcxgb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/libcxgb/Makefile b/drivers/net/ethernet/chelsio/libcxgb/Makefile
new file mode 100644
index 000000000000..2362230ef4fe
--- /dev/null
+++ b/drivers/net/ethernet/chelsio/libcxgb/Makefile
@@ -0,0 +1,3 @@
+obj-$(CONFIG_CHELSIO_LIB) += libcxgb.o
+
+libcxgb-y := libcxgb_ppm.o