Subject: Re: amd64 and PCMCIA
To: Samuel Kesterson <netbsd@k-labs.com>
From: Frank van der Linden <fvdl@netbsd.org>
List: port-amd64
Date: 03/01/2005 20:25:20
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
> HP zv5410us. I put the dmesg output from both the i386 (GENERIC_LAPTOP)
> and amd64 (GENERIC) kernels up at
> http://www.k-labs.com/~samuelk/dmesg.i386 and
> http://www.k-labs.com/~samuelk/dmesg.amd64 
> 
> 	Here's my problem. The amd64 kernel doesn't seem to support
> PCMCIA. I tried to add it by copying the GENERIC config to
> GENERIC_LAPTOP_64 and uncommenting acpi0, cbb, cardbus, and pcmcia but
> config just tells me:
> 
> GENERIC_LAPTOP_64:285: cardslot*: unknown device 'cardslot'
> GENERIC_LAPTOP_64:288: cardbus*: unknown device 'cardbus'
> GENERIC_LAPTOP_64:289: pcmcia*: unknown device 'pcmcia'
> *** Stop.
> 	
> 	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.

- Frank