Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/smc83c170.c
RevisionDateAuthorComments
 1.99  07-Sep-2024  andvar spelling and grammar fixes, mainly in comments.
 1.98  29-Jun-2024  riastradh if_stats(9): Add ifp argument to if_stat..._ref.

This will enable us to pass the ifp through to a dtrace probe inside.

No functional change intended in this change, but this is an API
change visible to modules so it shouldn't be pulled up.

PR kern/58377
 1.97  10-Feb-2024  andvar s/alloted/allotted/ in comments.
 1.96  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.95  15-Mar-2020  thorpej Don't bother with IFF_OACTIVE.
 1.94  12-Mar-2020  thorpej Add support for MBUFTRACE.
 1.93  07-Feb-2020  thorpej Use callout_setfunc() / callout_schedule().
 1.92  30-Jan-2020  thorpej Adopt <net/if_stats.h>.
 1.91  22-Jan-2020  thorpej Static'ify.
 1.90  28-May-2019  msaitoh branches: 1.90.4;
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
 1.89  23-May-2019  msaitoh Whitespace fix (mainly tabify).
 1.88  23-May-2019  msaitoh No functional change:
- Simplify MII structure initialization and reference.
- u_int*_t -> uint*_t.
- KNF
 1.87  22-Jan-2019  msaitoh Change MII PHY read/write API from:

int (*mii_readreg_t)(device_t, int, int);
void (*mii_writereg_t)(device_t, int, int, int);
to:

int (*mii_readreg_t)(device_t, int, int, uint16_t *);
int (*mii_writereg_t)(device_t, int, int, uint16_t);

Now we can test if a read/write operation failed or not by the return value.

In 802.3 spec says that the PHY shall not respond to read/write transaction
to the unimplemented register(22.2.4.3). Detecting timeout can be used to
check whether a register is implemented or not (if the register conforms to
the spec). ukphy(4) can be used this for MII_MMDACR and MII_MMDAADR.

Note that I noticed that the following code do infinite loop in the
read/wirte function. If it accesses unimplemented PHY register, it will hang.
It should be fixed:

arm/at91/at91emac.c
arm/ep93xx/epe.c
arm/omap/omapl1x_emac.c
mips/ralink/ralink_eth.c
arch/powerpc/booke/dev/pq3etsec.c(read)
dev/cadence/if_cemac.c <- hkenken
dev/ic/lan9118.c


Tested with the following device:

axe+ukphy
axe+rgephy
axen+rgephy (tested by Andrius V)
wm+atphy
wm+ukphy
wm+igphy
wm+ihphy
wm+makphy
sk+makphy
sk+brgphy
sk+gentbi
msk+makphy
sip+icsphy
sip+ukphy
re+rgephy
bge+brgphy
bnx+brgphy
gsip+gphyter
rtk+rlphy
fxp+inphy (tested by Andrius V)
tlp+acphy
ex+exphy
epic+qsphy
vge+ciphy (tested by Andrius V)
vr+ukphy (tested by Andrius V)
vte+ukphy (tested by Andrius V)

Not tested (MAC):
arm:at91emac
arm:cemac
arm:epe
arm:geminigmac
arm:enet
arm:cpsw
arm:emac(omac)
arm:emac(sunxi)
arm:npe
evbppc:temac
macppc:bm
macppc:gm
mips:aumac
mips:ae
mips:cnmac
mips:reth
mips:sbmac
playstation2:smap
powerpc:tsec
powerpc:emac(ibm4xx)
sgimips:mec
sparc:be
sf
ne(ax88190, dl10019)
awge
ep
gem
hme
smsh
mtd
sm
age
alc
ale
bce
cas
et
jme
lii
nfe
pcn
ste
stge
tl
xi
aue
mue
smsc
udav
url

Not tested (PHY):
amhphy
bmtphy
dmphy
etphy
glxtphy
ikphy
iophy
lxtphy
nsphyter
pnaphy
rdcphy
sqphy
tlphy
tqphy
urlphy
 1.86  26-Jun-2018  msaitoh branches: 1.86.2;
Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.
 1.85  20-Feb-2017  ozaki-r branches: 1.85.12;
Apply deferred if_start to more drivers
 1.84  15-Dec-2016  ozaki-r branches: 1.84.2;
Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input

