Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2001 15:16:50 -0800 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Warner Losh <imp@harmony.village.org>, Mike Smith <msmith@FreeBSD.org>, John Reynolds <jjreynold@home.com>, mobile@FreeBSD.org, qa@FreeBSD.org
Subject:   Re: followup to problems with 4.3-RC1 for laptops
Message-ID:  <XFMail.010402151650.jhb@FreeBSD.org>
In-Reply-To: <20010402122034.V813@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02-Apr-01 Alfred Perlstein wrote:
> * John Baldwin <jhb@FreeBSD.org> [010402 11:34] wrote:
>> 
>> On 02-Apr-01 Alfred Perlstein wrote:
>> > Shouldn't the device be able to specify an all-or-nothing request?
>> > 
>> > Perhaps something that needs fast interrupts will cause much hair
>> > pulling if it doesn't get one becasue of latency issues messing up
>> > the hardware.  If the bus didn't grant a fast interrupt it could then
>> > declien to attach, perhaps spitting out a meaningful error message
>> > at the same time.
>> 
>> True, no need for an error message, but I suppose one could do something
>> like
>> this then:
> 
> Of course there's no need for an error message, everyone installing
> FreeBSD should be able to look at the kernel sources for his driver
> and figure out what's wrong with it.

If you get an error in attach(), you will return it back up the chain and
device_probe_and_attach() will output a message such as:

foo0: attach failed - returned 6

or some such.

> *gulps down another 2 sarcasm pills*

*thwap*

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message




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