search for: bus_id

Displaying 20 results from an estimated 113 matches for "bus_id".

2008 May 23
0
[PATCH 1/3] virtio: bus_id for devices should contain 'virtio'
An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20080522/73190657/attachment.txt
2008 May 23
0
[PATCH 2/3] virtio: virtio_pci should not set bus_id.
An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20080522/4684d166/attachment.txt
2008 May 23
0
[PATCH 1/3] virtio: bus_id for devices should contain 'virtio'
An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20080522/73190657/attachment.txt
2008 May 23
0
[PATCH 2/3] virtio: virtio_pci should not set bus_id.
An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20080522/4684d166/attachment.txt
2008 May 21
1
[Fwd: [PATCH]: Fix silly output for virtio devices in /proc/interrupts]
(sent to the kvm list erroneously) -------------- next part -------------- An embedded message was scrubbed... From: Chris Lalancette <clalance at redhat.com> Subject: [PATCH]: Fix silly output for virtio devices in /proc/interrupts Date: Wed, 21 May 2008 14:51:45 +0200 Size: 4582 Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20080521/38a29f92/attachment.eml
2008 May 21
1
[Fwd: [PATCH]: Fix silly output for virtio devices in /proc/interrupts]
(sent to the kvm list erroneously) -------------- next part -------------- An embedded message was scrubbed... From: Chris Lalancette <clalance at redhat.com> Subject: [PATCH]: Fix silly output for virtio devices in /proc/interrupts Date: Wed, 21 May 2008 14:51:45 +0200 Size: 4582 Url: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20080521/38a29f92/attachment.eml
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...) @@ -499,6 +584,9 @@ NVFreeScreen(FREE_SCREEN_ARGS_DECL) if (!pNv) return; + if (pNv->xwl_screen) + xwl_screen_destroy(pNv->xwl_screen); + NVCloseDRM(pScrn); free(pScrn->driverPrivate); @@ -560,22 +648,29 @@ NVPreInitDRM(ScrnInfoPtr pScrn) NVPtr pNv = NVPTR(pScrn); char *bus_id; int ret; + int drm_fd; if (!NVDRIGetVersion(pScrn)) return FALSE; - /* Load the kernel module, and open the DRM */ - bus_id = DRICreatePCIBusID(pNv->PciInfo); - ret = DRIOpenDRMMaster(pScrn, SAREA_MAX, bus_id, "nouveau"); - free(bus_id); - if (!ret) { - xf86DrvMsg(pScrn-&g...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...en(int scrnIndex, int flags) if (!pNv) return; +#ifdef XORG_WAYLAND + if (pNv->xwl_screen) + xwl_screen_destroy(pNv->xwl_screen); +#endif + NVCloseDRM(pScrn); free(pScrn->driverPrivate); @@ -568,10 +676,16 @@ NVPreInitDRM(ScrnInfoPtr pScrn) NVPtr pNv = NVPTR(pScrn); char *bus_id; int ret; + int drm_fd; if (!NVDRIGetVersion(pScrn)) return FALSE; +#ifdef XORG_WAYLAND + if (pNv->xwl_screen) + drm_fd = xwl_screen_get_drm_fd(pNv->xwl_screen); + else { +#endif /* Load the kernel module, and open the DRM */ bus_id = DRICreatePCIBusID(pNv->PciInfo); ret...
2008 May 30
0
[PULL] virtio & lguest fixes (and new virtio_rng driver)
...orntraeger (4): virtio_blk: allow read-only disks virtio_net: another race with virtio_net and enable_cb virtio_config: fix len calculation of config elements virtio_blk: fix endianess annotations Rusty Russell (8): lguest: use ioremap_cache, not ioremap virtio: bus_id for devices should contain 'virtio' virtio: virtio_pci should not set bus_id. virtio: set device index in common code. lguest: fix ugly <NULL> in /proc/interrupts virtio: An entropy device, as suggested by hpa. virtio: force callback on empty. lgues...
2008 May 30
0
[PULL] virtio & lguest fixes (and new virtio_rng driver)
...orntraeger (4): virtio_blk: allow read-only disks virtio_net: another race with virtio_net and enable_cb virtio_config: fix len calculation of config elements virtio_blk: fix endianess annotations Rusty Russell (8): lguest: use ioremap_cache, not ioremap virtio: bus_id for devices should contain 'virtio' virtio: virtio_pci should not set bus_id. virtio: set device index in common code. lguest: fix ugly <NULL> in /proc/interrupts virtio: An entropy device, as suggested by hpa. virtio: force callback on empty. lgues...
2009 Sep 14
1
[Nouveau-cvs] xf86-video-nv: Branch 'master'
...gt; } > diff --git a/src/nv_driver.c b/src/nv_driver.c > index 9317b5e..645895d 100644 > --- a/src/nv_driver.c > +++ b/src/nv_driver.c > @@ -741,6 +741,8 @@ NVPreInitDRM(ScrnInfoPtr pScrn) > */ > #ifdef XF86DRM_MODE > pNv->kms_enable = !drmCheckModesettingSupported(bus_id); > + if (pNv->kms_enable) > + pScrn->canDoBGNoneRoot = 1; > #endif > xf86DrvMsg(pScrn->scrnIndex, X_PROBED, > "[drm] kernel modesetting %s\n", pNv->kms_enable ? What does this latter hunk do? It just seems completely irrelevant wrt. the commit mes...
2007 Dec 21
1
[kvm-devel] [Virtio-for-kvm] [PATCH 12/13] [Mostly resend] virtio additions
...it's own struct device and so does a virtio device so * we create a place for the virtio devices to show up in sysfs. I think it * would make more sense for virtio to not insist on having it's own device. */ static struct device virtio_pci_root = { .parent = NULL, .bus_id = "virtio-pci", + .release = virtio_pci_root_release, }; /* Unique numbering for devices under the kvm root */ @@ -358,6 +364,7 @@ static void __devexit virtio_pci_remove(struct pci_dev *pci_dev) pci_iounmap(pci_dev, vp_dev->ioaddr); pci_release_regions(pci_...
2007 Dec 21
1
[kvm-devel] [Virtio-for-kvm] [PATCH 12/13] [Mostly resend] virtio additions
...it's own struct device and so does a virtio device so * we create a place for the virtio devices to show up in sysfs. I think it * would make more sense for virtio to not insist on having it's own device. */ static struct device virtio_pci_root = { .parent = NULL, .bus_id = "virtio-pci", + .release = virtio_pci_root_release, }; /* Unique numbering for devices under the kvm root */ @@ -358,6 +364,7 @@ static void __devexit virtio_pci_remove(struct pci_dev *pci_dev) pci_iounmap(pci_dev, vp_dev->ioaddr); pci_release_regions(pci_...
2007 Nov 10
1
[PATCH] virtio_pci updates
...); - __free_pages(info->pages, get_order(info->n_pages)); + kfree(info->queue); kfree(info); } @@ -348,10 +358,13 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev, if (vp_dev == NULL) return -ENOMEM; - vp_dev->pci_dev = pci_dev; + snprintf(vp_dev->vdev.dev.bus_id, BUS_ID_SIZE, "virtio%d", dev_index); + vp_dev->vdev.index = dev_index; + dev_index++; + vp_dev->vdev.dev.parent = &virtio_pci_root; - vp_dev->vdev.index = dev_index++; vp_dev->vdev.config = &virtio_pci_config_ops; + vp_dev->pci_dev = pci_dev; INIT_LIST_HEAD(&...
2007 Nov 10
1
[PATCH] virtio_pci updates
...); - __free_pages(info->pages, get_order(info->n_pages)); + kfree(info->queue); kfree(info); } @@ -348,10 +358,13 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev, if (vp_dev == NULL) return -ENOMEM; - vp_dev->pci_dev = pci_dev; + snprintf(vp_dev->vdev.dev.bus_id, BUS_ID_SIZE, "virtio%d", dev_index); + vp_dev->vdev.index = dev_index; + dev_index++; + vp_dev->vdev.dev.parent = &virtio_pci_root; - vp_dev->vdev.index = dev_index++; vp_dev->vdev.config = &virtio_pci_config_ops; + vp_dev->pci_dev = pci_dev; INIT_LIST_HEAD(&...
2008 Dec 29
0
[PULL] virtio and lguest tree
...io_console: support console resizing kvm-s390: implement config_changed for virtio on s390 Hollis Blanchard (2): virtio-pci queue allocation not page-aligned virtio: avoid implicit use of Linux page size in balloon interface Kay Sievers (1): virtio: struct device - replace bus_id with dev_name(), dev_set_name() Mark McLoughlin (2): virtio: add PCI device release() function lguest: struct device - replace bus_id with dev_name() Matias Zabaljauregui (1): lguest: move the initial guest page table creation code to the host Randy Dunlap (1): virtio_blk...
2008 Dec 29
0
[PULL] virtio and lguest tree
...io_console: support console resizing kvm-s390: implement config_changed for virtio on s390 Hollis Blanchard (2): virtio-pci queue allocation not page-aligned virtio: avoid implicit use of Linux page size in balloon interface Kay Sievers (1): virtio: struct device - replace bus_id with dev_name(), dev_set_name() Mark McLoughlin (2): virtio: add PCI device release() function lguest: struct device - replace bus_id with dev_name() Matias Zabaljauregui (1): lguest: move the initial guest page table creation code to the host Randy Dunlap (1): virtio_blk...
2007 Dec 21
0
[kvm-devel] [Virtio-for-kvm] [PATCH 05/13] [Mostly resend] virtio additions
...it's own struct device and so does a virtio device so + * we create a place for the virtio devices to show up in sysfs. I think it + * would make more sense for virtio to not insist on having it's own device. */ +static struct device virtio_pci_root = { + .parent = NULL, + .bus_id = "virtio-pci", +}; + +/* Unique numbering for devices under the kvm root */ +static unsigned int dev_index; + +/* Convert a generic virtio device to our structure */ +static struct virtio_pci_device *to_vp_device(struct virtio_device *vdev) +{ + return container_of(vdev, struct...
2007 Dec 21
0
[kvm-devel] [Virtio-for-kvm] [PATCH 05/13] [Mostly resend] virtio additions
...it's own struct device and so does a virtio device so + * we create a place for the virtio devices to show up in sysfs. I think it + * would make more sense for virtio to not insist on having it's own device. */ +static struct device virtio_pci_root = { + .parent = NULL, + .bus_id = "virtio-pci", +}; + +/* Unique numbering for devices under the kvm root */ +static unsigned int dev_index; + +/* Convert a generic virtio device to our structure */ +static struct virtio_pci_device *to_vp_device(struct virtio_device *vdev) +{ + return container_of(vdev, struct...
2010 May 24
1
mISDN compiling error
...13' CC [M] /usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.o /usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c: In function ?mISDN_register_sysfs_obj?: /usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:139: error: ?struct device? has no member named ?bus_id? /usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:139: error: ?BUS_ID_SIZE? undeclared (first use in this function) /usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:139: error: (Each undeclared identifier is reported only once /usr/src/mISDN-1_1_9_2/drivers/isdn/hardwa...