The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
- Where/When if_ipackets is counted up
- Note that some drivers still update packet statistics in their own
way (periodical update)
- Moved bpf_mtap run in softint
- This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net
 1.83  10-Jun-2016  ozaki-r branches: 1.83.2;
Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.
 1.82  09-Feb-2016  ozaki-r Introduce softint-based if_input

This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.

This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.

To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.

Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html

Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!
 1.81  22-Jul-2012  matt branches: 1.81.2; 1.81.16;
Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes
problem with a common MDIO bus used for multiple interfaces.
Some drivers converted to CFATTACL_DECL_NEW.
 1.80  13-Nov-2010  uebayasi branches: 1.80.8;
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.79  05-Apr-2010  joerg Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.
 1.78  19-Jan-2010  pooka branches: 1.78.2; 1.78.4;
Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client. This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached. However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff. ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
 1.77  03-Sep-2009  tsutsui Replace shutdownhook_establish(9) with pmf_device_register1().
Tested EtherPower II 10/100 (SMC9432TX) on macppc.
 1.76  06-Jul-2008  tsutsui Split device_t/softc with misc cosmetic changes.
 1.75  04-May-2008  xtraeme branches: 1.75.2; 1.75.4;
mii_dev is a device_t now.
 1.74  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.73  08-Apr-2008  cegger branches: 1.73.2; 1.73.4;
use aprint_*_dev and device_xname
 1.72  12-Mar-2008  dyoung epic_stop: clear IFF_RUNNING before disabling.
 1.71  19-Jan-2008  dyoung branches: 1.71.2; 1.71.6;
Make many ethernet drivers share the common code for MII media
handling, ether_mediastatus() and ether_mediachange(). Check for
a non-ENXIO error return from mii_mediachg(). (ENXIO indicates
that a PHY is suspended.)

This patch shrinks the source code size by 979 lines. There was
a 5100-byte savings on the NetBSD/i386 kernel configuration, ALL.

I have made a few miscellaneous changes, too:

gem(4): use LIST_EMPTY(), LIST_FOREACH().
mtd(4): handle media ioctls, for a change!
axe(4): do not track link status in sc->axe_link any longer
nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs
on a change of media

Except for the change to mtd(4), no functional changes are intended.

XXX This patch affects more architectures than I can feasibly
XXX compile and run. I have compiled macppc, sparc64, i386. I
XXX have run the patches on i386 boxen with bnx(4) and sip(4).
XXX Compiling and running on evbmips (MERAKI, ADM5120) is in
XXX progress.
 1.70  30-Dec-2007  dyoung Cosmetic: remark that EPIC may deserve one or two custom PHY drivers.
Change a !(bittest) to (bittest) == 0.
 1.69  29-Dec-2007  dyoung Use LIST_EMPTY(), LIST_FOREACH().
 1.68  29-Dec-2007  tsutsui Fix typo in comments.
 1.67  19-Oct-2007  ad branches: 1.67.2; 1.67.8;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.66  27-Aug-2007  dyoung branches: 1.66.2; 1.66.6;
Constify: use CLLADDR() instead of LLADDR() wherever possible.
 1.65  09-Jul-2007  ad branches: 1.65.2; 1.65.6;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.64  04-Mar-2007  christos branches: 1.64.2; 1.64.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.63  16-Apr-2006  tsutsui branches: 1.63.14;
u_intNN_t -> uintNN_t
 1.62  16-Apr-2006  tsutsui Use __arraycount().
 1.61  16-Apr-2006  tsutsui i >= 0 can never be false if i is u_int. Noticed by OpenBSD.
 1.60  11-Dec-2005  christos branches: 1.60.4; 1.60.6; 1.60.8; 1.60.10; 1.60.12;
merge ktrace-lwp.
 1.59  27-Feb-2005  perry branches: 1.59.4;
nuke trailing whitespace
 1.58  04-Feb-2005  perry de-__P
 1.57  30-Jan-2005  thorpej Eliminate use of M_HASFCS.
 1.56  30-Oct-2004  thorpej branches: 1.56.4; 1.56.6;
When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.
 1.55  08-Nov-2003  tsutsui branches: 1.55.4;
Define all members in TX/RX DMA descriptors as u_int32_t and use proper shift
and mask ops since smc83c170 chips access them in 32bit width with proper
byteswap mechanism, so that all #if BYTE_ORDER in descriptors can be removed.
While here, do some slight optimizations in epic_start() and epic_intr().
 1.54  02-Nov-2003  wiz Fix some typos. From Tom Cosgrove via jmc@openbsd.
 1.53  31-Jan-2003  thorpej branches: 1.53.2;
