Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 23:22:05 -0500
From:      "DAK GHATIKACHALAM" <dakfreebsd@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   card Allocation failure, what could be the reason
Message-ID:  <5df74baa0702222022m48042e62jdba83987fb4fbd9e@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
What could be the reason fo this issue

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

PCCARDDEVS definition are absolutely right.

on the detection of the card while booting the laptop  on the 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.

Do you have idea why  I am getting there errors


Thanks
Dak



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5df74baa0702222022m48042e62jdba83987fb4fbd9e>