Home | History | Annotate | only in /src/sys/arch/evbppc/mpc85xx
History log of /src/sys/arch/evbppc/mpc85xx
RevisionDateAuthorComments
 1.11 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.10 24-Apr-2021  thorpej branches: 1.10.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.9 18-Mar-2014  riastradh branches: 1.9.44;
Merge riastradh-drm2 to HEAD.
 1.8 17-Jul-2013  matt Wait it actually wait.
 1.7 29-Jul-2012  matt branches: 1.7.2; 1.7.4; 1.7.10;
Add command line processing from uboot
bootm $loadaddr [opts] [device]
where opts is -[advqs] and device is the boot device.
cpu_rootconf will now wait a bit for devices to appear until the boot device
appears.
 1.6 29-Jul-2012  mlelstv Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.5 24-Jun-2011  matt branches: 1.5.2; 1.5.8;
Use intr_init since we have it.
 1.4 18-Jun-2011  matt Whitespace cleanup
 1.3 17-Feb-2011  matt branches: 1.3.2; 1.3.4;
Support a little bus_space for mapping the GUR registers since some
devices use little endian registers. Add MPC8533 support.
 1.2 18-Jan-2011  matt branches: 1.2.2;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file autoconf.c was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.2 02-Aug-2011  matt Pull in changes from -current to get ehci at cpunode working.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.2.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3.2.2 05-Mar-2011  rmind sync with head
 1.3.2.1 17-Feb-2011  rmind file autoconf.c was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.5.8.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.5.2.2 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.5.2.1 30-Oct-2012  yamt sync with head
 1.7.10.1 23-Jul-2013  riastradh sync with HEAD
 1.7.4.1 28-Aug-2013  rmind sync with head
 1.7.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.44.2 22-Mar-2021  thorpej Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.
 1.9.44.1 22-Mar-2021  thorpej Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.
 1.10.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 05-Jul-2024  andvar fix various typos in comments and log messages, mainly s/hight/high/
s/hight/height/ and removing double m in time(ing).
 1.2 18-Jan-2011  matt branches: 1.2.4; 1.2.96;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file cadmusreg.h was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.96.1 02-Aug-2025  perseant Sync with HEAD
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file cadmusreg.h was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.2 18-Jan-2011  matt branches: 1.2.4;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file ds1553rtc.c was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file ds1553rtc.c was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.49 22-Jul-2022  thorpej Split the i2c controller into 2 separate instances. This aligns with
how the device is represented when using DeviceTree, and also allows us
to de-weirdify the shared motoi2c code.

XXX Because e500 interrupt code doesn't support shared interrupts, we
no longer establish one for the i2c controller, but this isn't a great
loss as motoi2c doesn't support using interrupts right now anyway.
 1.48 22-Jul-2022  thorpej Stop using deprecated problib functions.
 1.47 22-Jul-2022  thorpej Revert previous; that was intended to be two separate commits.
 1.46 22-Jul-2022  thorpej Stop using deprecated proplib functions.
 1.45 03-Mar-2022  riastradh powerpc: Use device_set_private for e500 cpuN.
 1.44 11-Apr-2019  kamil Fix incorrect CVS Id
 1.43 27-Jan-2018  flxd branches: 1.43.4;
Fix more printf format strings for mfspr() (hi mrg).
 1.42 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.41 30-Jan-2015  nonaka branches: 1.41.2;
Added RouterBOARD RB850Gx2 config. md root only.
 1.40 23-Jan-2015  nonaka ddb MP support
 1.39 06-Jan-2015  nonaka No need to call e500_tlb1_sync() at e500_cpu_hatch(). It has already
been called at e500_spinup_trampoline().
Pointed by mrg@.
 1.38 05-Jan-2015  nonaka Initialize TLB for non cpu0.
 1.37 27-Dec-2014  nonaka Preliminary support for P1023.
 1.36 19-Dec-2014  nonaka do page recolor.
 1.35 19-Dec-2014  nonaka Do probe cpu cache on !cpu0.
Avoid "panic: kernel diagnostic assertion "line_size > 0" failed: file "/usr/src/sys/arch/powerpc/booke/booke_cache.c", line 90".
 1.34 19-Dec-2014  nonaka Increase timeout for the hatching to complete.