Use aprint_*().
 1.52  13-Jan-2003  bouyer For short (< ETHER_MIN_LEN) packets, supply a zero'd buffer for the extra
bytes to make sure the chip won't send random data.
 1.51  07-Nov-2002  thorpej Fix signed/unsigned comparison warnings.
 1.50  22-Oct-2002  fair Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK
so that it is possible select PHY instances other than the first
one (instance zero), if there is more than one PHY attached.
 1.49  13-Nov-2001  lukem branches: 1.49.10;
add/cleanup RCSID
 1.48  23-Jul-2001  thorpej Make sure to initialize the all Rx descriptors properly in *_init()
even if mbufs for them are already allocated.
 1.47  19-Jul-2001  thorpej Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.
 1.46  07-Jul-2001  thorpej branches: 1.46.2;
bcmp -> memcmp
 1.45  12-Jun-2001  thorpej Don't need INET or NS includes here.
 1.44  17-May-2001  drochner increase the delay after PHY reset - it seems that mii register accesses
can fail if attempted too soon after reset
 1.43  17-May-2001  drochner support BNC interfaces (serial mode) as on the SMC9432BTX and 100FX
on the SMC9432FTX
 1.42  15-Mar-2001  tsutsui Fix tyop in comments.
 1.41  19-Dec-2000  thorpej branches: 1.41.2;
Fix a problem with the ALTQ changes that can cause bogus memory
refernces. Problem reported by Luke Mewburn.
 1.40  14-Dec-2000  thorpej ALTQ'ify.
 1.39  15-Nov-2000  thorpej Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
 1.38  14-Nov-2000  thorpej NBPG -> PAGE_SIZE
 1.37  08-Nov-2000  thorpej One more fix to multicast hash computation. Submitter confirms that
with this fix, multicast does indeed work properly on the EPIC.

From Zdenek Salvet <salvet@ics.muni.cz>.
 1.36  18-Oct-2000  bouyer Looks like frame size isn't checked; just say we can do VLAN MTU.
Tested with a SMC9432TX.
 1.35  15-Oct-2000  thorpej Don't trim off the FCS, pass it up.
 1.34  11-Oct-2000  thorpej Use ether_ioctl().
 1.33  01-Oct-2000  thorpej Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
 1.32  26-May-2000  tsutsui branches: 1.32.4;
Don't use bcopy() to copy u_int16_t data to u_int8_t array.
 1.31  12-May-2000  thorpej Oops! We actually want the *lower* 6 bits of the crc32 of the multicast
address to generate the multicast filter bit index, not the upper 6.

Should address kern/8268.
 1.30  12-May-2000  thorpej Use ether_crc32_le().
 1.29  23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.28  06-Mar-2000  thorpej No longer necessary to futz with ifp->if_baudrate here.
 1.27  06-Mar-2000  enami Remove redundant assignment.
 1.26  08-Feb-2000  thorpej Don't rely on the receive descriptor's BCAST/MCAST status bits. Test the
Ethernet destination address to see if it's multicast.
 1.25  02-Feb-2000  thorpej Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
flags down from the parent to child vi mii_attach().
 1.24  02-Feb-2000  thorpej Bring some order to the chaos which was the MII code function naming
"conventions".
 1.23  12-Nov-1999  thorpej Call mii_down() as appropriate.
 1.22  04-Nov-1999  thorpej Adapt to mii_phy_probe() change.
 1.21  27-Aug-1999  thorpej branches: 1.21.2; 1.21.4; 1.21.8;
- Include the RXE (receive error) interrupt in the interrupt enable mask,
and consider it to be like an RCC (receive copy complete). The RCC
code path has always checked for bad received packets.
- Trim the CRC length off the recived packet length; the EPIC/100 always
includes the CRC in the packet.
- Improve fatal error reporting.
 1.20  25-Aug-1999  thorpej When padding short packets on transmit, don't include the CRC length
in the computation. kern/8194.
 1.19  03-Aug-1999  thorpej Be a little nicer about memory usage:
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() it changed to handle compressing clusters.
 1.18  27-Jul-1999  thorpej Make this "should work" on big endian systems.
 1.17  18-Jun-1999  thorpej Fix that ANNOYING transmit timeout bug, caused by an unfortunate interaction
between a bug in the receive path (buffer length used instead of actual
received frame length) and the ARP code not correctly setting the length
of the reused mbuf, which all told caused the transmit logic in the chip
to wedge.

