Home | History | Annotate | Download | only in include
History log of /src/sys/arch/amiga/include/bus.h
RevisionDateAuthorComments
 1.30  23-Sep-2019  skrll Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches
to follow arm and (generic) mips.

Reviewed by christos.
 1.29  03-Jan-2014  rkujawa branches: 1.29.30;
Rework handling of Commodore Gayle chip. Avoid ugly struct casts, introduce
proper bus_space accesses and some abstraction layer. All drivers that utilised
Gayle also had to be refactored.

I tried not to break anything more, but this clearly needs more testing...
 1.28  22-Dec-2013  rkujawa Add preliminary support for the Individual Computers ACA500 in the form of acahf
driver. If ACA500 is equipped with supported accelerator with MMU, it allows
running NetBSD on an Amiga 500.

Since ACA is not autoconf-aware, and the probe procedure does not exist yet, the
driver is activated with the ACA500_SUPPORT kernel option. The acahf driver
is commented out in the GENERIC kernel for now (at least until it stops being
very experimental and hackish).

When it comes to ACA-specific hardware, for now the boot CF slot works. Support for everything else is incoming...
 1.27  01-Jun-2012  rkujawa branches: 1.27.2; 1.27.4;
More work on PCI memory accesses on empb(4).
 1.26  07-May-2012  tsutsui Add dummy bus_dma(9) typedefs (enabled by __HAVE_NO_BUS_DMA) in <sys/bus.h>
for ports which don't bother to have unnecessary bus_dma(9) implementation
to appease MI driver modules that require bus_dma_tag_t.

For amiga, move <m68k/bus_dma.h> inclusion from <machine/pci_machdep.h>
to <machine/bus.h> since amiga will want actual bus_dma(9) in future
for PCI devices.

Fixes builds on sys/modules/if_axe etc on ancient ports.

"Sounds good" from martin@ on port-m68k@.
 1.25  21-Sep-2011  rkujawa branches: 1.25.2; 1.25.6;
Remove zbusmap prototype from bus.h (now in zbusvar.h)
 1.24  04-Aug-2011  rkujawa Add basic PCI support for amiga port.
Add missing bus_space(9) methods needed for MI PCI.
Add p5pb(4) - Phase5 PCI bridge driver (and the man page).
Add quirks table to zbus(4) - needed for p5pb.
Change approved by phx.
 1.23  03-Feb-2010  phx Ensure reorder protection for amigappc in all bus space functions.
The ne(4) driver (XSurf2), which is the only bus_space device I got,
works now.
 1.22  20-Oct-2009  snj Remove 3rd and 4th clause on Leo Weppelman's license. OK leo@.
 1.21  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.20  11-Dec-2005  christos branches: 1.20.78; 1.20.86; 1.20.92;
merge ktrace-lwp.
 1.19  16-Aug-2004  aymeric add fake bus_space_read_region_stream_4() and bus_space_write_region_stream_4()
macros to cope with the recent wdc_pcmcia changes
 1.18  27-Sep-2002  jdolecek branches: 1.18.6;
add stubs for bus_space_read_stream_4()/bus_space_write_stream_4(),
defined similarily to other bus_space_*_4() as panic()
 1.17  25-Apr-2002  aymeric o replace definitions by declarations in header files
o put definitions where due
o cleanup some types (u_int -> vaddr_t's for example)
o minor other cleanup
 1.16  23-Mar-2000  is branches: 1.16.8; 1.16.12;
Initial IOBlix support. Only lpt and com; lpt untested; com assumes 24 MHz
clock (needs autoprobe of clock speed).
 1.15  04-Mar-2000  aymeric do as if bus_space_read_4() returned an int, although it just calls panic.
 1.14  31-Jan-2000  mhitch Semicolons in the 32-bit macros aren't nice.
Add a stride-4 with swapping bus_space_method for use by MI wdc.
 1.13  23-Jan-2000  aymeric code factorisation and added stride 1 functions
 1.12  30-Dec-1999  is Rewrite of the Amiga bus_space machinery to prepare for the support of
the generic IDE driver and the PCMCIA slots.
 1.11  20-Apr-1999  is branches: 1.11.2;
Add dummy bus_space_barrier method, like mac68k
 1.10  23-Mar-1999  drochner branches: 1.10.2;
Add a macro to check for sufficient pointer alignment in bus.h context,
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
 1.9  08-Nov-1998  is - declare method arrays in bus.h
- add interleaved_wordaccess method array
 1.8  07-Nov-1998  is Fix typo.
 1.7  07-Nov-1998  is We didn't really implement bus_space_{read,write}_stream_N, but
bus_space_{read,write}_region_stream_N. Correct the names.
 1.6  12-Oct-1998  is Make the data pointer of the write_multi, write_region and write_stream
methods const *.
 1.5  12-Oct-1998  is - add bus_space_{copy,set}_region_{1,2} support and implementation for
_1 and for _2 in the contiguous and interleaved case.

- while we're here, reorganize bus.h into sections, and use the defined
convenience functions everywhere.
 1.4  08-Oct-1998  is - define framework for >8bit transfers
- implement 16 bit contiguous and 16 bit interleaved, both big-endian
 1.3  02-Sep-1998  is Add bus_space_read_region_1/bus_space_write_region_1 to the Amiga bus.h.
 1.2  22-Mar-1998  is Add bus_space_subregion().
 1.1  27-Aug-1997  is branches: 1.1.2;
Amiga port bus.h. Currenlty, only the _1 functions are implemented.
 1.1.2.2  01-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.1.2.1  27-Aug-1997  thorpej file bus.h was added on branch marc-pcmcia on 1997-09-01 20:06:44 +0000
 1.10.2.1  20-Apr-1999  perry branches: 1.10.2.1.2;
pullup 1.10->1.11 (is)
 1.10.2.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.11.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

I updated the amiga SCSI drivers, but completely untested yet (may not even
compile)
 1.16.12.2  18-Oct-2002  nathanw Catch up to -current.
 1.16.12.1  20-Jun-2002  nathanw Catch up to -current.
 1.16.8.2  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.16.8.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.18.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.18.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.18.6.1  25-Aug-2004  skrll Sync with HEAD.
 1.20.92.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.20.86.1  28-Apr-2009  skrll Sync with HEAD.
 1.20.78.2  11-Mar-2010  yamt sync with head
 1.20.78.1  04-May-2009  yamt sync with head.
 1.25.6.1  02-Jun-2012  mrg sync to latest -current.
 1.25.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.25.2.2  30-Oct-2012  yamt sync with head
 1.25.2.1  23-May-2012  yamt sync with head.
 1.27.4.1  18-May-2014  rmind sync with head
 1.27.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.29.30.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed