Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2006 20:48:09 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        wsk <wsk@gddsn.org.cn>
Cc:        current@freebsd.org
Subject:   Re: pccard modem don't work
Message-ID:  <20060914034809.GZ9421@funkthat.com>
In-Reply-To: <4508A8FD.3090106@gddsn.org.cn>
References:  <45060FC4.2090308@gddsn.org.cn> <20060913182356.GX9421@funkthat.com> <4508A8FD.3090106@gddsn.org.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Bora Telecom Inc Bora 3600 Rev 1.1> 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060914034809.GZ9421>