> cpu1: hatch successful (24321 spins, timebase adjusted by -940718014)
 1.33 04-Aug-2014  joerg branches: 1.33.4;
mpc85xx_extirq_names is not used for the MPC8548 branch.
 1.32 24-Jul-2014  joerg Use volatile when writing to NULL.
 1.31 18-Mar-2014  riastradh branches: 1.31.2;
Merge riastradh-drm2 to HEAD.
 1.30 17-Jul-2013  matt kcpuset_t changes
 1.29 29-Jul-2012  matt branches: 1.29.2; 1.29.4; 1.29.10;
Add command line processing from uboot
bootm $loadaddr [opts] [device]
where opts is -[advqs] and device is the boot device.
cpu_rootconf will now wait a bit for devices to appear until the boot device
appears.
 1.28 22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 1.27 18-Jul-2012  matt Add P1025 support to the PCI truth tables.
P1025 only has two PCIe ports, not 3.
 1.26 17-Jul-2012  matt The ETSEC on the P1025 has been moved/split so the MDIO stayed in the same
place but each ETSEC has been split into two virtual halves (G0 and G1) and
each one has a new different base address.
For some reason, tsec1 connects to phy 2 and tsec2 connects to phy 1.
Adjust config file to match
 1.25 15-Jul-2012  matt Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors. XXX tsec isn't working yet on the TWR-P1025.
 1.24 07-Jul-2012  skrll Whitespace.
 1.23 29-Mar-2012  matt Add support for PMAP_MINIMALTLB.
 1.22 27-Jan-2012  para branches: 1.22.2;
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.21 02-Aug-2011  matt branches: 1.21.2; 1.21.6;
Fix tpyo.
 1.20 25-Jul-2011  matt Add support for MEMSIZE to limit the amount of memory detected.
 1.19 20-Jul-2011  matt Suppress a GCC 4.5 warning.
 1.18 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.17 16-Jul-2011  matt Fix off-by-one.
 1.16 01-Jul-2011  matt Fix some array bounds errors found by gcc 4.5
 1.15 30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.14 29-Jun-2011  matt Some initial MULTIPROCESSOR spin code. Doesn't work yet.
 1.13 25-Jun-2011  matt Make powerpc work on BookE. At this time we only support DOZE (lightest
form of power-saving). By default, power-saving is disabled but can be
enabled in /etc/sysctl.conf by setting machdep.powersave=1
 1.12 23-Jun-2011  matt Switch to using the common <common/pmap/tlb/tlb.h>
 1.11 15-Jun-2011  matt Move booke_fixup_stubs() to fixup.c and rename it to cpu_fixup_stubs().
This makes it easier for other PPC variants to use it.
 1.10 14-Jun-2011  matt print out the first 4 arguments to the kernel from the bootloader.
Add a definition of the uboot bootinfo structure.
 1.9 12-Jun-2011  mrg move module_machine_booke into the booke machdep.
 1.8 12-Jun-2011  mrg for booke and ibm4xx evbppc systems, set module_machine to to either
"powerpc-ibm4xx" or "powerpc-booke".
 1.7 05-Jun-2011  matt Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
 1.6 28-May-2011  matt branches: 1.6.2;
allow configuring multiple CPUs (still needs work).
Detect boot page on MP e500 CPUs (P2020, MPC8572, etc) and prevent use of
that page in NetBSD. This page is used to communicate with u-boot to spin
up secondary CPUs.
Probe LBC before PCI so that LBC attached devices can be configured before
probing the PCI. This gives a chance to download/setup PCI Express switches
before probing/configuring PCI.
Fix PIXIS speed entry bug/typo.
Rework SYS_CLK logic so that the SYS_CLK config option has the highest priority.
 1.5 17-Feb-2011  matt branches: 1.5.2;
Support a little bus_space for mapping the GUR registers since some
devices use little endian registers. Add MPC8533 support.
 1.4 13-Feb-2011  matt Fix some typos.
 1.3 08-Feb-2011  matt Add MPC85xx variants.
