Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 08:13:46 -0000 (GMT)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        freebsd-mobile@freebsd.org
Subject:   PCIC on 3.1-RELEASE
Message-ID:  <XFMail.990317081346.patrick@cre8tivegroup.com>

next in thread | raw e-mail | index | archive | help
I've got an interesting problem:
I upgraded my Toshiba T2155CDS laptop from 3.0 to 3.1 last night.  
I then rebuilt the kernel to enable the PCMCIA slots (pcic0, card0, card1).
I also made sure that what I had in /etc/pccard.conf matched what was in the
kernel, and matched what was in the CIS of the cards.  I'm using two cards, a
Cirrus Logic modem (slot 0), and an Accton 2216 Ethernet card (slot 1).  

Now all this worked on 2.2.5-3.0.  But on this release, I get the following on
boot:

PC-Card Intel 82365 (5 mem & 2 I/O windows)
pcic: controller irq 3
Initializing PC-card drivers: ed
Card inserted, slot 0
Card inserted, slot 1
PC-Card Intel 82365 (5 mem & 2 I/0 windows)
pcic: controller irq 9
Card inserted, slot 2
Card inserted, slot 3

What's even more interesting is that one of the times I ejected the card, and
inserted it again, it identified it as slot 4.  

Now I see three problems here:
1)  Two pcic's are being initialized when there's only supposed to be one.
2)  pccardd tries to use card2, card3, (and card4) to initialize the drivers.
3)  Only the ed driver is being initialized.  sio is not initialized like it
was on 3.0. 

The result is that only ed0 is being found (Accton card).  The sio3 card doesn't
show up and the driver allocation failed.  

My /etc/pccard.conf for the modem:

# NewMedia 14.4K FAX/Data Modem
card "CIRRUS LOGIC" "FAX MODEM"
        config  0x23 "sio3" 9
        insert  echo Newmedia 14.4 Modem inserted
        remove  echo Newmedia 14.4 Modem removed

In CIS for the modem, index 0x23 uses 0x2e8.  The kernel is set up to use irq 9
and address COM4.

I looked in /usr/src/sys/pccard/pccard.c to find how drivers are initialized to
see if there was a new config file that identified the PC-card drivers.  I
didn't find one.  (I'm not a C programmer, so I did the best I could.)

Is anyone else having these problems (1-3 above)?  How can I fix it?  (I'm
planning on switching back to 3.0 if I can't work it out. I can make it work
there!)

Thanks,

Patrick

---
Patrick S. Gardella                    Director of Web Development 
The Creative Group    1-800-804-0783 ext 29     606-858-8029 (fax)    
http://www.cre8tivegroup.com                 PGP Key ID 0xEE2D47A9


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?XFMail.990317081346.patrick>