From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 14 15:03:04 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 606CB16A41F for ; Fri, 14 Oct 2005 15:03:04 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C8F43D48 for ; Fri, 14 Oct 2005 15:03:03 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j9EF1nR9089847; Fri, 14 Oct 2005 09:01:49 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 14 Oct 2005 09:02:59 -0600 (MDT) Message-Id: <20051014.090259.20016535.imp@bsdimp.com> To: nikolas.britton@gmail.com From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 14 Oct 2005 09:01:49 -0600 (MDT) Cc: freebsd-mobile@freebsd.org Subject: Re: Adding new pccard device entries to FreeBSD 6, how? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 15:03:04 -0000 In message: Nikolas Britton writes: : ---------- Forwarded message ---------- : From: Nikolas Britton : Date: Oct 13, 2005 1:38 AM : Subject: Adding new pccard device entries to FreeBSD 6, how? : To: FreeBSD-questions : : : Hello all, : : I'm trying to get FreeBSD 6 working with my Prism 3 based SMC 2532W-B : wireless cards. I've added the device entries into the system but I : must be doing something wrong, it's still not working. The SMC2532W-B : cards are re-branded Zcom XI-330H (Prism 3) and XI-325H (Prism 2.5) : cards. I know for a fact that the SMC card works with FreeBSD 4.11, in : hostap mode, because I'm using one of them right now with the PLX PCI : to PCMCIA bridge controller that came with the old 3Com 3CRWE777A : wireless cards...... : : dmesg output: : cbb0: at device 2.0 on pci2 : cardbus0: on cbb0 : pccard0: <16-bit PCCard bus> on cbb0 : pccard0: (manufacturer=0xd601, product=0x0010, : function_type=6) at function 0 : pccard0: CIS info: SMC, SMC2532W-B EliteConnect Wireless Adapter, , : : -------------------------- : : /sys/dev/pccard/pccarddevs: : The vendor id matches ELSA (0xd601) so I added an entry to the ELSA : products section: : "product ELSA XI330_IEEE 0x0010 XI330 Wireless LAN" : : After that I added "PCMCIA_CARD(ELSA, XI330_IEEE)," to : /sys/dev/wi/if_wi_pccard.c : : I also added to /etc/pccard.conf: : # SMC's SMC2532W-B EliteConnect Wireless Adapter : card "SMC" "SMC2532W-B EliteConnect Wireless Adapter" : config auto "wi" ? : insert /etc/pccard_ether $device start : remove /etc/pccard_ether $device stop : : I read something about running "make -f Makefile.pccarddevs" but when : I run it it can't find the makefile.... I need help, thanks. Putting it in pccarddevs does exactlty nothing, but is a necessary step. Likewise with /etc/pccard.conf, except it is completely ignored. You need to add it to src/sys/dev/wi/if_wi_pccard.c and send me a patch. Warner