<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/boot/common/dev_net.c, branch release/8.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-02-16T16:18:46Z</updated>
<entry>
<title>Copy releng/8.2 to release/8.2.0 for 8.2-RELEASE.</title>
<updated>2011-02-16T16:18:46Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2011-02-16T16:18:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dec99dafe5763ba1db6950342aa80a634169c083'/>
<id>urn:sha1:dec99dafe5763ba1db6950342aa80a634169c083</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 8.2-RELEASE image.
</content>
</entry>
<entry>
<title>MFC: r201932</title>
<updated>2010-01-15T19:06:33Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-01-15T19:06:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=455564ab5cbeb45bf04d8b6f1852de1c956bba9e'/>
<id>urn:sha1:455564ab5cbeb45bf04d8b6f1852de1c956bba9e</id>
<content type='text'>
- Add code allowing a network device to only be open and closed once
  by keeping it opened after the first open and closing it via the
  cleanup handler when NETIF_OPEN_CLOSE_ONCE is defined in order to
  avoid the open-close-dance on every file access which with firmware
  that for example performs an auto-negotiation on every open causes
  netbooting to take horribly long. Basically the behavior with this
  knob enabled resembles the one employed between r60506 and r177108
  (and for sparc64 also again since r182919) with the addition that
  the network device now is closed eventually before entering the
  kernel and before rebooting. Actually I think this should be the
  desired MI behavior, however the U-Boot loader actually requires
  net_close() to be called after every transaction in order for some
  local shutdown operations to be performed (and which I think thus
  will break on concurrent opens, i.e. when netdev_opens is &gt; 1, like
  the loader does at least for disks when LOADER_GZIP_SUPPORT is
  enabled).
- Use NETIF_OPEN_CLOSE_ONCE to replace the hack, which artificially
  increased netdev_opens for sparc64 in order to keep the network
  device opened forever, as at least some firmware versions require
  the network device to be closed eventually before entering the
  kernel or otherwise will DMA received packets to stale memory.
  The powerpc OFW loader probably wants NETIF_OPEN_CLOSE_ONCE to be
  set as well for the same reasons.
</content>
</entry>
<entry>
<title>MFC: r201901</title>
<updated>2010-01-15T16:57:49Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-01-15T16:57:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1a6cae7f37c634fdcd4264ec03b4fdac05b11bf5'/>
<id>urn:sha1:1a6cae7f37c634fdcd4264ec03b4fdac05b11bf5</id>
<content type='text'>
Remove clause 3 and 4 from TNF licenses (this was the only 4-clause TNF
license FreeBSD had in sys/boot).

Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>MFC: r200945</title>
<updated>2010-01-15T15:27:17Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-01-15T15:27:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e6af3b7bb837cf418226de51649d5158ec656131'/>
<id>urn:sha1:e6af3b7bb837cf418226de51649d5158ec656131</id>
<content type='text'>
- Consistently wrap debugging in NETIF_DEBUG. This basically merges
  NetBSD rev 1.19.
- Make the functions match their prototypes regarding static.
</content>
</entry>
<entry>
<title>Revert r177108 and restore r60506 for sparc64 as long as libstand</title>
<updated>2008-09-10T20:53:22Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2008-09-10T20:53:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4028a367264de6838b3e344c09a03f233b66a187'/>
<id>urn:sha1:4028a367264de6838b3e344c09a03f233b66a187</id>
<content type='text'>
isn't fixed to only open the network device once and not do a open
and close dance on every file access; the firmwares of newer sparc64
machines perform an auto-negotiation with every open which in turn
causes netbooting to take horribly long if we open and close the
device over and over again.
</content>
</entry>
<entry>
<title>Show info about net devices in loader's 'lsdev' command. While there fix style.</title>
<updated>2008-09-03T17:41:44Z</updated>
<author>
<name>Rafal Jaworowski</name>
<email>raj@FreeBSD.org</email>
</author>
<published>2008-09-03T17:41:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=387a29b78d340eb1861c1ed93f40d4ed7aa4896e'/>
<id>urn:sha1:387a29b78d340eb1861c1ed93f40d4ed7aa4896e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Eliminate artificial increasing of 'netdev_opens' counter in loader's net_open().</title>
<updated>2008-03-12T16:01:34Z</updated>
<author>
<name>Rafal Jaworowski</name>
<email>raj@FreeBSD.org</email>
</author>
<published>2008-03-12T16:01:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7572ed5a08c334bc4670245fa6781a2b63ccef08'/>
<id>urn:sha1:7572ed5a08c334bc4670245fa6781a2b63ccef08</id>
<content type='text'>
This was introduced as a workaround long time ago for some Alpha firmware
(which is now gone), and actually prevented net_close() to ever be
called.