Move to having a common kernel for all MPC85xx variants (CADMUS/PIXIS still
remain a problem).
 1.2 18-Jan-2011  matt branches: 1.2.2;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file machdep.c was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.5 14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.1.2.4 02-Aug-2011  matt Pull in changes from -current to get ehci at cpunode working.
 1.1.2.3 26-Jul-2011  matt Fix typo.
 1.1.2.2 17-Jan-2011  matt Enable SPE for RB800.
Add SPE tidbits for mpc85xx.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.2.3 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.2 17-Feb-2011  bouyer Sync with HEAD
 1.2.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.5.2.4 12-Jun-2011  rmind sync with head
 1.5.2.3 31-May-2011  rmind sync with head
 1.5.2.2 05-Mar-2011  rmind sync with head
 1.5.2.1 17-Feb-2011  rmind file machdep.c was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.6.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.21.6.2 05-Apr-2012  mrg sync to latest -current.
 1.21.6.1 18-Feb-2012  mrg merge to -current.
 1.21.2.3 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.21.2.2 30-Oct-2012  yamt sync with head
 1.21.2.1 17-Apr-2012  yamt sync with head
 1.22.2.1 09-May-2012  riz Pull up following revision(s) (requested by matt in ticket #241):
sys/arch/powerpc/conf/kern-mb.ldscript: revision 1.1
sys/arch/powerpc/include/booke/pmap.h: revision 1.9
sys/arch/powerpc/booke/e500_tlb.c: revision 1.8
sys/arch/powerpc/conf/files.powerpc: revision 1.83
sys/arch/powerpc/booke/booke_pmap.c: revision 1.13
sys/arch/powerpc/include/booke/e500var.h: revision 1.5
sys/arch/evbppc/mpc85xx/machdep.c: revision 1.23
Add ldscript which aligns .data to a 1MB boundary. (used for testing)
Add PMAP_MINIMALTLB defflag
Add vsize_t to pmap_md_{un,}map_poolpage.
Add pmap_kvptefill prototype.
Slightly change pmap_bootstrap prototype.
Add e500_tlb_minimize prototype.
Add support PMAP_MINIMALTLB option. This changes the default use of TLB1
entries to map all of physical memory to using two TLB1 entries, one for
mapping text and one for data. The rest of memory is mapped using the
page table which is updated as needed. This is used to trap memory
corruption issues.
Add support for PMAP_MINIMALTLB.
 1.29.10.1 23-Jul-2013  riastradh sync with HEAD
 1.29.4.1 28-Aug-2013  rmind sync with head
 1.29.2.2 03-Dec-2017  jdolecek update from HEAD
 1.29.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.31.2.1 10-Aug-2014  tls Rebase.
 1.33.4.2 05-Feb-2017  skrll Sync with HEAD
 1.33.4.1 06-Apr-2015  skrll Sync with HEAD
 1.41.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.43.4.1 10-Jun-2019  christos Sync with HEAD
 1.10 15-Jul-2018  maxv Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.9 10-Aug-2014  joerg branches: 1.9.26; 1.9.28;
Drop .machine, Makefile.mpc85xx provides -me500 already.
 1.8 30-Jul-2014  joerg Correct last, ha+l uses lis+addi, so use h+l.
 1.7 30-Jul-2014  joerg Build 32bit constant with lis+ori, not lis+addi. The instructions
differ on the sign extension handling of the immediate.
 1.6 29-Jul-2012  matt branches: 1.6.2; 1.6.12;
Make sure r8 isn't used.
Document args passed by uboot
 1.5 18-Jun-2011  matt branches: 1.5.2;
Use FRAME_Rn (like ibm4xx and oea) instead of FRAME_n.
Include psl.h to get PSL_* values instead of getting them from assym.h
 1.4 08-Jun-2011  matt Cleanup register use so that r5-r8 are preserved. Take advantage of
changes to INIT_CPUINFO (it now saves curcpu to L_CPU(%r13)).
 1.3 05-Jun-2011  matt Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
 1.2 18-Jan-2011  matt branches: 1.2.4; 1.2.6;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file mpc85xx_start.S was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.3 14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.1.2.2 17-Jan-2011  matt Enable SPE for RB800.
Add SPE tidbits for mpc85xx.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2.4.3 12-Jun-2011  rmind sync with head
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file mpc85xx_start.S was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.5.2.1 30-Oct-2012  yamt sync with head
 1.6.12.1 10-Aug-2014  tls Rebase.
 1.6.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.28.1 10-Jun-2019  christos Sync with HEAD
 1.9.26.1 28-Jul-2018  pgoyette Sync with HEAD
 1.2 18-Jan-2011  matt branches: 1.2.4;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file pixisreg.h was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file pixisreg.h was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.8 12-Feb-2022  riastradh evbppc/wdc(4) at obio: Stop fabricating bogus struct device.

Nothing uses this.
 1.7 09-Sep-2019  jdolecek adjust several missed drivers for wdcprobe() changes of ATA NCQ branch

for dreamcast g1 just drop the custom reset function, it doesn't seem to do
anything useful over the generic variant

PR kern/54538 by Izumi Tsutsui
 1.6 20-Oct-2017  jdolecek branches: 1.6.4; 1.6.8;
move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init()
and ata_channel_destroy() respectively, to make attachment code simpler,
and to make it easier to spot special queue manipulation like cmdide(4)

on topic of PR kern/52606
 1.5 07-Oct-2017  jdolecek adapt the rest of wdc attachments for NCQ branch merge
 1.4 31-Jul-2012  bouyer branches: 1.4.2;
Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc
cleanup and SATA PMP support), now that I'm back to fix the fallouts.
 1.3 26-Jul-2012  jakllsch Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@
 1.2 02-Jul-2012  bouyer Add sata Port MultiPlier (PMP) support to the ata bus layer,
