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"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga"
|
||||||
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
|
"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"
|
"github.com/pkg/errors"
|
||||||
utilsexec "k8s.io/utils/exec"
|
utilsexec "k8s.io/utils/exec"
|
||||||
)
|
)
|
||||||
|
@ -24,8 +24,8 @@ import (
|
|||||||
|
|
||||||
"github.com/pkg/errors"
|
"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"
|
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
|
||||||
fpga "github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/linux"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -11,11 +11,8 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
|
||||||
// +build linux
|
|
||||||
//
|
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
@ -11,11 +11,8 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
|
||||||
// +build linux
|
|
||||||
//
|
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
@ -11,11 +11,8 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
|
||||||
// +build linux
|
|
||||||
//
|
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
@ -11,11 +11,8 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
|
||||||
// +build linux
|
|
||||||
//
|
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
|
"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.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
|
||||||
// +build linux
|
|
||||||
//
|
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
@ -11,11 +11,8 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
//
|
|
||||||
// +build linux
|
|
||||||
//
|
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
@ -22,7 +22,7 @@
|
|||||||
// Code generated by carefully reading documentation and cherry-picking right kernel headers. DO NOT EDIT.
|
// Code generated by carefully reading documentation and cherry-picking right kernel headers. DO NOT EDIT.
|
||||||
//
|
//
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#include "fpga-dfl.h"
|
#include "fpga-dfl.h"
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
@ -1,7 +1,7 @@
|
|||||||
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||||
// cgo -godefs -- -Iuapi types.go
|
// cgo -godefs -- -Iuapi types.go
|
||||||
|
|
||||||
package linux
|
package fpga
|
||||||
|
|
||||||
const (
|
const (
|
||||||
DFL_FPGA_GET_API_VERSION = 0xb600
|
DFL_FPGA_GET_API_VERSION = 0xb600
|
Loading…
Reference in New Issue
Block a user