Also, make sure to count received packets.

Found and fixed by Zdenek Salvet <salvet@ics.muni.cz>, PR #7809.
 1.16  18-May-1999  thorpej Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
 1.15  25-Mar-1999  thorpej branches: 1.15.2; 1.15.4; 1.15.6;
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves. Fix a bug where packets wouldn't be padded to the correct
minimum length.
 1.14  18-Feb-1999  thorpej Fix the code in epic_attach() that frees resources when the attach fails.
 1.13  18-Feb-1999  thorpej Only do the multicast filter bug work-around if in 10Mbps mode. Also,
don't reset the interface if the multicast list changes. Just reprogram
the multicast hash table.
 1.12  17-Feb-1999  thorpej Change a straggling splimp -> splnet.
 1.11  13-Feb-1999  thorpej Make sure full-duplex is reflected in TXCON, and don't reset the interface
when the media changes.
 1.10  12-Feb-1999  thorpej Cleanup of the EPIC/100 driver I did while hacking on the Rhine driver:
* Macroize hardware and software descriptor access (much easier to read).
* Simplify and optimize the transmit loop a bit, and use IFF_OACTIVE as
appropriate.
* Fix a potential race condition in the transmit loop. This change has
made the driver significantly more stable (almost completely eliminated
the "device timeout" errors that have plagued this driver).
* Implement transmit interrupt pacing.
* Add missing bus_dmamap_sync() calls (on transmit and receive descriptors
and fraglists). (Draining the write buffer when accessing these structures
may have also contributed to the increased stability of this driver on
the Alpha.)
 1.9  05-Oct-1998  thorpej branches: 1.9.4;
In epic_init(), attempt to start output on the interface once the interface
is initialized.
 1.8  11-Aug-1998  thorpej Adapt to new MII code.
 1.7  08-Aug-1998  mycroft Use splnet, not splimp.
 1.6  23-Jul-1998  thorpej Slight variation on last; be a bit more zealous about fixing up the
clock source. Now, when my EtherPower II locks up, it eventually recovers!

(Geez, I'd like to know why it does this, and only apparently in 10mb/s mode).
 1.5  20-Jul-1998  thorpej Write the CLOCK TEST bit *at least 16 consecutive times* during initialization,
as the clock source will be set incorrectly otherwise! From SMC Application
Note 7-15. Thanks to Christoph Badura for the pointer!
 1.4  20-Jul-1998  thorpej The mystery bit in the TEST register is actually the CLOCK TEST bit.
 1.3  05-Jul-1998  jonathan defopt NS, NSIP.
 1.2  05-Jul-1998  jonathan defopt INET, NETATALK.
 1.1  02-Jun-1998  thorpej Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon. This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode. This bug will be fixed in a more sane
way once the media control issues are dealt with.
 1.9.4.1  11-Dec-1998  kenh The beginnings of interface detach support. Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.
 1.15.6.1  30-Nov-1999  itojun bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code). Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.
 1.15.4.2  02-Aug-1999  thorpej Update from trunk.
 1.15.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.15.2.3  22-May-2000  he Pull up revision 1.31 (via patch, requested by thorpej):
Use the lower bits of the crc32 for the multicast address filter,
not the upper bits. Fixes PR#8268.
 1.15.2.2  08-Feb-2000  he Pull up revision 1.26 (via patch, requested by thorpej):
Don't rely on the receive descriptor's BCAST/MCAST status bits.
Instead, test the Ethernet destination address to see if it's
multicast.
 1.15.2.1  18-Jun-1999  perry apply patch from thorpej, fixes transmit timeout bug
 1.21.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.21.4.1  15-Nov-1999  fvdl Sync with -current
 1.21.2.4  27-Mar-2001  bouyer Sync with HEAD.
 1.21.2.3  05-Jan-2001  bouyer Sync with HEAD
 1.21.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.21.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.32.4.2  31-Dec-2000  jhawk Pull up revision 1.36 (requested by bouyer):
Add support for 802.1Q virtual LANs.
 1.32.4.1  09-Nov-2000  tv Pullup 1.37 [thorpej]:
One more fix to multicast hash computation. Submitter confirms that
with this fix, multicast does indeed work properly on the EPIC.

