Home | History | Annotate | Download | only in include
History log of /src/sys/arch/luna68k/include/bus.h
RevisionDateAuthorComments
 1.18  27-Jan-2023  tsutsui luna68k: Specify proper constraints for bus_space_read region and multi ops.

Sync with next68k.
 1.17  15-Jan-2023  tsutsui TAB/space/indent cleanup.
 1.16  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.15  02-Apr-2020  msaitoh branches: 1.15.4;
s/impliment/implement/ in comment.
 1.14  23-Sep-2019  skrll Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches
to follow arm and (generic) mips.

Reviewed by christos.
 1.13  07-May-2012  tsutsui branches: 1.13.40;
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.12  12-Feb-2012  matt Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.11  16-Jul-2011  tsutsui branches: 1.11.2; 1.11.6;
Revive NetBSD/luna68k.

Even after almost a lost decade since NetBSD/luna68k was
switched to using ELF format by default back in 2001,
actually only one fix (bus.h) is required for a GENERIC kernel itself
to get multiuser login: prompt on a real hardware. Hurrahhh!!!

Demonstrated with a working Xorg mono server on the NetBSD booth
at Open Source Conference 2011 Kansai @ Kyoto:
http://www.ospn.jp/osc2011-kyoto/

"Very impressed," commented by Tomoko YOSHIDA,
Program Committee Chair of the Conference,
and some other OMRON guys.

Special Thanks to Tadashi Okamura, for providing
a working SX-9100/DT "LUNA" for this mission.


Changes details:

sys/arch/luna68k/include/bus.h
- handle stride properly even on multi and region ops for MI spc(4)
- also fix stride handling of (currently unused) 2 and 4 byte ops

sys/arch/luna68k/conf/Makefile.luna68k
sys/arch/luna68k/conf/kern.ldscript.head
sys/arch/luna68k/conf/kern.ldscript.tail
- build a faked a.out kernel using elf2aout(8) tool
and a linker script derived from cats and shark
for the LUNA firmware that loads a.out binary directly
via network or from a UNIOS partition on a local disk

sys/arch/luna68k/dev/omrasops.c
sys/arch/luna68k/dev/omron_rfont.h
- use the original OMRON font derived from 4.4BSD-Lite/luna68k
rather than gallant19 which is used on Sun workstations
(XXX omrasops.c should be rewritten to use generic wsfont(4))

distrib/luna68k/*
distrib/utils/sysinst/arch/luna68k/*
etc/etc.luna68k/MAKEDEV.conf
etc/etc.luna68k/Makefile.inc
sys/arch/luna68k/conf/INSTALL
- build a ramdisk based INSTALL kernel with sysinst(8) for luna68k
- also build an installation iso image for luna68k

sys/arch/luna68k/conf/GENERIC
- enable SYSVSHM (and other SYSV*) options for Xorg server

More Xorg changes (which need some more cleanup) and
isiboot.c fixes will come soon.
 1.10  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.9  28-Apr-2008  martin branches: 1.9.8; 1.9.14;
Remove clause 3 and 4 from TNF licenses
 1.8  16-Feb-2006  perry branches: 1.8.68; 1.8.70; 1.8.72;
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.7  24-Dec-2005  perry branches: 1.7.2; 1.7.4; 1.7.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.6  11-Dec-2005  christos merge ktrace-lwp.
 1.5  05-Jul-2003  tsutsui branches: 1.5.16;
Add some missing register prefixes.
 1.4  25-Aug-2001  chs branches: 1.4.6; 1.4.22;
add register prefixes. no change in generated .o files.
 1.3  25-Jan-2000  drochner branches: 1.3.6; 1.3.10;
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
device accesses are idempotent (but should not be cached by the CPU)
 1.2  07-Jan-2000  nisimura - Make SCSI work; by kludges of machine/bus.h. TEAC streamer tape drive
found to be tweaked. Need extensive verifications.
- Add wsmouse node under ws; not useful this moment.
 1.1  05-Jan-2000  nisimura Introduce NetBSD/luna68k port into CVS repository.
 1.3.10.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.3.6.2  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.3.6.1  25-Jan-2000  bouyer file bus.h was added on branch thorpej_scsipi on 2000-11-20 20:10:28 +0000
 1.4.22.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.22.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.22.1  03-Aug-2004  skrll Sync with HEAD
 1.4.6.2  25-Aug-2001  chs add register prefixes. no change in generated .o files.
 1.4.6.1  25-Aug-2001  chs file bus.h was added on branch nathanw_sa on 2001-08-25 23:08:40 +0000
 1.5.16.1  21-Jun-2006  yamt sync with head.
 1.7.6.1  22-Apr-2006  simonb Sync with head.
 1.7.4.1  09-Sep-2006  rpaulo sync with head
 1.7.2.1  18-Feb-2006  yamt sync with head.
 1.8.72.2  04-May-2009  yamt sync with head.
 1.8.72.1  16-May-2008  yamt sync with head.
 1.8.70.1  18-May-2008  yamt sync with head.
 1.8.68.1  02-Jun-2008  mjf Sync with HEAD.
 1.9.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.11.6.2  02-Jun-2012  mrg sync to latest -current.
 1.11.6.1  18-Feb-2012  mrg merge to -current.
 1.11.2.2  23-May-2012  yamt sync with head.
 1.11.2.1  17-Apr-2012  yamt sync with head
 1.13.40.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.13.40.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.15.4.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed