search for: pci_register_driv

Displaying 20 results from an estimated 80 matches for "pci_register_driv".

Did you mean: pci_register_driver
2005 Sep 11
5
TE406p no interrupts
Hi, I've installed an TE406p, asterisk1.2 on tyan opteron board. After installation there is no interrupts from TE406p. Is this board stable? Should i change * version to 1.0.9? Regards, Jason __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2008 Jan 01
4
zaptel 1.2.22.1 on kernel 2.6.22: wctdm24xxp.ko needs unknown symbol pci_module_init
Hi, Before I report a bug on http://bugs.digium.com, I would like to know if someone is seeing the same error message. Personally I am not using wctdm24xxp but other modules such as wcte12xp and wctdm. The latter modules load fine and are compiled with pci_register_driver as expected. The only module that seems to require the deprecated function pci_module_init is wctdm24xxp. Is this normal? Thanks, Vieri ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mob...
2005 Aug 15
0
Unable to load module for TE406P
...latest CVS (as of today) of zaptel, but when I try to load the module I get this: kobject_register failed for Unified t4xxp/t2xxp driver (-13) [kobject_register+53/73] kobject_register+0x35/0x49 [bus_add_driver+62/153] bus_add_driver+0x3e/0x99 [driver_register+55/58] driver_register+0x37/0x3a [pci_register_driver+120/134] pci_register_driver+0x78/0x86 [pg0+945848335/1069265920] t4_init+0xf/0x22 [wct4xxp] [sys_init_module+199/462] sys_init_module+0xc7/0x1ce [syscall_call+7/11] syscall_call+0x7/0xb Can anyone point me into right direction to solve this? Thanks!
2005 Aug 16
0
Solved: Unable to load module for TE406P
...but > when I try to load the module I get this: > > kobject_register failed for Unified t4xxp/t2xxp driver (-13) > [kobject_register+53/73] kobject_register+0x35/0x49 > [bus_add_driver+62/153] bus_add_driver+0x3e/0x99 > [driver_register+55/58] driver_register+0x37/0x3a > [pci_register_driver+120/134] pci_register_driver+0x78/0x86 > [pg0+945848335/1069265920] t4_init+0xf/0x22 [wct4xxp] > [sys_init_module+199/462] sys_init_module+0xc7/0x1ce > [syscall_call+7/11] syscall_call+0x7/0xb > > Can anyone point me into right direction to solve this? > Thanks! > > _...
2007 Aug 28
1
ATrpms/Fritz FCPCI CAPI/Fedora 7
HI all, Has anyone succesfully installed an AVM Fritz! card on Fedora 7 using the drivers at ATrpms recently? http://atrpms.net/dist/f7/fcpci/ I tried with a clean F7 build on my EPIA 5000 yesterday, after modifying /etc/capi.conf (removing the coment # in front of fcpci line) I received the following error when executing 'capiinit' - FATAL: Error inserting fcpci
2009 Jul 07
0
[PATCH] virtio-pci: correctly unregister root device on error
If pci_register_driver() fails we're incorrectly unregistering the root device with device_unregister() rather than root_device_unregister(). Reported-by: Don Zickus <dzickus at redhat.com> Signed-off-by: Mark McLoughlin <markmc at redhat.com> --- drivers/virtio/virtio_pci.c | 2 +- 1 files changed...
2009 Jul 07
0
[PATCH] virtio-pci: correctly unregister root device on error
If pci_register_driver() fails we're incorrectly unregistering the root device with device_unregister() rather than root_device_unregister(). Reported-by: Don Zickus <dzickus at redhat.com> Signed-off-by: Mark McLoughlin <markmc at redhat.com> --- drivers/virtio/virtio_pci.c | 2 +- 1 files changed...
2024 Nov 25
2
[PATCH] drm/nouveau: create module debugfs root
...odeset) return 0; + ret = nouveau_module_debugfs_init(); + if (ret) + return ret; + #ifdef CONFIG_NOUVEAU_PLATFORM_DRIVER platform_driver_register(&nouveau_platform_driver); #endif @@ -1444,10 +1454,14 @@ nouveau_drm_init(void) nouveau_backlight_ctor(); #ifdef CONFIG_PCI - return pci_register_driver(&nouveau_drm_pci_driver); -#else - return 0; + ret = pci_register_driver(&nouveau_drm_pci_driver); + if (ret) { + nouveau_module_debugfs_fini(); + return ret; + } #endif + + return 0; } static void __exit @@ -1467,6 +1481,8 @@ nouveau_drm_exit(void) #endif if (IS_ENABLED(CONFIG_...
2012 Mar 21
2
[PATCH] xen: initialize platform_pci even if xen_emul_unplug=never
...vers/xen/platform-pci.c @@ -186,11 +186,6 @@ static struct pci_driver platform_driver = { static int __init platform_pci_module_init(void) { - /* no unplug has been done, IGNORE hasn''t been specified: just - * return now */ - if (!xen_platform_pci_unplug) - return -ENODEV; - return pci_register_driver(&platform_driver); } -- 1.7.5
2005 Jan 24
1
AVM Fritz crash
...01da6ec>] pci_device_probe+0x1b/0x2d [<c0238de5>] driver_probe_device+0x30/0x4d [<c0238ead>] driver_attach+0x37/0x66 [<c0239264>] bus_add_driver+0x7a/0xa4 [<c02396f0>] driver_register+0x51/0x58 [<e08580b2>] fritz_init+0xb2/0xd3 [fcpci] [<c01da8a4>] pci_register_driver+0x8b/0x9e [<e08580bf>] fritz_init+0xbf/0xd3 [fcpci] [<c0135965>] sys_init_module+0x1c4/0x294 [<c010336b>] syscall_call+0x7/0xb Code: 10 c3 e0 ff 50 58 c9 c3 55 89 e5 5d c3 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 8b 45 10 57 89 c1 56 c1 e9 02 8b 75 0c 8b 7d 08 <f3>...
2011 Mar 10
2
[PATCH 11/21] Staging: hv: Make vmbus driver a platform pci driver
...ci_table[] = { }; MODULE_DEVICE_TABLE(pci, microsoft_hv_pci_table); +static struct pci_driver platform_driver = { + .name = "hv-platform-pci", + .probe = hv_pci_probe, + .id_table = microsoft_hv_pci_table, +}; + +static int __init hv_pci_init(void) +{ + return pci_register_driver(&platform_driver); +} + +static void __exit hv_pci_exit(void) +{ + vmbus_bus_exit(); + pci_unregister_driver(&platform_driver); +} + + + MODULE_LICENSE("GPL"); MODULE_VERSION(HV_DRV_VERSION); module_param(vmbus_irq, int, S_IRUGO); module_param(vmbus_loglevel, int, S_IRUGO);...
2011 Mar 10
2
[PATCH 11/21] Staging: hv: Make vmbus driver a platform pci driver
...ci_table[] = { }; MODULE_DEVICE_TABLE(pci, microsoft_hv_pci_table); +static struct pci_driver platform_driver = { + .name = "hv-platform-pci", + .probe = hv_pci_probe, + .id_table = microsoft_hv_pci_table, +}; + +static int __init hv_pci_init(void) +{ + return pci_register_driver(&platform_driver); +} + +static void __exit hv_pci_exit(void) +{ + vmbus_bus_exit(); + pci_unregister_driver(&platform_driver); +} + + + MODULE_LICENSE("GPL"); MODULE_VERSION(HV_DRV_VERSION); module_param(vmbus_irq, int, S_IRUGO); module_param(vmbus_loglevel, int, S_IRUGO);...
2010 Mar 25
2
[PATCH v3 1/1] Shared memory uio_pci driver
...+static struct pci_driver ivshmem_pci_driver = { > + .name = "uio_ivshmem", > + .id_table = ivshmem_pci_ids, > + .probe = ivshmem_pci_probe, > + .remove = ivshmem_pci_remove, > +}; > + > +static int __init ivshmem_init_module(void) > +{ > + return pci_register_driver(&ivshmem_pci_driver); > +} > + > +static void __exit ivshmem_exit_module(void) > +{ > + pci_unregister_driver(&ivshmem_pci_driver); > +} > + > +module_init(ivshmem_init_module); > +module_exit(ivshmem_exit_module); > + > +MODULE_DEVICE_TABLE(pci, ivshme...
2010 Mar 25
2
[PATCH v3 1/1] Shared memory uio_pci driver
...+static struct pci_driver ivshmem_pci_driver = { > + .name = "uio_ivshmem", > + .id_table = ivshmem_pci_ids, > + .probe = ivshmem_pci_probe, > + .remove = ivshmem_pci_remove, > +}; > + > +static int __init ivshmem_init_module(void) > +{ > + return pci_register_driver(&ivshmem_pci_driver); > +} > + > +static void __exit ivshmem_exit_module(void) > +{ > + pci_unregister_driver(&ivshmem_pci_driver); > +} > + > +module_init(ivshmem_init_module); > +module_exit(ivshmem_exit_module); > + > +MODULE_DEVICE_TABLE(pci, ivshme...
2011 Apr 29
17
[RESEND] [PATCH 00/18] Staging: hv: Cleanup vmbus driver code
This is a resend of the patches yet to be applied. This patch-set addresses some of the bus/driver model cleanup that Greg sugested over the last couple of days. In this patch-set we deal with the following issues: 1) Cleanup error handling in the vmbus_probe() and vmbus_child_device_register() functions. Fixed a bug in the probe failure path as part of this cleanup. 2) The Windows
2011 Apr 29
17
[RESEND] [PATCH 00/18] Staging: hv: Cleanup vmbus driver code
This is a resend of the patches yet to be applied. This patch-set addresses some of the bus/driver model cleanup that Greg sugested over the last couple of days. In this patch-set we deal with the following issues: 1) Cleanup error handling in the vmbus_probe() and vmbus_child_device_register() functions. Fixed a bug in the probe failure path as part of this cleanup. 2) The Windows
2013 Sep 05
0
[PATCH RESEND v3 1/7] Intel MIC Host Driver for X100 family.
...egion failed ret %d\n", ret); + goto error; + } + + g_mic_class = class_create(THIS_MODULE, mic_driver_name); + if (IS_ERR(g_mic_class)) { + ret = PTR_ERR(g_mic_class); + pr_err("class_create failed ret %d\n", ret); + goto cleanup_chrdev; + } + + ida_init(&g_mic_ida); + ret = pci_register_driver(&mic_driver); + if (ret) { + pr_err("pci_register_driver failed ret %d\n", ret); + goto class_destroy; + } + return ret; +class_destroy: + class_destroy(g_mic_class); +cleanup_chrdev: + unregister_chrdev_region(g_mic_devno, MIC_MAX_NUM_DEVS); +error: + return ret; +} + +static voi...
2013 Aug 08
0
[PATCH v2 1/7] Intel MIC Host Driver for X100 family.
...t;alloc_chrdev_region failed ret %d\n", ret); + goto error; + } + + g_mic.mic_class = class_create(THIS_MODULE, mic_driver_name); + if (IS_ERR(g_mic.mic_class)) { + ret = PTR_ERR(g_mic.mic_class); + pr_err("class_create failed ret %d\n", ret); + goto cleanup_chrdev; + } + + ret = pci_register_driver(&mic_driver); + if (ret) { + pr_err("pci_register_driver failed ret %d\n", ret); + goto class_destroy; + } + return ret; +class_destroy: + class_destroy(g_mic.mic_class); +cleanup_chrdev: + unregister_chrdev_region(g_mic.mdev_id, MIC_MAX_NUM_DEVS); +error: + return ret; +} + +stat...
2005 Jul 28
10
dma_alloc_coherent issue with tg3 in x86_64 build
...for_completion+170} <ffffffff80126dd0>{default_wake_function+0} <ffffffff802212d6>{pci_device_probe+134} <ffffffff8025ac0d>{driver_probe_device+77} <ffffffff8025ad2b>{driver_attach+75} <ffffffff8025b118>{bus_add_driver+152} <ffffffff80220fe5>{pci_register_driver+117} <ffffffff801090f2>{init+178} <ffffffff8010e567>{child_rip+8} <ffffffff80109040>{init+0} <ffffffff8010e55f>{child_rip+0} Code: 0f 0b 08 91 3d 80 ff ff ff ff 2b 01 b8 01 00 00 00 44 89 f1 RIP <ffffffff8011a32a>{xen_contig_memory+586} RSP <ffff8...
2009 Apr 01
4
Linux PV Drivers - VBD device not loading - Cannot get Major 3/22 for ide
I am trying to get PV drivers running on both Centos 5.1 and Centos 5.3 HVMs, my DomU is Centos 5.2 with Xen 3.31. For 5.1 I install the kmod-xenpv RPM but for 5.3 the drivers seem to be built-in. For the network drivers to work I had to unload the Realtek NIC driver and renamed its .ko files to stop it loading. Adding the Xen-Vnif alias to modprobe.conf then got the PV NICs working nicely (Much