Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 11:40:41 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r192122 - in head/sys: amd64/conf i386/conf
Message-ID:  <200905181140.41534.jhb@freebsd.org>
In-Reply-To: <9bbcef730905151538w1d1dbd45oc44004115d6b5d66@mail.gmail.com>
References:  <200905142153.n4ELrZPE003481@svn.freebsd.org> <9bbcef730905151538w1d1dbd45oc44004115d6b5d66@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 15 May 2009 6:38:02 pm Ivan Voras wrote:
> 2009/5/14 John Baldwin <jhb@freebsd.org>:
> > Author: jhb
> > Date: Thu May 14 21:53:35 2009
> > New Revision: 192122
> > URL: http://svn.freebsd.org/changeset/base/192122
> >
> > Log:
> > =C2=A0Trim the default set of device hints on i386 and amd64:
> > =C2=A0- Remove vga0 and the disabled uart2/uart3 hints from both platfo=
rms.
> > =C2=A0- Remove hints for ISA adv0, bt0, aha0, aic0, ed0, cs0, sn0, ie0,=
 fe0,=20
and
> > =C2=A0 =C2=A0le0 from i386. =C2=A0All these hints were marked 'disabled=
' and thus already
> > =C2=A0 =C2=A0did not work "out of the box".
>=20
> > -hint.le.0.at=3D"isa"
> > -hint.le.0.disabled=3D"1"
> > -hint.le.0.port=3D"0x280"
> > -hint.le.0.irq=3D"10"
> > -hint.le.0.drq=3D"0"
>=20
> 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 H=
EAD=20
only that made hints always reserve unit numbers.  7.x has never had those=
=20
changes.  My earlier changes made network devices in 8.0 change from le0 to=
=20
le1 in certain VMs.  This commit now lets them use le0 as 7.x and earlier=20
releases do.  In fact, that was was the primary reason for this commit, to=
=20
avoid breaking POLA for 8.0.

=2D-=20
John Baldwin



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