Home | History | Annotate | Download | only in ixp12x0
History log of /src/sys/arch/arm/ixp12x0/ixp12x0_io.c
RevisionDateAuthorComments
 1.19  21-Apr-2023  skrll Trailing whitespace
 1.18  16-Mar-2018  ryo use designated initializer to make adaptability and flexibility for changing struct bus_space.
no functional change.
 1.17  23-Feb-2014  martin branches: 1.17.28;
Fix obvious typo
 1.16  22-Feb-2014  matt Don't manipulate the pte to get uncached memory, use PMAP_NOCACHE instead.
Convert footbring to kenter_pa/kremove
 1.15  01-Jul-2011  dyoung branches: 1.15.2; 1.15.12; 1.15.16;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.14  07-Nov-2009  cegger Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
 1.13  21-Oct-2009  rmind Drop 3rd and 4th clauses from Ichiro FUKUHARA's license.
Reviewed and approved by ichiro@ (copyright holder).
 1.12  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.11  24-Nov-2005  yamt branches: 1.11.80; 1.11.88; 1.11.94;
bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
 1.10  01-Apr-2005  yamt branches: 1.10.2; 1.10.8;
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
 1.9  13-Jul-2003  igy branches: 1.9.8; 1.9.10;
mapping pci configuration space (not subregion)
 1.8  13-Jul-2003  igy sharing bus_space_tag among ixpio, pci mem and i/o.
 1.7  25-Mar-2003  igy branches: 1.7.2;
Add __KERNEL_RCSID tags
 1.6  17-Feb-2003  ichiro files.ixp12x0
no need device ixpcom in evbarm/conf/files.evbarm move it to
arm/ixp12x0/files.ixp12x0

ixp12x0_com.c:
some fix around address handling
1. Do not call bus_space_map() in ixpcominit(). Calling bus_space_map()
is not safe here, because bus_space_map() calls uvm_km_valloc() but
uvm is not yet initialized.
2. Use dv_unit to determine console instead comparering iobase.
Now you can attach ixpcom0 with physical address like this:
ixpcom* at ixpsip? addr 0x90000000 size 0x4000
Statically mapped address (0xf0000000) is still usable.

ixp12x0_clk:
1. access PLL_CFG register via bus_space
2. Make the delay() working correctly. (bug fix)
3. Start the timer device without interrupt on attach time.
Now delay() called before cpu_initclocks() works fine.

ixp12x0_pci:
1.Mapping PCI type0/1 configuration space to the upper address.
2."PCI I/O Cycle Access" mapping to same virtual address(VA==PA)
but size of this mapping increase to 1MByte because fails
cause couldnt set L2 table.
3.use bus_space address handling in ixp12x0_pci.c.
 1.5  22-Dec-2002  ichiro Use generic_bs_wr_4 for writing region
 1.4  22-Dec-2002  ichiro Use generic_bs_sr_4
 1.3  08-Dec-2002  ichiro change flags of pmap_enter() in ixp12x0_io.c, ixpsip_io.c
bug fix: ixp12x0_pci.c
 1.2  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.1  15-Jul-2002  ichiro branches: 1.1.2; 1.1.4; 1.1.6;
add support for ixp12x0
 1.1.6.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.1.6.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1  15-Jul-2002  jdolecek file ixp12x0_io.c was added on branch kqueue on 2002-09-06 08:32:53 +0000
 1.1.4.4  29-Dec-2002  thorpej Sync with HEAD.
 1.1.4.3  11-Dec-2002  thorpej Sync with HEAD.
 1.1.4.2  18-Oct-2002  nathanw Catch up to -current.
 1.1.4.1  15-Jul-2002  nathanw file ixp12x0_io.c was added on branch nathanw_sa on 2002-10-18 02:35:37 +0000
 1.1.2.2  21-Jul-2002  gehenna catch up with -current.
 1.1.2.1  15-Jul-2002  gehenna file ixp12x0_io.c was added on branch gehenna-devsw on 2002-07-21 13:00:30 +0000
 1.7.2.5  11-Dec-2005  christos Sync with head.
 1.7.2.4  01-Apr-2005  skrll Sync with HEAD.
 1.7.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1  03-Aug-2004  skrll Sync with HEAD
 1.9.10.1  28-Jan-2005  yamt convert arch/arm to new apis.
 1.9.8.1  29-Apr-2005  kent sync with -current
 1.10.8.1  29-Nov-2005  yamt sync with head.
 1.10.2.1  21-Jun-2006  yamt sync with head.
 1.11.94.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11.88.1  28-Apr-2009  skrll Sync with HEAD.
 1.11.80.2  11-Mar-2010  yamt sync with head
 1.11.80.1  04-May-2009  yamt sync with head.
 1.15.16.1  18-May-2014  rmind sync with head
 1.15.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.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.17.28.1  22-Mar-2018  pgoyette Synch with HEAD, resolve conflicts

RSS XML Feed