search for: virtfn_slot

Displaying 3 results from an estimated 3 matches for "virtfn_slot".

2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...+#include <linux/pci_hotplug.h> +#include <linux/delay.h> +#include <asm/page.h> + +#include "pci.h" + + +#define PCI_IOV_SLOTNAME_LEN 24 + +#define notify(dev, event, id, param) ({ \ + dev->iov->cb ? dev->iov->cb(dev, event, id, param) : 0; \ +}) + + +struct virtfn_slot { + int id; + char name[PCI_IOV_SLOTNAME_LEN]; + struct pci_dev *dev; + struct list_head node; + struct hotplug_slot *slot; +}; + +static int enable_virtfn(struct hotplug_slot *); +static int disable_virtfn(struct hotplug_slot *); +static int set_virtfn_param(struct hotplug_slot *, const char *, in...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...+#include <linux/pci_hotplug.h> +#include <linux/delay.h> +#include <asm/page.h> + +#include "pci.h" + + +#define PCI_IOV_SLOTNAME_LEN 24 + +#define notify(dev, event, id, param) ({ \ + dev->iov->cb ? dev->iov->cb(dev, event, id, param) : 0; \ +}) + + +struct virtfn_slot { + int id; + char name[PCI_IOV_SLOTNAME_LEN]; + struct pci_dev *dev; + struct list_head node; + struct hotplug_slot *slot; +}; + +static int enable_virtfn(struct hotplug_slot *); +static int disable_virtfn(struct hotplug_slot *); +static int set_virtfn_param(struct hotplug_slot *, const char *, in...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...+#include <linux/pci_hotplug.h> +#include <linux/delay.h> +#include <asm/page.h> + +#include "pci.h" + + +#define PCI_IOV_SLOTNAME_LEN 24 + +#define notify(dev, event, id, param) ({ \ + dev->iov->cb ? dev->iov->cb(dev, event, id, param) : 0; \ +}) + + +struct virtfn_slot { + int id; + char name[PCI_IOV_SLOTNAME_LEN]; + struct pci_dev *dev; + struct list_head node; + struct hotplug_slot *slot; +}; + +static int enable_virtfn(struct hotplug_slot *); +static int disable_virtfn(struct hotplug_slot *); +static int set_virtfn_param(struct hotplug_slot *, const char *, in...