Author: luporl
Date: Thu Mar 12 12:47:10 2020
New Revision: 358908
URL: https://svnweb.freebsd.org/changeset/base/358908

Log:
  Enable ixl device on PowerPC64
  
  The ixl driver now works on PowerPC64 and may be compiled in-kernel and
  as a module.
  
  Reviewed by:  alfredo, erj
  Sponsored by: Eldorado Research Institute (eldorado.org.br)
  Differential Revision:        https://reviews.freebsd.org/D23974

Modified:
  head/sys/conf/files.powerpc
  head/sys/conf/options.powerpc
  head/sys/modules/Makefile
  head/sys/powerpc/conf/GENERIC64

Modified: head/sys/conf/files.powerpc
==============================================================================
--- head/sys/conf/files.powerpc Thu Mar 12 11:39:04 2020        (r358907)
+++ head/sys/conf/files.powerpc Thu Mar 12 12:47:10 2020        (r358908)
@@ -38,6 +38,43 @@ dev/iicbus/max6690.c         optional        max6690 powermac
 dev/iicbus/ofw_iicbus.c                optional        iicbus aim
 dev/ipmi/ipmi.c                        optional        ipmi
 dev/ipmi/ipmi_opal.c           optional        powernv ipmi
+dev/ixl/if_ixl.c               optional        ixl pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/ixl_pf_main.c          optional        ixl pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/ixl_pf_qmgr.c          optional        ixl pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/ixl_pf_iov.c           optional        ixl pci pci_iov powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/ixl_pf_i2c.c           optional        ixl pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/if_iavf.c              optional        iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/iavf_vc.c              optional        iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/ixl_txrx.c             optional        ixl pci powerpc64 | \
+                                               iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/i40e_osdep.c           optional        ixl pci powerpc64 | \
+                                               iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/i40e_lan_hmc.c         optional        ixl pci powerpc64 | \
+                                               iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/i40e_hmc.c             optional        ixl pci powerpc64 | \
+                                               iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/i40e_common.c          optional        ixl pci powerpc64 | \
+                                               iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/i40e_nvm.c             optional        ixl pci powerpc64 | \
+                                               iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/i40e_adminq.c          optional        ixl pci powerpc64 | \
+                                               iavf pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
+dev/ixl/i40e_dcb.c             optional        ixl pci powerpc64 \
+       compile-with "${NORMAL_C} -I$S/dev/ixl"
 # Most ofw stuff below is brought in by conf/files for options FDT, but
 # we always want it, even on non-FDT platforms.
 dev/fdt/simplebus.c            standard

Modified: head/sys/conf/options.powerpc
==============================================================================
--- head/sys/conf/options.powerpc       Thu Mar 12 11:39:04 2020        
(r358907)
+++ head/sys/conf/options.powerpc       Thu Mar 12 12:47:10 2020        
(r358908)
@@ -37,3 +37,5 @@ OFWCONS_POLL_HZ               opt_ofw.h
 # AGP debugging support
 AGP_DEBUG              opt_agp.h
 
+# iWARP client interface support in ixl
+IXL_IW                 opt_ixl.h

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile   Thu Mar 12 11:39:04 2020        (r358907)
+++ head/sys/modules/Makefile   Thu Mar 12 12:47:10 2020        (r358908)
@@ -766,6 +766,7 @@ _virtio=    virtio
 
 .if ${MACHINE_ARCH} == "powerpc64"
 _ipmi=         ipmi
+_ixl=          ixl
 _nvram=                opal_nvram
 .endif
 .if ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "powerpc"

Modified: head/sys/powerpc/conf/GENERIC64
==============================================================================
--- head/sys/powerpc/conf/GENERIC64     Thu Mar 12 11:39:04 2020        
(r358907)
+++ head/sys/powerpc/conf/GENERIC64     Thu Mar 12 12:47:10 2020        
(r358908)
@@ -168,6 +168,7 @@ device              iflib
 # Ethernet hardware
 device         em              # Intel PRO/1000 Gigabit Ethernet Family
 device         ix              # Intel PRO/10GbE PCIE PF Ethernet Family
+device         ixl             # Intel 700 Series Physical Function
 device         ixv             # Intel PRO/10GbE PCIE VF Ethernet Family
 device         glc             # Sony Playstation 3 Ethernet
 device         llan            # IBM pSeries Virtual Ethernet
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to