v16.1.0
v16.1.0
This commit is contained in:
@@ -18,6 +18,11 @@ type PCIDeviceDriverToKernelRequest struct {
|
||||
// Hardware path of the PCI device, e.g. 0000:81:00.0
|
||||
// Required: true
|
||||
HWPath string `url:"hw_path" json:"hw_path" validate:"required,pciDeviceHWPath"`
|
||||
|
||||
// Mode of binding the PCI device driver to kernel
|
||||
// Default: safe
|
||||
// Required: false
|
||||
Mode string `url:"mode,omitempty" json:"mode,omitempty" validate:"omitempty,oneof=safe unsafe"`
|
||||
}
|
||||
|
||||
// PCIDeviceDriverToKernel binds PCI device driver to kernel
|
||||
|
||||
Reference in New Issue
Block a user