as described in
http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html
PMP support in integrated to the atabus layer.
struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive
(renamed to ch_ndrives) closely reflects the size of the ch_drive[] array.
Add helper functions atabus_alloc_drives() and atabus_free_drives()
to manage ch_drive[]/ch_ndrives.
Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify
how much drive they really support (master/slave or single).
ata_reset_drive() callback gains a uint32_t *sigp argument which,
when not NULL, will contain the signature of the device being reset.
While there, some cosmetic changes:
- added a drive_type enum to ata_drive_datas, and stop encoding the
probed drive type in drive_flags (we were out of drive flags anyway).
- rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this
really is
- remove ata_channel->ata_drives, it's redundant with the pointer in
ata_drive_datas
- factor out the interpretation of SATA signatures in sata_interpet_sig()

propagate these changes to the ATA HBA drivers, and add support for PMP
to ahcisata(4) and siisata(4).

Thanks to:
- Protocase (http://www.protocase.com/) which provided a system
with lots of controllers, SATA PMP and drive slots
- Conservation Genomics Laboratory, Department of Biology, New Mexico State
University for hosting the above system
- Brook Milligan, who set up remote access and has been very responsive
when SATA cable move was needed
 1.1 18-Jan-2011  matt branches: 1.1.4; 1.1.8; 1.1.10;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1.10.1 30-Oct-2012  yamt sync with head
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 18-Jan-2011  jruoho file wdc_obio.c was added on branch jruoho-x86intr on 2011-06-06 09:05:32 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 18-Jan-2011  rmind file wdc_obio.c was added on branch rmind-uvmplock on 2011-03-05 20:50:16 +0000
 1.4.2.1 03-Dec-2017  jdolecek update from HEAD
 1.6.8.1 23-Sep-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #232):

sys/arch/evbppc/mpc85xx/wdc_obio.c: revision 1.7
sys/arch/dreamcast/dev/g1/wdc_g1.c: revision 1.4
sys/arch/dreamcast/dev/g1/wdc_g1.c: revision 1.5
sys/arch/mmeye/dev/wdc_mainbus.c: revision 1.7
sys/dev/ic/wdcvar.h: revision 1.99
sys/dev/ic/wdc.c: revision 1.292
sys/arch/mips/adm5120/dev/wdc_extio.c: revision 1.11

adjust several missed drivers for wdcprobe() changes of ATA NCQ branch
for dreamcast g1 just drop the custom reset function, it doesn't seem to do
anything useful over the generic variant

PR kern/54538 by Izumi Tsutsui

Restore interface to pass a MD reset function to MI wdcprobe().

Fixes silent hang on G1IDE on Dreamcast. PR kern/54538
Should be pulled up to netbsd-9 with the previous changes.
 1.6.4.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed