freebsd-nq/sys
Marius Strobl ccb1921ee0 - 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 > 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.
2010-01-09 21:23:39 +00:00
..
amd64 Set md_ldt (pointer to the LDT) after md_ldt_sd (system segment 2010-01-09 11:28:01 +00:00
arm Merge from head at r201628. 2010-01-06 05:58:07 +00:00
boot - Add code allowing a network device to only be open and closed once 2010-01-09 21:23:39 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
cddl Re-apply onnv-gate revisions 7994 and 8986 (corresponds to FreeBSD 2010-01-07 20:10:22 +00:00
compat Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
conf Merge r201902 and r195669 from projects/mips into head by hand: 2010-01-09 17:21:36 +00:00
contrib Fix array overflow. 2010-01-08 19:56:37 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order 2010-01-08 15:44:49 +00:00
dev Extra parantheses to keep certain compilers happy. 2010-01-09 18:07:10 +00:00
fs Remove unused smbfs_smb_qpathinfo(). 2010-01-08 15:53:07 +00:00
gdb
geom Sync to r201658 on head. 2010-01-06 18:21:22 +00:00
gnu Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
i386 In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows 2010-01-08 18:57:31 +00:00
ia64 In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows 2010-01-08 18:57:31 +00:00
isa Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
kern Use enum to define key types. 2010-01-09 06:30:40 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern Merge from head at r201628. 2010-01-06 05:58:07 +00:00
mips Merge from projects/mips to head by hand: 2010-01-09 18:59:03 +00:00
modules After adding an SDT provider for opencrypto in r199884 we should also 2010-01-07 12:58:03 +00:00
net Stop GCC from complaining about lagg_port_checkstacking() being unused. 2010-01-08 16:44:33 +00:00
net80211 Fix #ifdefs so that GCC 4.4 doesn't complain about it. 2010-01-08 15:41:24 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Send link state change control messages to "orphans" hook as well. 2010-01-09 19:03:48 +00:00
netinet Ensure an address is removed from the interface address 2010-01-08 17:49:24 +00:00
netinet6 Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order 2010-01-08 15:44:49 +00:00
netipsec Enable IPcomp by default. 2009-11-29 20:47:43 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Reduce recursions on curvnet and thus spamming the console with warning 2010-01-09 14:56:38 +00:00
nfsserver Some style(9) fixes in order to fabricate a commit to denote that 2010-01-09 15:59:15 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows 2010-01-08 18:57:31 +00:00
pci Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
powerpc In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows 2010-01-08 18:57:31 +00:00
rpc Make options KGSSAPI build and add it to NOTES. 2010-01-08 23:26:10 +00:00
security Make mac_lomac(4) able to interpret NFSv4 access bits. 2010-01-03 17:19:14 +00:00
sparc64 In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows 2010-01-08 18:57:31 +00:00
sun4v In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows 2010-01-08 18:57:31 +00:00
sys Introduce the new kernel thread called "deadlock resolver". 2010-01-09 01:46:38 +00:00
teken MFC @199204 2009-11-12 00:36:22 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
vm Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00