From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 10:42:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C4D16A40F for ; Thu, 14 Sep 2006 10:42:34 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4C3543D66 for ; Thu, 14 Sep 2006 10:42:29 +0000 (GMT) (envelope-from wsk@gddsn.org.cn) Received: from [192.168.168.158] (unknown [192.168.168.158]) by gddsn.org.cn (Postfix) with ESMTP id 023FD38CB77 for ; Thu, 14 Sep 2006 18:42:26 +0800 (CST) Message-ID: <450931DC.3060601@gddsn.org.cn> Date: Thu, 14 Sep 2006 18:41:32 +0800 From: wsk User-Agent: Thunderbird 1.5.0.2 (X11/20060515) MIME-Version: 1.0 To: current@freebsd.org Content-Type: multipart/mixed; boundary="------------020309010900070400080408" X-Mailman-Approved-At: Thu, 14 Sep 2006 11:19:08 +0000 Cc: Subject: Re: pccard modem don't work] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 10:42:34 -0000 This is a multi-part message in MIME format. --------------020309010900070400080408 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------020309010900070400080408 Content-Type: message/rfc822; name="Re: pccard modem don't work" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: pccard modem don't work" Message-ID: <450931C0.80704@gddsn.org.cn> Date: Thu, 14 Sep 2006 18:41:04 +0800 From: wsk User-Agent: Thunderbird 1.5.0.2 (X11/20060515) MIME-Version: 1.0 To: John-Mark Gurney Subject: Re: pccard modem don't work References: <45060FC4.2090308@gddsn.org.cn> <20060913182356.GX9421@funkthat.com> <4508A8FD.3090106@gddsn.org.cn> <20060914034809.GZ9421@funkthat.com> In-Reply-To: <20060914034809.GZ9421@funkthat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit John-Mark Gurney wrote: > wsk wrote this message on Thu, Sep 14, 2006 at 08:57 +0800: > >> John-Mark Gurney wrote: >> >>> wsk wrote this message on Tue, Sep 12, 2006 at 09:39 +0800: >>> >>> >>>> on Aug 30' CURRENT i'm getting following err when i insert my pccard >>>> modem: >>>> >>>> pccard0:Allocation failed for cfe 13 >>>> sio4: at port 0x2f8-0x2ff irq 11 >>>> function 0 config 21 on pccard0 >>>> device_attach: sio4 attach returned -19 >>>> >>>> It seems sio didn't attach with error. >>>> any reply with appreciates >>>> > > Now if Warner or I had read closer the first time, then we'd realize > that -19 is an "impossible" return code for an error... and we'd of > looked closer at sio_pccard_attach, and realized that it can't handle > the valid negative values returned by sioprobe, and thinks it is an > error instead... > > The attached patch will fix your issue... I have gone ahead and > committed it... > > yup u r right.it works and thanks again :-) --------------020309010900070400080408--