VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4] ]
Subject: Re: PCMCIA to PCI adaptor


Author:
Dimitry Katkov
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 01:53:45 10/22/02 Tue
In reply to: Jenson 's message, "PCMCIA to PCI adaptor" on 00:53:31 10/16/02 Wed

Hello.

There is no common standard for assigning interrupts to PCI-to-cardbus or PCI-to-PCMCIA bridges, so it must be hardcoded in BIOS as it is done for 786BASE CardBus controller. If the second PCI-to-CardBus bridge required, it's interrupts (and maybe some other registers) must be initialized by the operating system before the driver is loaded.
To get this working in Linux you can use "pcitweak" utility to access the interrupt configuration register on your PCI-PCMCIA adapter. The interrupt configuration register resides at offset 0x3C. For example: to assign IRQ10 to the device interrupt you have to write 0x0A to register 0x3C in the selected PCI device.
Run "pcitweak -h" to get the information about using pcitweak utility.
Run "pcitweak -l" to find the device/bus/function number of your PCI-PCMCIA controller.

You must do all the pcitweaks BEFORE the socket driver is loaded. In case you are using yenta_socket.o you have to build the kernel without it and then insmod this driver after pcitweaks.

Best regards.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
PCI to PCMCIA adaptorAndrew Perryman06:30:03 01/29/03 Wed
    Re: PCI to PCMCIA adaptorRich20:57:19 05/13/03 Tue


    [ Contact Forum Admin ]


    Forum timezone: GMT-8
    VF Version: 3.00b, ConfDB:
    Before posting please read our privacy policy.
    VoyForums(tm) is a Free Service from Voyager Info-Systems.
    Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.