]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Fix build issue and incompatibilites introduced by r283620.
authorerj <erj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 May 2015 20:56:11 +0000 (20:56 +0000)
committererj <erj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 28 May 2015 20:56:11 +0000 (20:56 +0000)
commitf6c7ab0ddd22b0e21f7adb7668654bdd92260bb6
tree8759c2559f3d410c64f5e3d9cebfb024538decef
parent18b74fbfd061dc541d944c450193fccc43f7e7c3
Fix build issue and incompatibilites introduced by r283620.

- Re-introduce "device ixgbe" option for kernel configs. This allows
  users to continue using existing kernel configurations, while still
  letting if_ix and if_ixv exist to allow ifconfig magic to work.
  Though the amd64 GENERIC config has "device ix" and "device ixv" instead of
  "device ixgbe".

  This is achieved by making the if_ixgbe module a stub that depends
  on if_ix and if_ixv.

- Replace if_baudrate assignment with if_initbaudrate() call.

Thanks to jhb@ for the stub module suggestion and pointing out the if_baudrate
error.

Approved by: jfv (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/10@283668 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/files
sys/dev/ixgbe/if_ix.c
sys/dev/ixgbe/ixgbe.c [new file with mode: 0644]
sys/modules/Makefile
sys/modules/ix/Makefile
sys/modules/ixgbe/Makefile
sys/modules/ixv/Makefile