Add CHANGES file for 2.0.1 tracking
Pull up revision 1.5 (requested by thorpej in ticket #897)

Enable the SmartSpeed work-around code for the IGP phy, with some
minor adjustments.
Pull up revision 1.2 (requested by thorpej in ticket #897)

Enable the SmartSpeed work-around code for the IGP phy, with some
minor adjustments.
Pull up revision 1.12 (requested by thorpej in ticket #897)

- Add some useful constants related to the Packet Buffer Allocation
  register.
- Add the Receive and Transmit Data FIFO registers.
Pull up revision 1.78 (requested by thorpej in ticket #897)

Work around another problem (that causes horrible performance) on the 82547:
- Change the Tx:Rx on-chip RAM allocation ratio based on MTU:
  => 82547: > 8192 18K:22K, else 10K:30K
  => others: > 8192 24K:40K, else 16K:48K
  Values derived from Linux driver.
- On the 82547, keep track of how much of the Tx FIFO has been used.
  When in half-duplex mode, don't let packets wrap around the FIFO ring
  buffer, because that causes the chip to croak.  Detect this, stall the
  Tx queue, use a timer to wait for the packets to drain from the Tx FIFO,
  reset the internal FIFO pointers, and restart the Tx queue.  Basic
  algorithm (and some magic numbers) derived from FreeBSD and Linux drivers.
Pull up revision 1.11 (requested by abs in ticket #973).

Fix Yukon ram sizing.
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.
Pull up revision 1.3 (requested by abs in ticket #973).

Fix Yukon ram sizing.
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.
Pull up revision 1.4 (requested by abs in ticket #973).

Fix Yukon ram sizing.
Fix tx queue (slist can be corrupted when tx interrupts hit within tx_encap.
Lower interrupt moderation timer to (improves performance).
Improve chip identification. (from linux sk98lin driver).
Keep tx queue running by kicking the tx bmu repeatedly.
Pull up revision 1.104 (requested by matt in ticket #985).

Make sure to do setenv/unsetenv in pairs.  This prevents panics in
DIAGNOSTIC kernel when crossing segment boundaries.
Pull up revision 1.78 (requested by wrstuden in ticket #951).

Now that we have ofwboot load at 0xe00000, it doesn't make sense for
this kernel to load at 0x800000 - move back to the default and we
have around 13 MB of space for the kernel.
Process tickets:
        #897 - performance issues with the i82547 Gig-E chip
	#973 - Make sk work on an asus A8V
	#985 - Prevent panics in DIAGNOSTIC kernels on powerpc
	#951 - finish pullups for macppc INSTALL
Pull up revision 1.157 (requested by martin in ticket #1013).

do the invalidation of the (virtually-addressed) L1 cache in pmap_remove_all()
(ie. just before we skip the per-page cache invalidations while tearing down
each context) instead of just before we recycle all the contexts in ctx_alloc().
the latter is not good enough since a (physically tagged) L1 cache line is
valid for all contexts, not just the one that was used to instantiate it.
fixes PRs 24126, 25669 and 27730.
Pull up revision 1.158 (requested by martin in ticket #1014).

Better return value checking for pseg_get/pseg_set. Turn Debugger() calls
into proper panics and sprinkle some KASSERTs. Closes PR 27288.
Pull up revision 1.6 (requested by martin in ticket #1020).

Replace the stack unwinding by a much simpler solution taken from
../../arch/sparc/gen/_setjmp.S rev. 1.6. This ended up to be ~identical
to the OpenBSD change triggered by the same sparc change.
Thanks to Stoned Elipot for pointing out the problem.
Pull up revision 1.3 (requested by hira in ticket #1029).

Use correct stack offsets after pushing values onto it.
Process tickets:
        #1013 - sparc64 pmap fixes
	#1014 - sparc64 pmap fixes
	#1020 - Fix setjmp on sparc64
        #1029 - make swapcontext work on amd64
Pull up revision 1.23 (requested by dyoung in ticket #1030).

As pointed out by Greg Troxel, ifmedia_entrys were allocated with
malloc_type M_IFADDR and freed with malloc_type M_DEVBUF.  This
causes a panic(9) in DIAGNOSTIC kernels.  Add malloc_type M_IFMEDIA
and use it for both malloc'ing and free'ing ifmedia_entrys.
Pull up revision 1.7 (requested by tls in ticket #1043).

HYPERVISOR_yield is one of the hypervisor calls that's "overloaded"; it
does different things depending what's in %ebx.

We weren't setting %ebx here *at all*; so we did not get SCHEDOP_yield,
which was what was wanted; so unpredictable things happened, notably
immediate return to the NetBSD idle loop, in other words spinning on CPU.
Definitely not cool!

Michael Kukat caught this one and suggested this fix on port-xen.
Pull up revision 1.11 (requested by tls in ticket #1045).

Terminate the domain on RB_HALT, not just on reboot.  This avoids looping
around a cngetc() that will never return while "halted", which is rude,
and which also requires domain 0 to not just restart us, but kill us
first.  Suggestion from Michael Kukat (though this change is not the
same as the one he suggested).

Will cngetc() actually return something when running in domain 0 with a
VGA console?  I don't think it will; if it actually does, we should make
this behaviour depend on whether we're in domain 0 or some other domain.
Process tickets:
	#1030 - prevent panics on DIAGNOSTIC kernels
	#1043 - xen fixes for idle state
	#1045 - xen fixes for halt