Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/powerpc/ibm4xx/dev/com_opb.c
RevisionDateAuthorComments
 1.25  27-Feb-2021  rin Switch to intr_establish_xname().
 1.24  06-Jul-2020  rin branches: 1.24.2;
Style and cosmetic changes. No binary changes intended.
 1.23  15-Dec-2019  rin Belatedly catch up with MI com(4) change in com.c rev. 1.351:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/com.c#rev1.351

XXX
pullup to netbsd-9
 1.22  08-Dec-2018  thorpej branches: 1.22.4;
Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.21  18-Jun-2011  matt branches: 1.21.52; 1.21.54;
Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>. Include it
explicitly.
 1.20  14-Mar-2008  cube branches: 1.20.36;
Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend). Use proper types and ansify where appropriate.
 1.19  22-Feb-2007  thorpej branches: 1.19.22; 1.19.38; 1.19.42;
TRUE -> true, FALSE -> false
 1.18  13-Jul-2006  gdamore branches: 1.18.10;
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@. Fixes PR port-evbmips/32362.
 1.17  10-Jul-2006  thorpej Put appropriate prefixes on property names to reduce chances of name
collisions.
 1.16  07-May-2006  simonb branches: 1.16.4;
Unwrap not-too-long long.
 1.15  05-May-2006  thorpej Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
 1.14  18-Feb-2006  thorpej branches: 1.14.2; 1.14.4; 1.14.6;
- Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
associates the MAC address property with the epe device instance.
 1.13  11-Dec-2005  christos branches: 1.13.2; 1.13.4; 1.13.6;
merge ktrace-lwp.
 1.12  24-Dec-2004  shige branches: 1.12.10;
Add functions:
- com_opb_cnattach
- com_opb_device_register
 1.11  15-Jul-2003  lukem branches: 1.11.6;
__KERNEL_RCSID()
 1.10  14-Jul-2003  simonb Check return value of prop_get() correctly; serial ports now attach on
a walnut, but don't seem to accept input(?!).
 1.9  04-Jul-2003  thorpej Consult the "frequency" property associated with the device in the
dev_propdb, rather than using "board_info".
 1.8  02-Oct-2002  thorpej branches: 1.8.6;
Add trailing ; to CFATTACH_DECL.
 1.7  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.6  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5  27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.4  23-Aug-2002  scw branches: 1.4.2; 1.4.4;
Don't assume all com ports run at "COM_FREQ", or a multiple thereof.
Use a board-specific property instead.
 1.3  14-Aug-2002  simonb Remove the "comfound < 2" bogosity.
 1.2  14-Aug-2002  simonb Remove an unused global variable (that was marked with an XXX!).
 1.1  12-Aug-2002  simonb branches: 1.1.2;
Reorganise the IBM 4xx bus layout, using terminology from the IBM
documentation:
- Remove "mainbus" altogether.
- The new root is "plb" - the Processor Local Bus.
- Attached to this is the "opb" - the On-chip Peripheral Bus, to which
all the on-chip devices are attached (except the cpu and pci host
bridge).
- Port-specific code can pass an array of 'struct plb_dev' to
config_rootfound() to attach extra devices to the plb. The walnut
port attaches a "pbus" (Peripheral Bus) in here for the RTC and
pc keyboard controller to attach to.
There is still much 405GP specific code; the next round of changes will
generalise this to enable easier support for other 4xx CPUs.
 1.1.2.4  18-Oct-2002  nathanw Catch up to -current.
 1.1.2.3  27-Aug-2002  nathanw Catch up to -current.
 1.1.2.2  13-Aug-2002  nathanw Catch up to -current.
 1.1.2.1  12-Aug-2002  nathanw file com_opb.c was added on branch nathanw_sa on 2002-08-13 02:18:43 +0000
 1.4.4.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.4.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.4.1  23-Aug-2002  jdolecek file com_opb.c was added on branch kqueue on 2002-09-06 08:39:06 +0000
 1.4.2.2  31-Aug-2002  gehenna catch up with -current.
 1.4.2.1  23-Aug-2002  gehenna file com_opb.c was added on branch gehenna-devsw on 2002-08-31 13:45:43 +0000
 1.8.6.4  17-Jan-2005  skrll Sync with HEAD.
 1.8.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.8.6.1  03-Aug-2004  skrll Sync with HEAD
 1.11.6.1  15-Sep-2005  riz Pull up following revision(s) (requested by shige in ticket #5820):
distrib/evbppc/md-kernel/Makefile 1.3 via patch
etc/etc.evbppc/Makefile.inc 1.3 via patch
sys/arch/evbppc/conf/files.obs405 1.5-1.8 via patch
sys/arch/evbppc/conf/OPENBLOCKS266 1.22,1.25 via patch
sys/arch/evbppc/include/obs266.h 1.1 (new)
sys/arch/evbppc/include/obs405.h 1.1-1.5 (new)
sys/arch/evbppc/include/rbus_machdep.h 1.1 (new)
sys/arch/evbppc/obs405/consinit.c 1.2-1.4
sys/arch/evbppc/obs405/dev/x1226.c deleted
sys/arch/evbppc/obs405/dev/x1226reg.h deleted
sys/arch/evbppc/obs405/machdep.c deleted
sys/arch/evbppc/obs405/obs266_autoconf.c 1.1 (new)
sys/arch/evbppc/obs405/obs266_machdep.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_autoconf.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_machdep.c 1.1 (new)
sys/arch/evbppc/obs405/rbus_machdep.c 1.1 (new)
sys/arch/powerpc/conf/files.ibm4xx 1.6-1.7
sys/arch/powerpc/ibm4xx/board_prop.c 1.1 (new)
sys/arch/powerpc/ibm4xx/dev/com_opb.c 1.12
sys/arch/powerpc/ibm4xx/dev/comopbvar.h 1.1 (new)
sys/arch/powerpc/ibm4xx/ibm40x_machdep.c 1.3-1.4
sys/arch/powerpc/ibm4xx/ibm4xx_autoconf.c 1.1-1.2 (new)
sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c 1.1-1.3 (new)
sys/arch/powerpc/ibm4xx/ibm4xxgpx_autoconf.c 1.2-1.3
sys/arch/powerpc/ibm4xx/openbios/openbios.c 1.1 (new)
sys/arch/powerpc/include/ibm4xx/cpu.h 1.7-1.10
sys/arch/powerpc/include/ibm4xx/openbios.h 1.1 (new)

Update OpenBlockS266 support to more modern, stable sources.
 1.12.10.4  17-Mar-2008  yamt sync with head.
 1.12.10.3  26-Feb-2007  yamt sync with head.
 1.12.10.2  30-Dec-2006  yamt sync with head.
 1.12.10.1  21-Jun-2006  yamt sync with head.
 1.13.6.2  01-Jun-2006  kardel Sync with head.
 1.13.6.1  22-Apr-2006  simonb Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.13.2.1  18-Feb-2006  yamt sync with head.
 1.14.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.14.4.1  11-May-2006  elad sync with head
 1.14.2.2  11-Aug-2006  yamt sync with head
 1.14.2.1  24-May-2006  yamt sync with head.
 1.16.4.4  13-Jul-2006  gdamore Merge from HEAD.
 1.16.4.3  16-Jun-2006  gdamore Adapt to KNF changes per simonb.
 1.16.4.2  16-Jun-2006  simonb Fix order of arguments to COM_INIT_REGS macro. Fixes console problems
on a Walnut.
 1.16.4.1  15-Jun-2006  gdamore Initial work for PowerPC-specific com(4) rewhack. Compile tested, but I
lack hardware to test. If someone wants to validate, would be appreciated.
(Compile tested for WALNUT, EXPLORA451, and EV64260 kernels.)
 1.18.10.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.19.42.1  03-Apr-2008  mjf Sync with HEAD.
 1.19.38.1  24-Mar-2008  keiichi sync with head.
 1.19.22.1  23-Mar-2008  matt sync with HEAD
 1.20.36.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.21.54.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.21.54.1  10-Jun-2019  christos Sync with HEAD
 1.21.52.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.22.4.1  25-Feb-2020  martin Pull up following revision(s) (requested by rin in ticket #728):

sys/arch/powerpc/ibm4xx/dev/com_opb.c: revision 1.23

Belatedly catch up with MI com(4) change in com.c rev. 1.351:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/com.c#rev1.351

XXX
pullup to netbsd-9
 1.24.2.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed