ALT Linux Bugzilla
– Attachment 1297 Details for
Bug 8648
Kernel 2.6.14 slamr, slusb insmod error: unresolved symbols
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
slamr patch
slmodem-2.9.10-slamr-2.6.14.patch (text/plain), 1.02 KB, created by
Artem Delendik
on 2005-12-14 21:59:48 MSK
(
hide
)
Description:
slamr patch
Filename:
MIME Type:
Creator:
Artem Delendik
Created:
2005-12-14 21:59:48 MSK
Size:
1.02 KB
patch
obsolete
>diff -Nur kernel-source-slmodem-2.9.10.orig/drivers/amrmo_init.c kernel-source-slmodem-2.9.10/drivers/amrmo_init.c >--- kernel-source-slmodem-2.9.10.orig/drivers/amrmo_init.c 2005-12-14 18:04:34 +0200 >+++ kernel-source-slmodem-2.9.10/drivers/amrmo_init.c 2005-12-14 18:16:58 +0200 >@@ -68,6 +68,15 @@ > #include <linux/device.h> > #endif > >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13) >+#define class_simple_device_add(class, dev, addr, name, i) >+#define class_simple_device_remove(dev) >+#define class_simple_create(module, name) (struct class_simple *)(name) >+#define class_simple_destroy(class) >+#else >+#define pci_match_id(tbl, dev) pci_match_device(tbl, dev) >+#endif >+ > #include <modem_defs.h> > > #define AMRMO_MODULE_NAME "slamr" >@@ -720,7 +729,7 @@ > #else > while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { > #endif >- if(pci_match_device(amrmo_pci_tbl, dev) && >+ if(pci_match_id(amrmo_pci_tbl, dev) && > pci_dev_driver(dev)) { > #ifdef OLD_KERNEL > AMRMO_DBG("device %04x:%04x is used by %s: remove\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8648
:
1296
| 1297