mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
fpga: rename files to make them linux-only
This commit is contained in:
parent
9d76946b49
commit
3a845cfe15
@ -22,8 +22,8 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga"
|
||||
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
|
||||
fpga "github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/linux"
|
||||
"github.com/pkg/errors"
|
||||
utilsexec "k8s.io/utils/exec"
|
||||
)
|
||||
|
@ -24,8 +24,8 @@ import (
|
||||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga"
|
||||
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
|
||||
fpga "github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/linux"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -11,11 +11,8 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// +build linux
|
||||
//
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
import (
|
||||
"math"
|
@ -11,11 +11,8 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// +build linux
|
||||
//
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
@ -11,11 +11,8 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// +build linux
|
||||
//
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
import (
|
||||
"math"
|
@ -11,11 +11,8 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// +build linux
|
||||
//
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
import (
|
||||
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
|
@ -11,11 +11,8 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// +build linux
|
||||
//
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
import (
|
||||
"os"
|
@ -11,11 +11,8 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// +build linux
|
||||
//
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
import (
|
||||
"fmt"
|
@ -22,7 +22,7 @@
|
||||
// Code generated by carefully reading documentation and cherry-picking right kernel headers. DO NOT EDIT.
|
||||
//
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
/*
|
||||
#include "fpga-dfl.h"
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
@ -1,7 +1,7 @@
|
||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||
// cgo -godefs -- -Iuapi types.go
|
||||
|
||||
package linux
|
||||
package fpga
|
||||
|
||||
const (
|
||||
DFL_FPGA_GET_API_VERSION = 0xb600
|
Loading…
Reference in New Issue
Block a user