svn commit: r192122 - in head/sys: amd64/conf i386/conf

John Baldwin jhb at freebsd.org
Mon May 18 17:07:42 UTC 2009


On Friday 15 May 2009 6:38:02 pm Ivan Voras wrote:
> 2009/5/14 John Baldwin <jhb at freebsd.org>:
> > Author: jhb
> > Date: Thu May 14 21:53:35 2009
> > New Revision: 192122
> > URL: http://svn.freebsd.org/changeset/base/192122
> >
> > Log:
> >  Trim the default set of device hints on i386 and amd64:
> >  - Remove vga0 and the disabled uart2/uart3 hints from both platforms.
> >  - Remove hints for ISA adv0, bt0, aha0, aic0, ed0, cs0, sn0, ie0, fe0, 
and
> >    le0 from i386.  All these hints were marked 'disabled' and thus already
> >    did not work "out of the box".
> 
> > -hint.le.0.at="isa"
> > -hint.le.0.disabled="1"
> > -hint.le.0.port="0x280"
> > -hint.le.0.irq="10"
> > -hint.le.0.drq="0"
> 
> Heh, this will again change the behaviour under virtualization hosts
> that emulate this hardware. Sometime before 7.0 the addition of this
> hint caused all leX devices to be renamed le(X+1) because le0 was
> taken and disabled. Restoring this will cause the same thing in
> reverse. Unless someone actually has this hardware (as opposed to its
> emulation) and needs the hint for something, I'd suggest these
> particular lines be removed before 8.0 to restore the original
> behaviour quickly. Obviously, they cannot be MFC-ed to 7-STABLE

Err, I think you are confused.  I made changes back at the end of 2008 to HEAD 
only that made hints always reserve unit numbers.  7.x has never had those 
changes.  My earlier changes made network devices in 8.0 change from le0 to 
le1 in certain VMs.  This commit now lets them use le0 as 7.x and earlier 
releases do.  In fact, that was was the primary reason for this commit, to 
avoid breaking POLA for 8.0.

-- 
John Baldwin


More information about the svn-src-all mailing list