Subject: Re: amd64 and PCMCIA
To: Frank van der Linden <fvdl@NetBSD.org>
From: Sami Kantoluoto <sami.kantoluoto@embedtronics.fi>
List: port-amd64
Date: 03/01/2005 23:01:57
On Tue, Mar 01, 2005 at 08:25:20PM +0100, Frank van der Linden wrote:
> On Mon, Feb 28, 2005 at 02:05:00PM -0600, Samuel Kesterson wrote:
> > 	I've purchased a new laptop that's based on the amd64. It's an

[snip]

> > 	I'd really like to run the amd64 port if I could get this PCMCIA
> > stuff working. Does anyone have any suggestions?
> 
> That's not hard to do.. So far it hasn't been added because noone has
> tested it yet, but it's likely to "just work".
>
> What you need to do is to take the cardbus+pcmcia stuff out of
> sys/arch/i386/conf/files.i386, and put it in sys/arch/amd64/conf/files.amd64,
> at the same spot. Then reconfigure the kernel.
> 
> If this works for you, let me know, and I'll enable it by default.

This alone was not just enough but I copied
sys/arch/i386/i386/rbus_machdep.c and sys/arch/i386/include/rbus_machdep.h
to appropriate places and with these I got it compiled (NOTE: I don't have
any understanding about those files). But:

cbb0 at pci0 dev 9 function 0: O2 Micro product 0x7114 (rev. 0x20)
cbb0: NOT USED because of unconfigured interrupt
cbb1 at pci0 dev 9 function 1: O2 Micro product 0x7114 (rev. 0x20)
cbb1: NOT USED because of unconfigured interrupt

Any thoughts?


     -sk