Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2000 23:06:00 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        imp@village.org (Warner Losh)
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: No PC-CARD Slots; Device Not Configured
Message-ID:  <200003152106.XAA82547@zibbi.mikom.csir.co.za>
In-Reply-To: <200003150741.AAA81106@harmony.village.org> from Warner Losh at "Mar 15, 2000 00:41:14 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Wound up being impatient, and rewrote it.  Turns out I didn't have the
> cardbus pci card in the unit I sent to be repaired.  This is lightly
> tested.  Looks a lot like the pd6832 version, but is different in a
> few subtle ways.  I suspect that we always want to do most, if not
> all, of what I'm doing here.  Will save us some grief no doubt.  Maybe
> even have a suspend/resume code to do something similar to help
> some newer laptops a little before we get acpi.
> 

Ok, I tried your patch and I'm getting a lot further. Pieces of dmesg
looks like this:

---------------
pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> mem 0xea108000-0xea108fff irq 9 at device 10.0 on pci0
pcic-pci1: <TI PCI-1225 PCI-CardBus Bridge> mem 0xea10c000-0xea10cfff irq 9 at device 10.1 on pci0
...
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
...
pccard: card inserted, slot 0
pccard: card inserted, slot 1
---------------

Seems a little strange that it thinks there is a card inserted in slot1,
seeing that there isn't a slot1. :-)

Then when I run pccardd (with "debuglevel 4" in /etc/pccard.conf), I get
this and then the machine hangs solid.

-------
pccardd[252]: Using I/O addr 0x240, size 64 
pccardd[252]: Setting config reg at offs 0x3e0 to 0x41, Reset time = 50 ms
pccardd[252]: Assigning I/O window 0, start 0x240, size 0x40 flags 0x5
pccardd[252]: Assign wi0, io 0x240-0x27f, mem 0x0, 0 bytes, irq 9, flags 0
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 9 slot 0 on pccard0
wi0: Ethernet address: 00:60:1d:f1:45:11
-------

I have booted the machine without the WaveLAN card plugged in and then
I only get "pccard: card inserted, slot 1" and not slot 0.

I have also tried to run pccardd without the WaveLAN card being plugged
in and then the machine would also hang without any messages from
pccardd.

Is there a way to disable the second slot or tell pccardd to ignore it?
It looks like it might be part of my problem.

I have the following in my kernel config file:

device          card
device          pcic0   at isa? port 0x3e0 iomem 0xd0000

And I have "irq 9" in my /etc/pccard.conf because this is the interrupt
that is given to the PCI card.

John
-- 
John Hay -- John.Hay@mikom.csir.co.za


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003152106.XAA82547>