search for: slot_nam

Displaying 5 results from an estimated 5 matches for "slot_nam".

Did you mean: slot_num
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...quot; fmt + #include <linux/init.h> #include <linux/module.h> #include <linux/moduleparam.h> @@ -137,7 +139,7 @@ static int enable_slot(struct hotplug_slot *hotplug_slot) { struct slot *slot = hotplug_slot->private; - dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s\n", __func__, slot_name(slot)); /* enable the specified slot */ return acpiphp_enable_slot(slot->acpi_slot); @@ -155,7 +157,7 @@ static int disable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...quot; fmt + #include <linux/init.h> #include <linux/module.h> #include <linux/moduleparam.h> @@ -137,7 +139,7 @@ static int enable_slot(struct hotplug_slot *hotplug_slot) { struct slot *slot = hotplug_slot->private; - dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s\n", __func__, slot_name(slot)); /* enable the specified slot */ return acpiphp_enable_slot(slot->acpi_slot); @@ -155,7 +157,7 @@ static int disable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...quot; fmt + #include <linux/init.h> #include <linux/module.h> #include <linux/moduleparam.h> @@ -137,7 +139,7 @@ static int enable_slot(struct hotplug_slot *hotplug_slot) { struct slot *slot = hotplug_slot->private; - dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); + dbg("%s: physical_slot = %s\n", __func__, slot_name(slot)); /* enable the specified slot */ return acpiphp_enable_slot(slot->acpi_slot); @@ -155,7 +157,7 @@ static int disable_slot(struct hotplug_slot *hotplug_slot) struct slot *slot = hotplug_slot->private; int...
2018 Dec 12
0
[PATCH v2 03/18] drm/qxl: simplify slot management
...>index); } -static uint8_t setup_slot(struct qxl_device *qdev, uint8_t slot_index_offset, - unsigned long start_phys_addr, unsigned long end_phys_addr) +static void setup_slot(struct qxl_device *qdev, + struct qxl_memslot *slot, + unsigned int slot_index, + const char *slot_name, + unsigned long start_phys_addr, + unsigned long size) { uint64_t high_bits; - struct qxl_memslot *slot; - uint8_t slot_index; - slot_index = qdev->rom->slots_start + slot_index_offset; - slot = &qdev->mem_slots[slot_index]; + slot->index = slot_index; + slot-...
2005 Feb 06
0
Intel 537EP is NOT the MD3200 aka X100P [Re: Intel 537EP chipset, revisited]
...e; + + if(pdev->driver) { + if(pdev->driver->name && !strcmp(pdev->driver->name, "serial")) { + printk(KERN_WARNING"wcfxo: %s driver grabbed our device (%s), reclaiming it..\n", pdev->driver->name, pdev->slot_name); + #if ( LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) ) + { + struct device *dev = get_device(&pdev->dev); + + if(dev) { + device_release_driver(dev); + put_device(de...