Certain firmwares (U-Boot) need local shutdown operations to be performed on a
network controller upon transaction end: such platform-specific hooks are
supposed to be called via netif_close() (from within net_close()).

This change effectively reverts the following CVS commit:

    sys/boot/common/dev_net.c

    revision 1.7
    date: 2000/05/13 15:40:46;  author: dfr;  state: Exp;  lines: +2 -1
    Only probe network settings on the first open of the network device.
    The alpha firmware takes a seriously long time to open the network device
    the first time.

Also suppress excessive output while netbooting via loader, unless debugging.

While there, make sys/boot/uboot more style(9) compliant.

Reviewed by:	imp
Approved by:	cognet (mentor)
</content>
</entry>
<entry>
<title>Change the following environment variables to kernel options:</title>
<updated>2004-07-08T22:35:36Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2004-07-08T22:35:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0ac4013324da9417b9594c31bed81ad45f4d229e'/>
<id>urn:sha1:0ac4013324da9417b9594c31bed81ad45f4d229e</id>
<content type='text'>
    bootp -&gt; BOOTP
    bootp.nfsroot -&gt; BOOTP_NFSROOT
    bootp.nfsv3 -&gt; BOOTP_NFSV3
    bootp.compat -&gt; BOOTP_COMPAT
    bootp.wired_to -&gt; BOOTP_WIRED_TO

- i.e. back out the previous commit.  It's already possible to
pxeboot(8) with a GENERIC kernel.

Pointed out by: dwmalone
</content>
</entry>
<entry>
<title>Change the following kernel options to environment variables:</title>
<updated>2004-07-08T13:40:33Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2004-07-08T13:40:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=59e1ebc9b560e3cadb9ef32eafa3ead5282cdac6'/>
<id>urn:sha1:59e1ebc9b560e3cadb9ef32eafa3ead5282cdac6</id>
<content type='text'>
    BOOTP -&gt; bootp
    BOOTP_NFSROOT -&gt; bootp.nfsroot
    BOOTP_NFSV3 -&gt; bootp.nfsv3
    BOOTP_COMPAT -&gt; bootp.compat
    BOOTP_WIRED_TO -&gt; bootp.wired_to

This lets you PXE boot with a GENERIC kernel by putting this sort of thing
in loader.conf:

    bootp="YES"
    bootp.nfsroot="YES"
    bootp.nfsv3="YES"
    bootp.wired_to="bge1"

or even setting the variables manually from the OK prompt.
</content>
</entry>
<entry>
<title>Override the root server address if an IP address is specified in</title>
<updated>2003-11-03T19:45:05Z</updated>
<author>
<name>Ian Dowse</name>
<email>iedowse@FreeBSD.org</email>
</author>
<published>2003-11-03T19:45:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a69c45087c89cebdfd99f8c6a6694e78560135ba'/>
<id>urn:sha1:a69c45087c89cebdfd99f8c6a6694e78560135ba</id>
<content type='text'>
the root path. This is reported to make non-PXE netbooting, such as
is used on sparc64 systems, work correctly when the TFTP server is
not the same as the root server.

PR:		kern/57328
Submitted by:	Per Kristian Hove &lt;Per.Hove@math.ntnu.no&gt;
</content>
</entry>
</feed>
