From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 03:48:14 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 7278516A5EF for ; Thu, 14 Sep 2006 03:48:14 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA43243D49 for ; Thu, 14 Sep 2006 03:48:13 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (dy9qnj6a5ls1b2pt@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k8E3mB5r086335; Wed, 13 Sep 2006 20:48:12 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k8E3m9Qa086334; Wed, 13 Sep 2006 20:48:09 -0700 (PDT) (envelope-from jmg) Date: Wed, 13 Sep 2006 20:48:09 -0700 From: John-Mark Gurney To: wsk Message-ID: <20060914034809.GZ9421@funkthat.com> Mail-Followup-To: wsk , current@freebsd.org References: <45060FC4.2090308@gddsn.org.cn> <20060913182356.GX9421@funkthat.com> <4508A8FD.3090106@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4508A8FD.3090106@gddsn.org.cn> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: current@freebsd.org Subject: Re: pccard modem don't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney 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 03:48:14 -0000 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... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."