Adding new pccard device entries to FreeBSD 6, how?
M. Warner Losh
imp at bsdimp.com
Fri Oct 14 08:03:04 PDT 2005
In message: <ef10de9a0510131106v2e832599t2bf0e8f5e6a00a14 at mail.gmail.com>
Nikolas Britton <nikolas.britton at gmail.com> writes:
: ---------- Forwarded message ----------
: From: Nikolas Britton <nikolas.britton at gmail.com>
: Date: Oct 13, 2005 1:38 AM
: Subject: Adding new pccard device entries to FreeBSD 6, how?
: To: FreeBSD-questions <freebsd-questions at 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
More information about the freebsd-mobile
mailing list