Re: Adding new pccard device entries to FreeBSD 6, how?

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <[email protected]>
            Nikolas Britton <[email protected]> writes:
: ---------- Forwarded message ----------
: From: Nikolas Britton <[email protected]>
: Date: Oct 13, 2005 1:38 AM
: Subject: Adding new pccard device entries to FreeBSD 6, how?
: To: FreeBSD-questions <[email protected]>
: 
: 
: 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.