From owner-freebsd-questions@FreeBSD.ORG Fri Feb 23 04:22:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F21A316A403 for ; Fri, 23 Feb 2007 04:22:06 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id B2BD413C49D for ; Fri, 23 Feb 2007 04:22:06 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: by wr-out-0506.google.com with SMTP id 69so473187wra for ; Thu, 22 Feb 2007 20:22:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=EhvjPn4bgRiHopyHkCNiRijDGPZmjfpDmkjErWnTu6okwHC7GA5oRejgQBdJJ6i2e49ES8F6Z7qQ7KlC+9/ymIcgsFgFVF+ClBNpclxJryLgWsQFXGUlkLK17A/hIm7qcPRMPRnsmcLDjPcLYVqSzGHny/p7KbpVVYvojDMQnkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fws4sXenVLZ3PLhJaJ0VrbPgB6s0cFywZnPRcsT9C30+C9MAcd0zOzzNjLdbexMAyltKFAv3I/BKZowM2nha3vAeKuLZgHLJlGyuC6KusFqBGitPPO2vjVzePihuzof3Como1fNR5rske69IxpRRtnSjm8N+NOEoLA5zZqjRJd4= Received: by 10.114.75.1 with SMTP id x1mr669273waa.1172204525471; Thu, 22 Feb 2007 20:22:05 -0800 (PST) Received: by 10.114.157.16 with HTTP; Thu, 22 Feb 2007 20:22:05 -0800 (PST) Message-ID: <5df74baa0702222022m48042e62jdba83987fb4fbd9e@mail.gmail.com> Date: Thu, 22 Feb 2007 23:22:05 -0500 From: "DAK GHATIKACHALAM" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: card Allocation failure, what could be the reason X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 04:22:07 -0000 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