Home | History | Annotate | only in /src/sys/arch/evbppc/virtex/dev
History log of /src/sys/arch/evbppc/virtex/dev
RevisionDateAuthorComments
 1.2 11-Apr-2019  kamil Fix CVS Id usage
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.142;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.142.1 10-Jun-2019  christos Sync with HEAD
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file cdmacreg.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file cdmacreg.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file cdmacreg.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:53 +0000
 1.20 18-Sep-2022  thorpej Eliminate use of IFF_OACTIVE.
 1.19 27-Feb-2022  riastradh evbppc/temac(4): Mark unused functions as such.
 1.18 05-Dec-2021  msaitoh s/decriptor/descriptor/ in comment.
 1.17 29-Mar-2021  rin Make VIRTEX_* kernels compile. Not tested.
 1.16 04-Feb-2020  skrll branches: 1.16.6; 1.16.8;
Adopt <net/if_stats.h>
 1.15 29-May-2019  msaitoh branches: 1.15.4;
KNF. No functional change.
 1.14 29-May-2019  msaitoh Whitespace fix. No functional change.
 1.13 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.12 15-Dec-2016  ozaki-r branches: 1.12.14; 1.12.16;
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.11 10-Jun-2016  ozaki-r branches: 1.11.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.10 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.9 22-Jul-2012  matt branches: 1.9.2; 1.9.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.8 18-Jun-2011  matt branches: 1.8.2;
split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
 1.7 05-Apr-2010  joerg branches: 1.7.6;
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.6 19-Jan-2010  pooka branches: 1.6.2; 1.6.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.5 31-Dec-2009  freza Remove unused variable, makes VIRTEX_* kernels compile again.
 1.4 12-Feb-2008  dyoung branches: 1.4.10; 1.4.32;
Use device_is_active().
 1.3 19-Jan-2008  dyoung 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.2 04-Mar-2007  christos branches: 1.2.20; 1.2.26; 1.2.32;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.8.1 12-Mar-2007  rmind Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file if_temac.c was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.5 27-Feb-2008  yamt sync with head.
 1.1.4.4 21-Jan-2008  yamt sync with head
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file if_temac.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file if_temac.c was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2.32.1 20-Jan-2008  bouyer Sync with HEAD
 1.2.26.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.20.1 23-Mar-2008  matt sync with HEAD
 1.4.32.1 07-Jan-2011  matt Remove unused variable.
 1.4.10.2 11-Aug-2010  yamt sync with head.
 1.4.10.1 11-Mar-2010  yamt sync with head
 1.6.4.1 30-May-2010  rmind sync with head
 1.6.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.7.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.8.2.1 30-Oct-2012  yamt sync with head
 1.9.16.3 05-Feb-2017  skrll Sync with HEAD
 1.9.16.2 09-Jul-2016  skrll Sync with HEAD
 1.9.16.1 19-Mar-2016  skrll Sync with HEAD
 1.9.2.1 03-Dec-2017  jdolecek update from HEAD
 1.11.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.12.16.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.12.16.1 10-Jun-2019  christos Sync with HEAD
 1.12.14.1 26-Jan-2019  pgoyette Sync with HEAD
 1.15.4.1 29-Feb-2020  ad Sync with head.
 1.16.8.1 03-Apr-2021  thorpej Sync with HEAD.
 1.16.6.1 03-Apr-2021  thorpej Sync with HEAD.
 1.5 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 01-Jul-2011  dyoung branches: 1.4.2; 1.4.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.3 18-Jun-2011  matt split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
 1.2 21-Feb-2007  thorpej branches: 1.2.78;
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.8.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file pstwo.c was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.3 26-Feb-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file pstwo.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file pstwo.c was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2.78.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.4.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.2.1 30-Oct-2012  yamt sync with head
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file pstworeg.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file pstworeg.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file pstworeg.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file temacreg.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file temacreg.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file temacreg.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2 11-Apr-2019  kamil Fix CVS Id usage
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.142;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.142.1 10-Jun-2019  christos Sync with HEAD
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file temacvar.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file temacvar.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file temacvar.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.7 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.6 24-Apr-2021  thorpej branches: 1.6.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.5 22-Jul-2012  matt branches: 1.5.54;
Silence a gcc warning.
 1.4 01-Jul-2011  dyoung branches: 1.4.2;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.3 06-Feb-2011  jmcneill - add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options
 1.2 04-Mar-2007  christos branches: 1.2.66; 1.2.72; 1.2.74;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.8.1 12-Mar-2007  rmind Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file tft.c was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file tft.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file tft.c was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2.74.1 08-Feb-2011  bouyer Sync with HEAD
 1.2.72.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.66.1 05-Mar-2011  rmind sync with head
 1.4.2.1 30-Oct-2012  yamt sync with head
 1.5.54.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.6.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.5 29-Mar-2021  rin Make VIRTEX_* kernels compile. Not tested.
 1.4 01-Jul-2011  dyoung branches: 1.4.66; 1.4.68;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.3 18-Jun-2011  matt split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
 1.2 04-Mar-2007  christos branches: 1.2.76;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.8.1 12-Mar-2007  rmind Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file tft_ll.c was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file tft_ll.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file tft_ll.c was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2.76.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.4.68.1 03-Apr-2021  thorpej Sync with HEAD.
 1.4.66.1 03-Apr-2021  thorpej Sync with HEAD.
 1.5 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.4 18-Jun-2011  matt split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
 1.3 25-Oct-2009  ahoka branches: 1.3.10;
