Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2010 19:06:47 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/boot/common dev_net.c src/sys/boot/sparc64/loader Makefile
Message-ID:  <201001151907.o0FJ78ws005525@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2010-01-15 19:06:47 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/boot/common      dev_net.c 
    sys/boot/sparc64/loader Makefile 
  Log:
  SVN rev 202409 on 2010-01-15 19:06:47Z by marius
  
  MFC:  r201932
  
  - 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. Note that
    due to the fact that the part of r177108 which reverts r60506 and
    causes the open-close-dance on every file access as the remaining
    problems with powerpc should be sorted out first, in stable/7 the
    only difference in behavior between when NETIF_OPEN_CLOSE_ONCE is
    defined and not currently is that with that macro defined the
    network device is eventually closed before entering the kernel and
    before rebooting.
  - Define NETIF_OPEN_CLOSE_ONCE on sparc64 in order to not keep the
    network device opened forever, as at least with some firmware
    versions received packets are DMA'ed to stale memory otherwise.
  
  Revision   Changes    Path
  1.15.18.5  +33 -6     src/sys/boot/common/dev_net.c
  1.20.2.1   +5 -1      src/sys/boot/sparc64/loader/Makefile



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