Date: Thu, 22 Feb 2007 23:16:23 -0700 From: "Coleman Kane" <zombyfork@gmail.com> To: "DAK GHATIKACHALAM" <dakfreebsd@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Wireless card not being detected Message-ID: <346a80220702222216w560745dbw97f12e2da94fe698@mail.gmail.com> In-Reply-To: <5df74baa0702222013w31a4ea16q6b7fe248f6c47f53@mail.gmail.com> References: <5df74baa0702181756o24be57c5r660bfb5f70db1194@mail.gmail.com> <346a80220702211957t691bc8e9y2bde48bc0d1d0d32@mail.gmail.com> <5df74baa0702222013w31a4ea16q6b7fe248f6c47f53@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 2/22/07, DAK GHATIKACHALAM <dakfreebsd@gmail.com> wrote:
>
> On 2/21/07, Coleman Kane <zombyfork@gmail.com> wrote:
> >
> > On 2/18/07, DAK GHATIKACHALAM <dakfreebsd@gmail.com> wrote:
> >
> > > Hi Freebsd
> > >
> > >
> > > I have an issue with new card I need to make it work with freebsd,
> > >
> > >
> > > on /var/log/messages I get
> > >
> > >
> > > Feb 18 20:51:55 DAK kernel: pccard0: <unknown card>
> > > (manufacturer=0x0192,
> > > produc
> > > t=0x0710, function_type=6) at function 0
> > > Feb 18 20:51:55 DAK kernel: pccard0: CIS info: Sierra Wireless,
> > > AC860, 3G
> > > Net
> > > work Adapter, R1
> > >
> > >
> > > For some reason I dont understand why I get unknown card error
> > >
> > > Does any one has idea
> > >
> > >
> > > Thanks
> > > Dak
> >
> >
> >
> > This is a 3G wireless card (not Wi-Fi)... apparently it is supposed to
> be
> > supported by the uart or sio drivers. You should try searching google
> for:
> > freebsd "sierra wireless" AC860
> >
> > There are apparently some sort of changes to the kernel that need to be
> > made.
> >
>
> Thanks a lot for your input.
>
> Yes I have made changes to /usr/src/sys/dev/pccard/pccard_quirks.c file
> added a static struct
>
> static struct pccard_function pccard_sierra_860_func0 = {
> 6, /* function number */
> PCCARD_FUNCTION_SERIAL,
> 0x0006, /* last cfe number */
> 0x00, /* ccr_base */
> 0x07, /* ccr_mask */
> };
>
> static struct pccard_config_entry pccard_sierra_860_func0_cfe0 = {
> 0x0006, /* cfe number */
> PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL,
> PCCARD_IFTYPE_IO,
> 1, /* num_iospace */
> 3, /* iomask */
> { { 0x3e8 , 0x3ee } }, /* iospace */
> 0x3fbc, /* irqmask */
> 0, /* num_memspace */
> { }, /* memspace */
> 0, /* maxtwins */
> };
>
> and as well /usr/src/sys/dev/pccard/pccarddevs file
>
> vendor SIERRA 0x0192 Sierra Wireless
> /* Sierra Wireless */
> product SIERRA WIRELESS 0x0710 Sierra Wireless Card
>
> I added these the pccard device driver detects my card but
>
> on the detection of the card while booting the laptop on tI get he
> console
> I get
>
> Feb 22 22:51:12 DAK kernel: pccard0: Allocation failed for cfe 6
> Feb 22 22:51:12 DAK kernel: pccard0: No config entry could be allocated.
>
> errors
> Do you have idea why I am getting there errors
>
>
> Thanks
> Dak
>
>
> --
> > Coleman
> >
> >
> >
It's been awhile for me and debugging cardbus/pcmcia devices. Maybe try
changing the CFE number is the second struct to any of 0,1,2,3,4,5 ?
--coleman
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?346a80220702222216w560745dbw97f12e2da94fe698>
