[hsflinux] patch for 2.6.0-test5-bk3
edoapra at netscape.net
edoapra at netscape.net
Tue Sep 16 21:22:07 EDT 2003
I had to apply the included patch to get hsfmodem build
on 2.6.0-test5-bk3
Cheers, Edo
[root at wd37367 hsfmodem-6.03.00lnxt03091600free]# cat patch
--- modules/cnxthwpci_common.c.orig Tue Sep 16 16:28:43 2003
+++ modules/cnxthwpci_common.c Tue Sep 16 16:29:28 2003
@@ -176,4 +176,7 @@
struct pci_dev *pdev;
int i;
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) )
+ struct device *dev=0;
+#endif
/* workaround for serial driver falsely claiming to handle our devices. */
@@ -190,5 +193,5 @@
printk(KERN_WARNING"%s: %s driver grabbed our device (%s), reclaiming it..\n", CNXTHWPCI_NAME, pdev->driver->name, pdev->slot_name);
#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) )
- struct device *dev = get_device(&pdev->dev);
+ dev = get_device(&pdev->dev);
if(dev) {
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
More information about the hsflinux
mailing list