card Allocation failure, what could be the reason
DAK GHATIKACHALAM
dakfreebsd at gmail.com
Fri Feb 23 04:22:07 UTC 2007
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
More information about the freebsd-questions
mailing list