Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2005 09:02:59 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        nikolas.britton@gmail.com
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Adding new pccard device entries to FreeBSD 6, how?
Message-ID:  <20051014.090259.20016535.imp@bsdimp.com>
In-Reply-To: <ef10de9a0510131106v2e832599t2bf0e8f5e6a00a14@mail.gmail.com>
References:  <ef10de9a0510122338y6acec103i5ced244c73cb92fd@mail.gmail.com> <ef10de9a0510131106v2e832599t2bf0e8f5e6a00a14@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <ef10de9a0510131106v2e832599t2bf0e8f5e6a00a14@mail.gmail.com>
            Nikolas Britton <nikolas.britton@gmail.com> writes:
: ---------- Forwarded message ----------
: From: Nikolas Britton <nikolas.britton@gmail.com>
: Date: Oct 13, 2005 1:38 AM
: Subject: Adding new pccard device entries to FreeBSD 6, how?
: To: FreeBSD-questions <freebsd-questions@freebsd.org>
: 
: 
: 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: <RF5C475 PCI-CardBus Bridge> at device 2.0 on pci2
: cardbus0: <CardBus bus> on cbb0
: pccard0: <16-bit PCCard bus> on cbb0
: pccard0: <unknown card> (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



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