Remove obscenity from comments.
 1.2 04-Mar-2007  christos branches: 1.2.44;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.8.1 12-Mar-2007  rmind Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file tft_plb.c was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file tft_plb.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file tft_plb.c was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2.44.1 11-Mar-2010  yamt sync with head
 1.3.10.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file tftreg.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file tftreg.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file tftreg.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.4 18-Jun-2011  matt split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
 1.3 06-Feb-2011  jmcneill branches: 1.3.2;
- add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options
 1.2 04-Mar-2007  christos branches: 1.2.66; 1.2.72; 1.2.74;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.8.1 12-Mar-2007  rmind Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file tftvar.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file tftvar.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file tftvar.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2.74.1 08-Feb-2011  bouyer Sync with HEAD
 1.2.72.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.66.1 05-Mar-2011  rmind sync with head
 1.3.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.4 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.3 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.2 06-Jun-2011  matt More device_t, cfdata, CFATTACH_DECL_NEW cleanup.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.76; 1.1.86;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.86.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.76.1 12-Jun-2011  rmind sync with head
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file xcvbus.c was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file xcvbus.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file xcvbus.c was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file xcvbusvar.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file xcvbusvar.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file xcvbusvar.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file xintcreg.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file xintcreg.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file xintcreg.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.12 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.11 25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.10 16-Mar-2014  dholland branches: 1.10.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.9 18-Jun-2011  matt branches: 1.9.2; 1.9.12; 1.9.16;
split device/softc (CFATTACH_DECL_NEW)
struct device * -> device_t
struct cfdata * -> cfdata_t
Use <sys/foo.h> instead of <machine/foo.h> if <sys/foo.h> exists
Explicitly include <powerpc/ibm4xx/cpu.h> when needed.
 1.8 24-Apr-2011  rmind branches: 1.8.2;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.7 11-Jun-2008  cegger branches: 1.7.18; 1.7.24;
use device_lookup_private to get softc
 1.6 09-Jan-2008  elad branches: 1.6.6; 1.6.8; 1.6.10; 1.6.12; 1.6.14;
Kill two KAUTH_GENERIC_ISSUSER requests and replace them with something
more meaningful.
 1.5 02-Dec-2007  ad branches: 1.5.6;
Use the softint API.
 1.4 19-Nov-2007  ad - Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.3 17-Oct-2007  garbled branches: 1.3.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.2 04-Mar-2007  christos branches: 1.2.2; 1.2.10; 1.2.18; 1.2.20; 1.2.22; 1.2.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.8.1 12-Mar-2007  rmind Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file xlcom.c was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.6 21-Jan-2008  yamt sync with head
 1.1.4.5 07-Dec-2007  yamt sync with head
 1.1.4.4 27-Oct-2007  yamt sync with head.
 1.1.4.3 03-Sep-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file xlcom.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file xlcom.c was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000
 1.2.24.2 21-Nov-2007  bouyer Sync with HEAD
 1.2.24.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.22.1 18-Oct-2007  yamt sync with head.
 1.2.20.3 23-Mar-2008  matt sync with HEAD
 1.2.20.2 09-Jan-2008  matt sync with HEAD
 1.2.20.1 06-Nov-2007  matt sync with HEAD
 1.2.18.4 03-Dec-2007  joerg Sync with HEAD.
 1.2.18.3 21-Nov-2007  joerg Sync with HEAD.
 1.2.18.2 28-Oct-2007  joerg Reduce diff to HEAD.
 1.2.18.1 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.2.10.1 28-May-2007  freza Add KGDB support to evbppc/virtex port. From Jean-Francois Boudreault,
cosmetics by me.

While there, generalize virtex_console_tag() to virtex_bus_space_tag()
and fix one instance of yamt-idlelwp fallout (ci_need_resched renamed
to ci_want_resched).

XXX Only compile tested since my access to suitable Virtex HW is sporadic
XXX at best.
 1.2.2.2 03-Dec-2007  ad Sync with HEAD.
 1.2.2.1 23-Oct-2007  ad Sync with head.
 1.3.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.3.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.5.6.1 10-Jan-2008  bouyer Sync with HEAD
 1.6.14.1 18-Jun-2008  simonb Sync with head.
 1.6.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.10.1 04-May-2009  yamt sync with head.
 1.6.8.1 17-Jun-2008  yamt sync with head.
 1.6.6.1 29-Jun-2008  mjf Sync with HEAD.
 1.7.24.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.18.1 31-May-2011  rmind sync with head
 1.8.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.9.16.1 18-May-2014  rmind sync with head
 1.9.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.2.1 10-Aug-2014  tls Rebase.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file xlcomreg.h was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file xlcomreg.h was added on branch yamt-lazymbuf on 2006-12-30 20:45:54 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file xlcomreg.h was added on branch yamt-splraiseipl on 2006-12-10 07:15:54 +0000

RSS XML Feed