From Zdenek Salvet <salvet@ics.muni.cz>.
 1.41.2.6  15-Jan-2003  thorpej Sync with HEAD.
 1.41.2.5  11-Nov-2002  nathanw Catch up to -current
 1.41.2.4  14-Nov-2001  nathanw Catch up to -current.
 1.41.2.3  24-Aug-2001  nathanw Catch up with -current.
 1.41.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.41.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.46.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.46.2.1  03-Aug-2001  lukem update to -current
 1.49.10.1  26-Jan-2003  he Pull up revision 1.52 (requested by bouyer in ticket #1083):
For short (< ETHER_MIN_LEN) packets, supply a zeroed buffer
for the extra bytes to make sure the chip doesn't send
random data.
 1.53.2.6  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.53.2.5  04-Feb-2005  skrll Sync with HEAD.
 1.53.2.4  02-Nov-2004  skrll Sync with HEAD.
 1.53.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.53.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.53.2.1  03-Aug-2004  skrll Sync with HEAD
 1.55.4.1  24-Jan-2005  he Pull up revision 1.56 (requested by thorpej in ticket #939):
When adding or deleting multicast addresses, only change
the address filter if the interface is marked RUNNING.
Fixes PR#27678.
 1.56.6.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.56.6.1  12-Feb-2005  yamt sync with head.
 1.56.4.1  29-Apr-2005  kent sync with -current
 1.59.4.5  17-Mar-2008  yamt sync with head.
 1.59.4.4  21-Jan-2008  yamt sync with head
 1.59.4.3  27-Oct-2007  yamt sync with head.
 1.59.4.2  03-Sep-2007  yamt sync with head.
 1.59.4.1  21-Jun-2006  yamt sync with head.
 1.60.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.60.10.1  19-Apr-2006  elad sync with head.
 1.60.8.1  24-May-2006  yamt sync with head.
 1.60.6.1  22-Apr-2006  simonb Sync with head.
 1.60.4.1  09-Sep-2006  rpaulo sync with head
 1.63.14.1  12-Mar-2007  rmind Sync with HEAD.
 1.64.4.1  11-Jul-2007  mjf Sync with head.
 1.64.2.3  23-Oct-2007  ad Sync with head.
 1.64.2.2  09-Oct-2007  ad Sync with head.
 1.64.2.1  01-Jul-2007  ad Adapt to callout API change.
 1.65.6.2  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.65.6.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.65.2.1  03-Sep-2007  skrll Sync with HEAD.
 1.66.6.1  25-Oct-2007  bouyer Sync with HEAD.
 1.66.2.3  23-Mar-2008  matt sync with HEAD
 1.66.2.2  09-Jan-2008  matt sync with HEAD
 1.66.2.1  06-Nov-2007  matt sync with HEAD
 1.67.8.2  20-Jan-2008  bouyer Sync with HEAD
 1.67.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.67.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.71.6.3  28-Sep-2008  mjf Sync with HEAD.
 1.71.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.71.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.71.2.1  24-Mar-2008  keiichi sync with head.
 1.73.4.5  11-Aug-2010  yamt sync with head.
 1.73.4.4  11-Mar-2010  yamt sync with head
 1.73.4.3  16-Sep-2009  yamt sync with head
 1.73.4.2  04-May-2009  yamt sync with head.
 1.73.4.1  16-May-2008  yamt sync with head.
 1.73.2.1  18-May-2008  yamt sync with head.
 1.75.4.1  18-Jul-2008  simonb Sync with head.
 1.75.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.78.4.2  05-Mar-2011  rmind sync with head
 1.78.4.1  30-May-2010  rmind sync with head
 1.78.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.80.8.1  30-Oct-2012  yamt sync with head
 1.81.16.4  28-Aug-2017  skrll Sync with HEAD
 1.81.16.3  05-Feb-2017  skrll Sync with HEAD
 1.81.16.2  09-Jul-2016  skrll Sync with HEAD
 1.81.16.1  19-Mar-2016  skrll Sync with HEAD
 1.81.2.1  03-Dec-2017  jdolecek update from HEAD
 1.83.2.2  20-Mar-2017  pgoyette Sync with HEAD
 1.83.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.84.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.85.12.2  26-Jan-2019  pgoyette Sync with HEAD
 1.85.12.1  28-Jul-2018  pgoyette Sync with HEAD
 1.86.2.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.86.2.1  10-Jun-2019  christos Sync with HEAD
 1.90.4.2  29-Feb-2020  ad Sync with head.
 1.90.4.1  25-Jan-2020  ad Sync with head.

RSS XML Feed