Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 1995 01:16:09 -0700
From:      David Greenman <davidg@Root.COM>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        gibbs@freefall.cdrom.com, fenner@parc.xerox.com, freebsd-bugs@FreeBSD.org
Subject:   Re: FTP install is *almost* there... 
Message-ID:  <199506060816.BAA00218@corbin.Root.COM>
In-Reply-To: Your message of "Tue, 06 Jun 95 14:20:29 %2B1000." <199506060420.OAA23067@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>>I thought it was '-1' in userconfig for auto-detect.
>
>>   Either one will work in if_ed; 0 means unspecified, and -1 means auto. I
>>said 0 only because I was uncertain if -1 would be accepted and parsed
>>correctly.
>
>Erm, 0 means the clock irq.  It would cause a probe conflict if the clock
>device was in the device tables.
>
>The driver sees (1 << irq_number), or 0 for none/unspecified/auto.

   Gack, you're right. Userconfig has brokeness in this area. Specifying -1
will result in shifting the bit all the way off the end, resulting in "0".
There is supposed to be a difference between 0 and -1. 0 is supposed to
mean "none" and -1 is supposed to mean "auto". Apparantly all the drivers
must treat 0 and -1 as the same.

-DG



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