I'm trying to get the Brooktrout TR1034 fax card to run with
Linux-2.6.21, but it just won't run, so I downgraded to 2.6.9 and it
seems to load just fine. Then I tried 2.6.10-rc1, and with a few
changes, it seems to work. But, when I tried 2.6.10-rc2, it failed.
Here's what I patched to make it run from 2.6.9 to 2.6.10-rc1.
I need some guidance to try to get the card to work, hopefully with
2.6.21 eventually.
Is this possible? It seems the PCI layer has changed quite a lot and I
doubt a quick patch can do the job. I can get the module to compile
and load, but since other bits are in binary, I've no way to confirm
that they're ok. It's tough to get vendor to do a 2.6.21. version.
Thanks,
Jeff.
--- kerndep.c.2610 2007-05-10 14:26:18 +0800
+++ kerndep.c.269 2007-05-08 21:52:09 +0800
@@ -597,7 +597,7 @@
void *kerndep_pci_find_dev(unsigned vend_id,unsigned dev_id,void *dev)
{
- return(pci_get_device(vend_id,dev_id,dev));
+ return(pci_find_device(vend_id,dev_id,dev));
}
unsigned kerndep_dev_vend_id(void *dev)
@@ -655,7 +655,6 @@
int kerndep_pci_read_config_word(void *dev,unsigned off,void *addr)
{
- pci_dev_put(dev);
return(pci_read_config_word(dev,off,addr));
}
@@ -825,8 +824,8 @@
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#define PARM_DECL_INT(v) module_param(v,int,0)
-#define PARM_DECL_INT_ARRAY_8(v) module_param_array(v,int,&isa_addr_size,0)
-#define PARM_DECL_INT_ARRAY_64(v) module_param_array(v,int,&mod_val_size,0)
+#define PARM_DECL_INT_ARRAY_8(v) module_param_array(v,int,isa_addr_size,0)
+#define PARM_DECL_INT_ARRAY_64(v) module_param_array(v,int,mod_val_size,0)
int isa_addr_size;
int mod_val_size;
#else
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]