From owner-freebsd-mobile Wed Apr 14 10: 4:45 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (Postfix) with ESMTP id 3F44214DC5 for ; Wed, 14 Apr 1999 10:04:43 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.1/8.9.1) with SMTP id JAA04134; Wed, 14 Apr 1999 09:56:25 -0700 (PDT) Date: Wed, 14 Apr 1999 09:56:25 -0700 (PDT) From: Annelise Anderson To: Patrick Gardella Cc: Brian Skrab , freebsd-mobile@FreeBSD.ORG Subject: RE: PCMCIA in a Notebook ??? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I wrote up a short how-to on getting pccards to work that's on my web page at http://andrsn.stanford.edu/FreeBSD/pccards.html. Annelise On Tue, 13 Apr 1999, Patrick Gardella wrote: > > On 13-Apr-99 Brian Skrab wrote: > > Hello, > > > >I have a Fujitsu notebook with a fresh copy of FreeBSD 2.2.8 > >installed on it. I have a D-Link DFE-650 10/100 PCMCIA NIC sitting > >in one of the card slots, but cannot figure out how to get FreeBSD > >to detect it. Should I try to find a way to set the resources on > >the card? Is there some special tweak that's needed to get FreeBSD > >to detect PCMCIA cards? Does FreeBSD even support PCMCIA NICs? Do > >I need a new "supported" NIC? > > Yes, PCMCIA NICs are supported in FreeBSD. > > You need to configure /etc/pccard.conf to make the card work. And make > sure you have support compiled into the kernel: > > # PCCARD (PCMCIA) support > controller card0 > device pcic0 at card? > device pcic1 at card? > > Finally, in /etc/rc.conf, you have to enable pccard: > > pccard_enable="YES" # Set to YES if you want to configure PCCARD > devices. > pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory > address. > pccard_ifconfig="change to match your card" # Specialized pccard > ethernet configuration (or NO). > > However, your NIC is not listed in the pccard.conf.sample file, so that > means no one has tried it and if they have, they might not have gotten > it to work. So will yours work? Maybe. You'll have to try it. Do > all the above and then start working on making it work. > > To see if it will work, run: > pccardc dumpcis > pccard.info > > This will dump the card information to a file pccard.info. In there, > you will see tuples describing different configuration possibilities. > (My laptop is at home or I would include one.) > > Look for one like 0x20 (may be a different number). It will tell you > an IRQ, and other information. The card identifier at the top will > tell you what it refers to itself as. Use these to make your > configuration in /etc/pccard.conf. As an example, my Accton 2216 has a > configuration of: > > card "ACCTON" "EN2216-PCMCIA-ETHERNET" > config 0x20 "ed0" 10 > insert echo Accton 2216 inserted > insert /etc/pccard_ether ed0 > remove echo Accton 2216 removed > remove /sbin/ifconfig ed0 delete > > You may have to try other ethernet drivers than "ed0" to make it work. > But if its an NE 2000 compatible, ed0 is a good place to start. > > One other thing, the configuration of the card must match whats in the > kernel. So if you have IRQ 10 in the kernel and IRQ 7 in the > /etc/pccard.conf, it won't work. > > I've cross posted this to -mobile, since that's the place to ask for > laptop support. > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message