- From: Bernd Porr <Bernd.Porr_at_cn.stir.ac.uk>
- Date: Sun, 11 Jan 2004 20:14:03 +0000
Re the PCI card: I'm sorry but I can't send you patches as I
don't have any experience with the PCI API. I can only point
it out for you or for other people who have PCI cards.
In addition I've found this as a replacement for the the
missing symbol for PCI:
diff -Nru a/sound/oss/via82cxxx_audio.c
b/sound/oss/via82cxxx_audio.c
--- a/sound/oss/via82cxxx_audio.c Wed Jun 4 20:28:51 2003
+++ b/sound/oss/via82cxxx_audio.c Wed Jun 4 20:28:51 2003
_at__at_ -1357,12 +1357,12 _at__at_
{
int minor = minor(inode->i_rdev);
struct via_info *card;
- struct pci_dev *pdev;
+ struct pci_dev *pdev = NULL;
struct pci_driver *drvr;
DPRINTK ("ENTER\n");
- pci_for_each_dev(pdev) {
+ while ((pdev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID,
pdev)) != NULL) {
drvr = pci_dev_driver (pdev);
if (drvr == &via_driver) {
assert (pci_get_drvdata (pdev) != NULL);
....
Probably you've written the comment that there is a problem
in include/linux/pci.h.
Is the fragment above the answer to it?
--------------------------------------------
Re the VMALLOC comand:
Here's a pseudo patch (as in bugzilla reported):
Add to vmalloc.h:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#endif
This patch makes it possible to compile without error
messages under 2.6. This was the error Frank Mori Hess
mentioned a while ago.
/Bernd
David Schleef wrote:
> On Sun, Jan 11, 2004 at 04:44:39PM +0000, Bernd Porr wrote:
>
>>For the impatient (I'm one of these people :-) I have hacked
>>(again) a version of comedi which compiles on 2.6:
>>
>>http://www.cn.stir.ac.uk/linux-daq/2.6/
>>
>>It's basically for our USB board so that I can test some
>>functionality. It works with our board. I haven't tested any
>>other drivers. PCI cards compile but you get a missing symbol.
>
>
> Do you ever bother sending patches?
>
>
>
> dave...
--
www: http://www.berndporr.me.uk
e-mail: Bernd.Porr_at_cn.stir.ac.uk
Mobile: +44 (0)7769-506746
Landl.: +44 (0)1324 875445
Work: +44 (0)1786-46-6378
Postal: Room: 3B141, Department of Psychology, Univ of Stir,
FK9 4LA, Scotl
Received on 2004-01-11Z20:14:03