From: "Krishnakumar. R" <krishnakumar@naturesoft.net>
To: john@larvalstage.com
Cc: linux-kernel@vger.kernel.org, antonio_floresta@yahoo.com
Subject: [PATCH - 2.6.0-test2][BUG #568]compile failure in drivers/isdn/hisax/diva.c
Date: Wed, 6 Aug 2003 17:01:47 +0530 [thread overview]
Message-ID: <200308061701.47675.krishnakumar@naturesoft.net> (raw)
Hi John,
Here is the patch which will enable the compilation of the diva.c file.
I succeded in compiling the diva.c with this patch.
But could not do any run time test, as I dont have the
hardware.
So could you please apply this and try out.
The patch is against 2.6.0-test2.
Regards
KK
===========================================================
diffstat output:
diva.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
===========================================================
The following is the patch.
--- linux-2.6.0-test2/drivers/isdn/hisax/diva.orig.c 2003-08-05 22:22:04.000000000 +0530
+++ linux-2.6.0-test2/drivers/isdn/hisax/diva.c 2003-08-05 22:41:42.000000000 +0530
@@ -751,24 +751,24 @@
card->para[1] = pnp_port_start(pd, 0);
card->para[0] = pnp_irq(pd, 0);
if (pdev->function == ISAPNP_FUNCTION(0xA1)) {
- if (diva_ipac_isa_probe(cs->card, cs))
+ if (diva_ipac_isa_probe(card->cs, card))
return 0;
return 1;
} else {
- if (diva_isac_isa_probe(cs->card, cs))
+ if (diva_isac_isa_probe(card->cs, card))
return 0;
return 1;
- } else {
- printk(KERN_ERR "Diva PnP: PnP error card found, no device\n");
- return(0);
- }
+ }
+ }else {
+ printk(KERN_ERR "Diva PnP: PnP error card found, no device\n");
+ return(0);
}
- pdev++;
- pnp_c=NULL;
- }
- if (!pdev->card_vendor) {
- printk(KERN_INFO "Diva PnP: no ISAPnP card found\n");
}
+ pdev++;
+ pnp_c=NULL;
+ }
+ if (!pdev->card_vendor) {
+ printk(KERN_INFO "Diva PnP: no ISAPnP card found\n");
}
}
#endif
next reply other threads:[~2003-08-06 11:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-06 11:31 Krishnakumar. R [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-08-08 6:51 [PATCH - 2.6.0-test2][BUG #568]compile failure in drivers/isdn/hisax/diva.c Krishnakumar. R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200308061701.47675.krishnakumar@naturesoft.net \
--to=krishnakumar@naturesoft.net \
--cc=antonio_floresta@yahoo.com \
--cc=john@larvalstage.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox