Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



Garrett D'Amore wrote:
> Somehow I accidentally committed this without a commit message.  I'm
> fixing that now.  This is my com(4) rewhack that I've been promising for
> a while.  Stay tuned.
>   

All fixed now.  Here's the log message that is recorded:

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.


> Garrett D'Amore wrote:
>   
>> Module Name: src
>> Committed By:        gdamore
>> Date:                Thu Jul 13 22:56:02 UTC 2006
>>
>> Modified Files:
>>      src/sys/arch/acorn32/mainbus: com_pioc.c
>>      src/sys/arch/acorn32/podulebus: amps.c
>>      src/sys/arch/algor/dev: com_mainbus.c
>>      src/sys/arch/alpha/jensenio: com_jensenio.c
>>      src/sys/arch/alpha/sableio: com_sableio.c
>>      src/sys/arch/amiga/dev: com_supio.c
>>      src/sys/arch/arc/jazz: com_jazzio.c
>>      src/sys/arch/arm/xscale: ixp425_com.c pxa2x0_com.c
>>      src/sys/arch/cobalt/dev: com_mainbus.c
>>      src/sys/arch/evbarm/adi_brh: com_obio.c
>>      src/sys/arch/evbarm/hdl_g: com_obio.c
>>      src/sys/arch/evbarm/iq80310: com_obio.c
>>      src/sys/arch/evbarm/iq80321: com_obio.c
>>      src/sys/arch/evbarm/npwr_fc: com_obio.c
>>      src/sys/arch/evbmips/alchemy: machdep.c
>>      src/sys/arch/evbmips/conf: ALCHEMY
>>      src/sys/arch/evbppc/ev64260: com_obio.c
>>      src/sys/arch/evbppc/explora/dev: com_elb.c
>>      src/sys/arch/hp300/dev: com_dio.c com_frodo.c
>>      src/sys/arch/hp700/dev: com_dino.c
>>      src/sys/arch/hp700/gsc: com_gsc.c
>>      src/sys/arch/hpcmips/dev: com_hpcio.c
>>      src/sys/arch/hpcmips/vr: com_vrip.c
>>      src/sys/arch/hpcsh/dev/hd64461: hd64461uart.c
>>      src/sys/arch/hpcsh/dev/hd64465: hd64465uart.c
>>      src/sys/arch/i386/pnpbios: com_pnpbios.c
>>      src/sys/arch/iyonix/iyonix: com_obio.c
>>      src/sys/arch/mips/alchemy: au1000.c au1100.c au1500.c au1550.c
>>      src/sys/arch/mips/alchemy/include: aubusvar.h
>>      src/sys/arch/mips/atheros/dev: com_arbus.c
>>      src/sys/arch/mips/conf: files.alchemy
>>      src/sys/arch/mmeye/dev: com_mainbus.c
>>      src/sys/arch/powerpc/ibm4xx/dev: com_opb.c
>>      src/sys/arch/sgimips/mace: com_mace.c
>>      src/sys/arch/sparc/dev: com_ebus.c com_obio.c
>>      src/sys/arch/sparc64/dev: com_ebus.c
>>      src/sys/conf: files
>>      src/sys/dev/acpi: com_acpi.c
>>      src/sys/dev/cardbus: com_cardbus.c
>>      src/sys/dev/ic: com.c com_cpcbus.c com_upc.c comvar.h
>>      src/sys/dev/isa: com_isa.c com_multi.c
>>      src/sys/dev/isapnp: com_isapnp.c
>>      src/sys/dev/mca: com_mca.c
>>      src/sys/dev/ofisa: com_ofisa.c
>>      src/sys/dev/pci: com_puc.c
>>      src/sys/dev/pcmcia: com_pcmcia.c mhzc.c pcmcom.c xirc.c
>>      src/sys/dev/podulebus: acemidi.c
>> Added Files:
>>      src/sys/arch/mips/alchemy/dev: com_aubus.c com_aubus_reg.h
>> Removed Files:
>>      src/sys/arch/mips/alchemy/dev: aucom.c aucom_aubus.c aucomreg.h
>>
>>
>> To generate a diff of this commit:
>> cvs rdiff -r1.10 -r1.11 src/sys/arch/acorn32/mainbus/com_pioc.c
>> cvs rdiff -r1.11 -r1.12 src/sys/arch/acorn32/podulebus/amps.c
>> cvs rdiff -r1.7 -r1.8 src/sys/arch/algor/dev/com_mainbus.c
>> cvs rdiff -r1.5 -r1.6 src/sys/arch/alpha/jensenio/com_jensenio.c
>> cvs rdiff -r1.4 -r1.5 src/sys/arch/alpha/sableio/com_sableio.c
>> cvs rdiff -r1.20 -r1.21 src/sys/arch/amiga/dev/com_supio.c
>> cvs rdiff -r1.8 -r1.9 src/sys/arch/arc/jazz/com_jazzio.c
>> cvs rdiff -r1.15 -r1.16 src/sys/arch/arm/xscale/ixp425_com.c
>> cvs rdiff -r1.5 -r1.6 src/sys/arch/arm/xscale/pxa2x0_com.c
>> cvs rdiff -r1.13 -r1.14 src/sys/arch/cobalt/dev/com_mainbus.c
>> cvs rdiff -r1.3 -r1.4 src/sys/arch/evbarm/adi_brh/com_obio.c
>> cvs rdiff -r1.1 -r1.2 src/sys/arch/evbarm/hdl_g/com_obio.c
>> cvs rdiff -r1.10 -r1.11 src/sys/arch/evbarm/iq80310/com_obio.c
>> cvs rdiff -r1.9 -r1.10 src/sys/arch/evbarm/iq80321/com_obio.c
>> cvs rdiff -r1.1 -r1.2 src/sys/arch/evbarm/npwr_fc/com_obio.c
>> cvs rdiff -r1.28 -r1.29 src/sys/arch/evbmips/alchemy/machdep.c
>> cvs rdiff -r1.11 -r1.12 src/sys/arch/evbmips/conf/ALCHEMY
>> cvs rdiff -r1.5 -r1.6 src/sys/arch/evbppc/ev64260/com_obio.c
>> cvs rdiff -r1.3 -r1.4 src/sys/arch/evbppc/explora/dev/com_elb.c
>> cvs rdiff -r1.4 -r1.5 src/sys/arch/hp300/dev/com_dio.c \
>>     src/sys/arch/hp300/dev/com_frodo.c
>> cvs rdiff -r1.1 -r1.2 src/sys/arch/hp700/dev/com_dino.c
>> cvs rdiff -r1.10 -r1.11 src/sys/arch/hp700/gsc/com_gsc.c
>> cvs rdiff -r1.9 -r1.10 src/sys/arch/hpcmips/dev/com_hpcio.c
>> cvs rdiff -r1.18 -r1.19 src/sys/arch/hpcmips/vr/com_vrip.c
>> cvs rdiff -r1.18 -r1.19 src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c
>> cvs rdiff -r1.13 -r1.14 src/sys/arch/hpcsh/dev/hd64465/hd64465uart.c
>> cvs rdiff -r1.10 -r1.11 src/sys/arch/i386/pnpbios/com_pnpbios.c
>> cvs rdiff -r1.2 -r1.3 src/sys/arch/iyonix/iyonix/com_obio.c
>> cvs rdiff -r1.4 -r1.5 src/sys/arch/mips/alchemy/au1000.c \
>>     src/sys/arch/mips/alchemy/au1100.c
>> cvs rdiff -r1.5 -r1.6 src/sys/arch/mips/alchemy/au1500.c
>> cvs rdiff -r1.8 -r1.9 src/sys/arch/mips/alchemy/au1550.c
>> cvs rdiff -r1.21 -r0 src/sys/arch/mips/alchemy/dev/aucom.c
>> cvs rdiff -r1.13 -r0 src/sys/arch/mips/alchemy/dev/aucom_aubus.c
>> cvs rdiff -r1.2 -r0 src/sys/arch/mips/alchemy/dev/aucomreg.h
>> cvs rdiff -r0 -r1.2 src/sys/arch/mips/alchemy/dev/com_aubus.c \
>>     src/sys/arch/mips/alchemy/dev/com_aubus_reg.h
>> cvs rdiff -r1.3 -r1.4 src/sys/arch/mips/alchemy/include/aubusvar.h
>> cvs rdiff -r1.1 -r1.2 src/sys/arch/mips/atheros/dev/com_arbus.c
>> cvs rdiff -r1.11 -r1.12 src/sys/arch/mips/conf/files.alchemy
>> cvs rdiff -r1.6 -r1.7 src/sys/arch/mmeye/dev/com_mainbus.c
>> cvs rdiff -r1.17 -r1.18 src/sys/arch/powerpc/ibm4xx/dev/com_opb.c
>> cvs rdiff -r1.5 -r1.6 src/sys/arch/sgimips/mace/com_mace.c
>> cvs rdiff -r1.12 -r1.13 src/sys/arch/sparc/dev/com_ebus.c
>> cvs rdiff -r1.18 -r1.19 src/sys/arch/sparc/dev/com_obio.c
>> cvs rdiff -r1.25 -r1.26 src/sys/arch/sparc64/dev/com_ebus.c
>> cvs rdiff -r1.787 -r1.788 src/sys/conf/files
>> cvs rdiff -r1.18 -r1.19 src/sys/dev/acpi/com_acpi.c
>> cvs rdiff -r1.17 -r1.18 src/sys/dev/cardbus/com_cardbus.c
>> cvs rdiff -r1.246 -r1.247 src/sys/dev/ic/com.c
>> cvs rdiff -r1.6 -r1.7 src/sys/dev/ic/com_cpcbus.c
>> cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/com_upc.c
>> cvs rdiff -r1.53 -r1.54 src/sys/dev/ic/comvar.h
>> cvs rdiff -r1.24 -r1.25 src/sys/dev/isa/com_isa.c
>> cvs rdiff -r1.21 -r1.22 src/sys/dev/isa/com_multi.c
>> cvs rdiff -r1.23 -r1.24 src/sys/dev/isapnp/com_isapnp.c
>> cvs rdiff -r1.14 -r1.15 src/sys/dev/mca/com_mca.c
>> cvs rdiff -r1.10 -r1.11 src/sys/dev/ofisa/com_ofisa.c
>> cvs rdiff -r1.13 -r1.14 src/sys/dev/pci/com_puc.c
>> cvs rdiff -r1.51 -r1.52 src/sys/dev/pcmcia/com_pcmcia.c
>> cvs rdiff -r1.35 -r1.36 src/sys/dev/pcmcia/mhzc.c
>> cvs rdiff -r1.26 -r1.27 src/sys/dev/pcmcia/pcmcom.c
>> cvs rdiff -r1.16 -r1.17 src/sys/dev/pcmcia/xirc.c
>> cvs rdiff -r1.11 -r1.12 src/sys/dev/podulebus/acemidi.c
>>
>> Please note that diffs are not public domain; they are subject to the
>> copyright notices on the relevant files.
>>   
>>     
>
>
>   


-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191




Home | Main Index | Thread Index | Old Index