History log of /src/sys/arch/mac68k/include/bus.h |
Revision | | Date | Author | Comments |
1.30 |
| 23-Jan-2021 |
christos | Remove cargo-culted '#if 0' code that was designed to produce a compile-time error if any of the bus_space_*_8 functions was used, but was documented that it produces a link-time error.
|
1.29 |
| 02-Apr-2020 |
msaitoh | branches: 1.29.4; s/impliment/implement/ in comment.
|
1.28 |
| 23-Sep-2019 |
skrll | Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches to follow arm and (generic) mips.
Reviewed by christos.
|
1.27 |
| 23-Jul-2019 |
rin | PR port-mac68k/24883
Style-only changes in preparation to import AV DMA code:
- G/C unused from esp_softc - clean up headers: - prefer <sys/bus.h> over <machine/bus.h> - G/C unused - sort - staticify private functions and variables - stop using inline qualifier for functions called via function pointers - use C99 initializer - provide bus_space_vaddr(9) and use it, instead of using member of bus_handle_t directly - use uint*_t: - u_char --> uint8_t - u_int*_t --> uint*_t - use proper names from ncr53c9xreg.h instead of magic numbers - and some KNF, and etc.
No functional changes intended.
|
1.26 |
| 28-Apr-2008 |
martin | branches: 1.26.88; Remove clause 3 and 4 from TNF licenses
|
1.25 |
| 09-Sep-2006 |
tsutsui | branches: 1.25.54; 1.25.56; 1.25.58; Apply patch in PR port-mac68k/33636 from Dave Huang (with wrapping long lines). i.e. args in macro should be wrapped with parentheses.
|
1.24 |
| 16-Feb-2006 |
perry | branches: 1.24.2; 1.24.12; 1.24.14; Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
1.23 |
| 24-Dec-2005 |
perry | branches: 1.23.2; 1.23.4; 1.23.6; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
1.22 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.21 |
| 15-Jan-2005 |
chs | branches: 1.21.8; 1.21.10; de-__P, remove register, ansify, b* -> mem*.
|
1.20 |
| 10-Apr-2002 |
briggs | branches: 1.20.10; 1.20.16; Use m68k/m68k/cacheops.[ch] Use m68k/m68k/bus_dma.c - Add mainbus_attach_args with bus_space_tag_t and bus_dma_tag_t. - Use passed-in tags for nubus scan.
|
1.19 |
| 09-Apr-2002 |
briggs | Constify bus_space_write_multi_N() and bus_space_write_region_N(). Addresses PR port-mac68k/16233.
|
1.18 |
| 14-Sep-2001 |
briggs | branches: 1.18.4; Define __BUS_SPACE_HAS_STREAM_METHODS since the functions are there. Noted on tech-kern & port-mac68k by "John Ruschmeyer" <jruschme@mac.com>.
|
1.17 |
| 31-Jul-2000 |
briggs | branches: 1.17.2; 1.17.4; Add bus_space_*_stream_N functions.
|
1.16 |
| 31-Jul-2000 |
briggs | Add a DIAGNOSTIC panic if (count-using) bus_space macros are called with a count of zero. Some drivers do this accidentally and some bus_space implementations will fail if count is passed as zero (they are set up in a do-{}-while structure).
|
1.15 |
| 30-Jul-2000 |
briggs | Make sure that bus_space read/write functions that take a count will not be called if count is zero. The smc91cxx driver, for example, may try to call bus_space_write_multi_2() with a count of 0.
|
1.14 |
| 30-Jul-2000 |
briggs | Add byte-swap and stride options to bus_space. Allocate as normal, then call mac68k_bus_space_handle_swapped() or mac68k_bus_space_handle_set_stride(). Stride is untested. Swapped code works for SMC ethernet.
|
1.13 |
| 25-Jan-2000 |
drochner | branches: 1.13.4; define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that device accesses are idempotent (but should not be cached by the CPU)
|
1.12 |
| 23-Mar-1999 |
drochner | branches: 1.12.8; 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.11 |
| 06-Jan-1999 |
briggs | branches: 1.11.2; Fix PR port-mac68k/6665 from Paul Goyette with some minor mods. Cast values is bus_space macros to the appropriate types so we end up with valid assembly.
|
1.10 |
| 16-Aug-1998 |
scottr | Remove semicolons from the end of bus_space_*_multi_*(). From Ken Nakata in PR 5965.
|
1.9 |
| 13-Jan-1998 |
scottr | Conform to spec, and make bus_space_copy() handle overlapping copies. From Jason Thorpe.
|
1.8 |
| 10-Oct-1997 |
scottr | Remove advertising clause.
|
1.7 |
| 04-Oct-1997 |
thorpej | Copyright assigned to The NetBSD Foundation.
|
1.6 |
| 24-Feb-1997 |
scottr | branches: 1.6.4; The bus space tag really isn't used; stop the compiler from complaining.
|
1.5 |
| 22-Feb-1997 |
scottr | Remove niggles that made it into the copyright, and correct the license terms (added Jason Thorpe).
|
1.4 |
| 20-Feb-1997 |
scottr | Implement bus_space_set_multi_N(), bus_space_set_region_N(), and bus_space_copy_N(). Bus space support is now complete.
|
1.3 |
| 14-Feb-1997 |
scottr | Add prototypes for bus_space_alloc() and bus_space_free()
|
1.2 |
| 11-Feb-1997 |
scottr | Initialize and use extent manager for bus space mapping functions. Tweak bus_space_{tag,handle}_t types slightly to facilitate this.
|
1.1 |
| 03-Feb-1997 |
scottr | branches: 1.1.2; Implement basic bus space access macros/functions.
Note: we currently do not use the extent manager.
|
1.1.2.1 |
| 12-Mar-1997 |
is | Merge in changes from The Trunk, partially just reimplementing newarp.
|
1.6.4.1 |
| 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.11.2.2 |
| 13-Feb-2000 |
scottr | Sync with main branch.
|
1.11.2.1 |
| 16-May-1999 |
scottr | Sync with main branch.
|
1.12.8.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.
|
1.13.4.2 |
| 08-Oct-2001 |
he | Pull up revision 1.18 (requested by briggs): Define __BUS_SPACE_HAS_STREAM_METHODS since that fits what we have.
|
1.13.4.1 |
| 06-Aug-2000 |
briggs | Pullups approved by thorpej -- Add byte-swap and stride options to bus_space. Allocate as normal, then call mac68k_bus_space_handle_swapped() or mac68k_bus_space_handle_set_stride(). Stride is untested. Swapped code works for SMC ethernet.
Add bus_space_*_stream_N functions to bus_space.
Add a DIAGNOSTIC panic if (count-using) bus_space macros are called with a count of zero. Some drivers do this accidentally and some bus_space implementations will fail if count is passed as zero (they are set up in a do-{}-while structure).
There were some bogus assumptions about bus_space_handle_t and some function calls that didn't match prototypes--fix those here, too.
|
1.17.4.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.17.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.17.2.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.18.4.2 |
| 17-Apr-2002 |
nathanw | Catch up to -current.
|
1.18.4.1 |
| 14-Sep-2001 |
nathanw | file bus.h was added on branch nathanw_sa on 2002-04-17 00:03:33 +0000
|
1.20.16.1 |
| 12-Sep-2006 |
tron | Pull up following revision(s) (requested by tsutsui in ticket #10692): sys/arch/mac68k/include/bus.h: revision 1.25 Apply patch in PR port-mac68k/33636 from Dave Huang (with wrapping long lines). i.e. args in macro should be wrapped with parentheses.
|
1.20.10.1 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.21.10.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.21.8.1 |
| 16-Sep-2006 |
ghen | Pull up following revision(s) (requested by tsutsui in ticket #1512): sys/arch/mac68k/include/bus.h: revision 1.25 sys/arch/mac68k/dev/if_ae.c: revision 1.78 Apply patch from Scott Reynolds in PR port-mac68k/32583 with some tweaks (add a comment and macro): Handle odd byte case correctly in (ETHER_MIN_LEN-ETHER_CRC_LEN) padding so that bus_space_set_region_2() won't be called with count==0. Apply patch in PR port-mac68k/33636 from Dave Huang (with wrapping long lines). i.e. args in macro should be wrapped with parentheses.
|
1.23.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.23.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.23.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.24.14.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.24.12.1 |
| 14-Sep-2006 |
riz | Pull up following revision(s) (requested by tsutsui in ticket #154): sys/arch/mac68k/include/bus.h: revision 1.25 sys/arch/mac68k/dev/if_ae.c: revision 1.78 Apply patch from Scott Reynolds in PR port-mac68k/32583 with some tweaks (add a comment and macro): Handle odd byte case correctly in (ETHER_MIN_LEN-ETHER_CRC_LEN) padding so that bus_space_set_region_2() won't be called with count==0. Apply patch in PR port-mac68k/33636 from Dave Huang (with wrapping long lines). i.e. args in macro should be wrapped with parentheses.
|
1.24.2.1 |
| 14-Sep-2006 |
yamt | sync with head.
|
1.25.58.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.25.56.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.25.54.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.26.88.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.26.88.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.29.4.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|