History log of /netbsd-current/sys/arch/mac68k/conf/files.mac68k
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.133 13-Mar-2024 nat

Apple Sound Chip audio support for 68k Macintoshoes.

This provies a sound device and support for wsbell(4).

Manual page to be added in a followup commit.

As posted to port-mac68k.


# 1.132 09-Jan-2024 thorpej

Remove duplicated / slightly-tweaked loadustp() (load user segment table)
routines from all of the m68k ports using the shared pmap. Instead, in
pmap_init(), set up a function pointer to the appropriate mmu_load_urp*()
function in mmu_subr.s.


Revision tags: netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.131 26-Feb-2021 rin

Add MAC68K_MEMSIZE option to hard-code memory size in MB, instead of
that given by Booter. Work around Booter bug by which max memory is
restricted to 255MB.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.130 22-Aug-2019 rin

branches: 1.130.8;
G/C obsoleted


Revision tags: netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.129 26-Jul-2019 rin

branches: 1.129.2;
Add genfb(4) driver for mac68k grfbus.
1, 2, 4, 8, 15, and 32 color-depths are supported.

ANSI colors on console are functional for depth >= 4.

Graphic applications based on wsfb API should work, provided
they can correctly handle fbi_fboffset and your color depth.

wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of
x11/mlterm) work fine for depth == 1 || depth >= 8.

For depth == 8 (256 colors), graphic applications require
colormap callback, which is currently supported for some
internal graphic adapters, and only Civic (found on Quadra
AV series) was tested. Register definition and its usage are
taken from Linux. You can easily support other adapters if
Linux supports that.

Have fun, and any problem reports are welcomed!


Revision tags: phil-wifi-20190609 isaki-audio2-base
# 1.128 18-Feb-2019 thorpej

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.127 19-Dec-2018 maxv

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.126 25-Feb-2018 mrg

branches: 1.126.2; 1.126.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base
# 1.125 15-Nov-2011 tsutsui

Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).
Tested on TT030, Sun3/80, and X68030.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.124 12-Jun-2011 rmind

branches: 1.124.2;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 rmind-uvmplock-base jym-xensuspend-base
# 1.123 06-Jun-2010 mrg

branches: 1.123.6;
defflag GRF_COMPAT.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.122 22-May-2008 hauke

branches: 1.122.18; 1.122.20;
Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.121 20-Feb-2008 drochner

branches: 1.121.6; 1.121.8; 1.121.10; 1.121.12;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.


Revision tags: bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 mjf-devfs-base vmlocking-nbase matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.120 03-Dec-2007 ad

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.


Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
# 1.119 17-Oct-2007 garbled

branches: 1.119.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
# 1.118 10-Jun-2007 tsutsui

branches: 1.118.8; 1.118.10;
Switch mac68k's sn(4) Ethernet to MI SONIC driver.

Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.


# 1.117 02-Jun-2007 tsutsui

Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.


Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
# 1.116 08-Mar-2007 tsutsui

branches: 1.116.2; 1.116.4; 1.116.10;
MI softintr(9)'fy.
Probably problematic, but LC630 is running at single user.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.115 11-Dec-2005 christos

branches: 1.115.26;
merge ktrace-lwp.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base ktrace-lwp-base
# 1.114 19-Jan-2005 chs

branches: 1.114.8;
only one of the obio locators was actually used, so get rid of the others
and collapse the two variations of obio into one. use the remaining locator
("addr") to differentiate the two possible esp and sbc devices (instead of
using the unit number).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.113 14-Nov-2004 christos

branches: 1.113.4;
use the common procfs_machdep.c


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.112 05-Nov-2002 chs

branches: 1.112.6;
merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.


# 1.111 03-Nov-2002 chs

use a merged sys_machdep.c for all the motorola-MMU m68k platforms.


# 1.110 03-Nov-2002 chs

merge all the m68k copies of kgdb_machdep.c.


# 1.109 02-Nov-2002 chs

enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.108 20-Oct-2002 chs

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.


Revision tags: kqueue-base
# 1.107 06-Sep-2002 gehenna

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.


Revision tags: gehenna-devsw-base
# 1.106 19-Jun-2002 itojun

netdock* - ethernet driver for Asante NetDock/Newer Ether MicroDock.
by Daishi Kato <daishi@axlight.com>
test/stabilization by Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.105 27-Apr-2002 shiba

branches: 1.105.2;
Add IDE drive support.

Note:
(1) Character device major number chages to 49 from 48(in my original
code). So it is necessary to rebuild device files.
(2) Must use Booter 2.0.0a10 or later.
(3) Default mode is cpu busy wait. It is defined by flags 0x1000.
It will be more slow than before.
No flags means hardware interrupt mode. But it might be able to
get no interrupts.

Support machines:
(1) Quadra 630 series
(2) PowerBook 150

Non tested machine:
(1) PowerBook 190 series

Approved by: briggs


# 1.104 16-Apr-2002 thorpej

* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.


# 1.103 10-Apr-2002 briggs

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.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.102 21-Jan-2002 jdolecek

Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).


# 1.101 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.100 20-Nov-2001 lukem

cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""


# 1.99 20-Nov-2001 chs

include COMPAT_AOUT_M68K stuff.


Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.98 18-Jun-2001 christos

branches: 1.98.2; 1.98.8;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.97 17-Jan-2001 fvdl

branches: 1.97.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.


# 1.96 30-Jul-2000 briggs

Add nubus attachment for smc91cxx driver.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.95 27-Mar-2000 scottr

branches: 1.95.4;
The declaration for esp has moved to conf/files. (Hi Charles!)


# 1.94 14-Mar-2000 oster

Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)


# 1.93 14-Feb-2000 scottr

Merge wscons work onto the main development branch.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base scottr-mac68k-wscons-base chs-ubc2-base
# 1.92 28-Jun-1999 itojun

branches: 1.92.2;
- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.


# 1.91 28-Jun-1999 briggs

Unfortunately, several changes that are intermingled:
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.


# 1.90 07-Jun-1999 thorpej

Only declare block major numbers for devices which can be the root device.


# 1.89 19-Apr-1999 kleink

Add COMPAT_SVR4 for m68k.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.88 18-Feb-1999 scottr

branches: 1.88.2; 1.88.6; 1.88.8;
Add support for the IWM driver.


# 1.87 15-Dec-1998 itohy

Added COMPAT_LINUX support.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.86 23-Oct-1998 ender

New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)


# 1.85 22-Oct-1998 scottr

Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.


# 1.84 12-Aug-1998 scottr

New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.


Revision tags: eeh-paddr_t-base
# 1.83 01-Jul-1998 scottr

Add a GRF_COMPAT option so that old-style grf ioctl() code can be
removed from the kernel.


# 1.82 31-May-1998 thorpej

Build pmap_boostrap.o without profiling; we can't call mcount before the
mmu is enabled!


# 1.81 02-May-1998 scottr

Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.


# 1.80 24-Apr-1998 scottr

Pull in a few more kgdb-related bits. Getting there...


# 1.79 31-Mar-1998 ender

Add the newly created bus_space.c so it gets compiled.


# 1.78 21-Feb-1998 scottr

Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.


# 1.77 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.76 01-Feb-1998 is

Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.


# 1.75 12-Jan-1998 thorpej

Update for changes to config.


# 1.74 04-Nov-1997 briggs

Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.


Revision tags: netbsd-1-3-base
# 1.73 20-Oct-1997 scottr

branches: 1.73.2;
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
also supports DTR/CTS flow control.


Revision tags: thorpej-signal-base marc-pcmcia-base
# 1.72 27-Aug-1997 bouyer

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.


Revision tags: marc-pcmcia-bp
# 1.71 29-Apr-1997 scottr

branches: 1.71.2; 1.71.4;
Use the new 8390 driver back end.


# 1.70 14-Apr-1997 scottr

Direct config to create an MRG_ADB option header.


# 1.69 11-Apr-1997 scottr

Use common m68k sig_machdep.c, removing our local copies of these.


# 1.68 09-Apr-1997 thorpej

Remove redundant file directives.


# 1.67 08-Apr-1997 scottr

Make new ADB driver the default.


# 1.66 21-Mar-1997 scottr

Clean up after arp conversion; from Erik Bertelsen, closes PR 3372.


# 1.65 17-Mar-1997 gwr

Separate bcopy and copypage stuff from copy.s


# 1.64 15-Mar-1997 briggs

Add SONIC driver. Works on my Q700. Untested elsewhere.


# 1.63 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.62 06-Mar-1997 briggs

Undo some damage that CVS somehow let me get away with.


# 1.61 01-Mar-1997 scottr

Adapt to sbc driver/attachment split


# 1.60 27-Feb-1997 briggs

Add ncr53c9x flag to esp.


# 1.59 24-Feb-1997 scottr

Update to reflect ae driver/attachment code split


# 1.58 13-Feb-1997 scottr

Split the obio interface into two forms: optional address only for most
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380). Update all obio-attached drivers
appropriately.

Also, attach fpu to mainbus, rather than obio.


# 1.57 11-Feb-1997 scottr

Add an addr locator to obio.


# 1.56 10-Feb-1997 scottr

Add needs-flag to asc driver


Revision tags: is-newarp-base
# 1.55 21-Jan-1997 thorpej

branches: 1.55.2;
"md" is declared in sys/conf/files, now.


# 1.54 20-Jan-1997 scottr

Minor formatting cleanup, and remove an old comment


# 1.53 28-Dec-1996 pk

branches: 1.53.2;
rename: ramdisk => md


# 1.52 29-Oct-1996 briggs

ncr96scsi -> esp for consistency with sparc and alpha.


# 1.51 22-Sep-1996 scottr

Update for recent config(8) changes.


# 1.50 05-Aug-1996 scottr

Attach ite semantics to the appropriate grf device, instead of obio.


# 1.49 19-Jun-1996 scottr

Completely revamp setroot() and friends. Since Chris' version of this code
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.

- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.

Also, update/add copyrights as appropriate.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.48 19-May-1996 scottr

Update for new grf attachment code.


# 1.47 18-May-1996 briggs

Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver. When that driver is updated, the local copy
of those files may be removed. From Bill Studenmund.
Compiler warnings fixed by me.


# 1.46 06-May-1996 scottr

Update for renamed sbc driver files


# 1.45 05-May-1996 briggs

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.


# 1.44 29-Apr-1996 scottr

Remove trash left from a merge (probably really my fault).


# 1.43 28-Apr-1996 briggs

shuffle some and change rd to pseudo-device.


# 1.42 25-Apr-1996 scottr

Renamed the sbc driver files


# 1.41 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.40 22-Feb-1996 gwr

Add m68k/db_memrw.c


# 1.39 07-Feb-1996 scottr

Add sbc driver.


# 1.38 02-Feb-1996 mycroft

Don't special-case conf.c.


# 1.37 21-Nov-1995 briggs

RAMDISK stuff.


# 1.36 03-Nov-1995 briggs

include files.fpe instead of just fpu_emulate.c--to get the new fpe code.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.35 03-Sep-1995 briggs

Make the new m.i. scsi driver the default.


# 1.34 01-Jul-1995 briggs

add needs-flag for the scsi chip interfaces.


# 1.33 21-Jun-1995 briggs

Add pmap_bootstrap.c and take out mac68k_init.c.


# 1.32 29-Apr-1995 briggs

Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.


# 1.31 27-Apr-1995 christos

Use new files.sunos


# 1.30 22-Apr-1995 christos

Move sunos_machdep.c to m68k


# 1.29 22-Apr-1995 christos

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.


# 1.28 21-Apr-1995 briggs

Get rid of old file from hp300 origins!?


# 1.27 20-Apr-1995 briggs

include mi scsi files file.
Change several devices from needs-count to needs-flag.


# 1.26 11-Apr-1995 mellon

Reference cninit.c as well as cons.c


# 1.25 29-Mar-1995 briggs

Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.


# 1.24 11-Mar-1995 briggs

Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.


# 1.23 15-Feb-1995 briggs

Update to add pramasm.s.


# 1.22 05-Feb-1995 briggs

Add major for vnd.


# 1.21 25-Jan-1995 cgd

add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.


# 1.20 21-Jan-1995 briggs

sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.


# 1.19 03-Dec-1994 briggs

Mac ROM Glue changes from grantham@tenon.com.


# 1.18 27-Nov-1994 briggs

compat/sunos/sun_* -> compat/sunos/sunos_*


# 1.17 27-Nov-1994 briggs

Attempt to use sys/scsi.


# 1.16 26-Oct-1994 cgd

new RCS ID format.


# 1.15 12-Sep-1994 briggs

Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.


# 1.14 21-Jul-1994 briggs

Add asc as a device. Format a tad.


# 1.13 09-Jul-1994 briggs

Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.


# 1.12 26-Jun-1994 briggs

branches: 1.12.2;
Erf. Forgot to put mac68k_init.c in alphabetically.


# 1.11 26-Jun-1994 briggs

Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.


# 1.10 25-Jun-1994 briggs

Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup. copy.s added to files.


# 1.9 27-Feb-1994 briggs

Add files for compat_sunos. Shouldn't these be in sys/conf/files.newconf?


# 1.8 22-Feb-1994 briggs

Add fpu.c and alphabetize a bunch.


# 1.7 30-Jan-1994 briggs

Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
as was the old stuff.


# 1.6 20-Jan-1994 briggs

Make uk and su look like devices. Haven't tried compiling uk. su is still
nothing.


# 1.5 10-Jan-1994 briggs

Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.


# 1.4 08-Jan-1994 cgd

kill entries duplicated in files.m68k.newconf


# 1.3 21-Dec-1993 briggs

Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.


# 1.2 15-Dec-1993 briggs

Let's try DDB...


# 1.1 02-Dec-1993 briggs

Migrate to new MACHINE definition (mac -> mac68k).


# 1.132 09-Jan-2024 thorpej

Remove duplicated / slightly-tweaked loadustp() (load user segment table)
routines from all of the m68k ports using the shared pmap. Instead, in
pmap_init(), set up a function pointer to the appropriate mmu_load_urp*()
function in mmu_subr.s.


Revision tags: netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.131 26-Feb-2021 rin

Add MAC68K_MEMSIZE option to hard-code memory size in MB, instead of
that given by Booter. Work around Booter bug by which max memory is
restricted to 255MB.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.130 22-Aug-2019 rin

branches: 1.130.8;
G/C obsoleted


Revision tags: netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.129 26-Jul-2019 rin

branches: 1.129.2;
Add genfb(4) driver for mac68k grfbus.
1, 2, 4, 8, 15, and 32 color-depths are supported.

ANSI colors on console are functional for depth >= 4.

Graphic applications based on wsfb API should work, provided
they can correctly handle fbi_fboffset and your color depth.

wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of
x11/mlterm) work fine for depth == 1 || depth >= 8.

For depth == 8 (256 colors), graphic applications require
colormap callback, which is currently supported for some
internal graphic adapters, and only Civic (found on Quadra
AV series) was tested. Register definition and its usage are
taken from Linux. You can easily support other adapters if
Linux supports that.

Have fun, and any problem reports are welcomed!


Revision tags: phil-wifi-20190609 isaki-audio2-base
# 1.128 18-Feb-2019 thorpej

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.127 19-Dec-2018 maxv

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.126 25-Feb-2018 mrg

branches: 1.126.2; 1.126.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base
# 1.125 15-Nov-2011 tsutsui

Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).
Tested on TT030, Sun3/80, and X68030.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.124 12-Jun-2011 rmind

branches: 1.124.2;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 rmind-uvmplock-base jym-xensuspend-base
# 1.123 06-Jun-2010 mrg

branches: 1.123.6;
defflag GRF_COMPAT.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.122 22-May-2008 hauke

branches: 1.122.18; 1.122.20;
Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.121 20-Feb-2008 drochner

branches: 1.121.6; 1.121.8; 1.121.10; 1.121.12;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.


Revision tags: bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 mjf-devfs-base vmlocking-nbase matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.120 03-Dec-2007 ad

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.


Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
# 1.119 17-Oct-2007 garbled

branches: 1.119.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
# 1.118 10-Jun-2007 tsutsui

branches: 1.118.8; 1.118.10;
Switch mac68k's sn(4) Ethernet to MI SONIC driver.

Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.


# 1.117 02-Jun-2007 tsutsui

Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.


Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
# 1.116 08-Mar-2007 tsutsui

branches: 1.116.2; 1.116.4; 1.116.10;
MI softintr(9)'fy.
Probably problematic, but LC630 is running at single user.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.115 11-Dec-2005 christos

branches: 1.115.26;
merge ktrace-lwp.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base ktrace-lwp-base
# 1.114 19-Jan-2005 chs

branches: 1.114.8;
only one of the obio locators was actually used, so get rid of the others
and collapse the two variations of obio into one. use the remaining locator
("addr") to differentiate the two possible esp and sbc devices (instead of
using the unit number).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.113 14-Nov-2004 christos

branches: 1.113.4;
use the common procfs_machdep.c


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.112 05-Nov-2002 chs

branches: 1.112.6;
merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.


# 1.111 03-Nov-2002 chs

use a merged sys_machdep.c for all the motorola-MMU m68k platforms.


# 1.110 03-Nov-2002 chs

merge all the m68k copies of kgdb_machdep.c.


# 1.109 02-Nov-2002 chs

enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.108 20-Oct-2002 chs

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.


Revision tags: kqueue-base
# 1.107 06-Sep-2002 gehenna

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.


Revision tags: gehenna-devsw-base
# 1.106 19-Jun-2002 itojun

netdock* - ethernet driver for Asante NetDock/Newer Ether MicroDock.
by Daishi Kato <daishi@axlight.com>
test/stabilization by Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.105 27-Apr-2002 shiba

branches: 1.105.2;
Add IDE drive support.

Note:
(1) Character device major number chages to 49 from 48(in my original
code). So it is necessary to rebuild device files.
(2) Must use Booter 2.0.0a10 or later.
(3) Default mode is cpu busy wait. It is defined by flags 0x1000.
It will be more slow than before.
No flags means hardware interrupt mode. But it might be able to
get no interrupts.

Support machines:
(1) Quadra 630 series
(2) PowerBook 150

Non tested machine:
(1) PowerBook 190 series

Approved by: briggs


# 1.104 16-Apr-2002 thorpej

* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.


# 1.103 10-Apr-2002 briggs

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.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.102 21-Jan-2002 jdolecek

Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).


# 1.101 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.100 20-Nov-2001 lukem

cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""


# 1.99 20-Nov-2001 chs

include COMPAT_AOUT_M68K stuff.


Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.98 18-Jun-2001 christos

branches: 1.98.2; 1.98.8;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.97 17-Jan-2001 fvdl

branches: 1.97.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.


# 1.96 30-Jul-2000 briggs

Add nubus attachment for smc91cxx driver.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.95 27-Mar-2000 scottr

branches: 1.95.4;
The declaration for esp has moved to conf/files. (Hi Charles!)


# 1.94 14-Mar-2000 oster

Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)


# 1.93 14-Feb-2000 scottr

Merge wscons work onto the main development branch.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base scottr-mac68k-wscons-base chs-ubc2-base
# 1.92 28-Jun-1999 itojun

branches: 1.92.2;
- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.


# 1.91 28-Jun-1999 briggs

Unfortunately, several changes that are intermingled:
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.


# 1.90 07-Jun-1999 thorpej

Only declare block major numbers for devices which can be the root device.


# 1.89 19-Apr-1999 kleink

Add COMPAT_SVR4 for m68k.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.88 18-Feb-1999 scottr

branches: 1.88.2; 1.88.6; 1.88.8;
Add support for the IWM driver.


# 1.87 15-Dec-1998 itohy

Added COMPAT_LINUX support.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.86 23-Oct-1998 ender

New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)


# 1.85 22-Oct-1998 scottr

Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.


# 1.84 12-Aug-1998 scottr

New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.


Revision tags: eeh-paddr_t-base
# 1.83 01-Jul-1998 scottr

Add a GRF_COMPAT option so that old-style grf ioctl() code can be
removed from the kernel.


# 1.82 31-May-1998 thorpej

Build pmap_boostrap.o without profiling; we can't call mcount before the
mmu is enabled!


# 1.81 02-May-1998 scottr

Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.


# 1.80 24-Apr-1998 scottr

Pull in a few more kgdb-related bits. Getting there...


# 1.79 31-Mar-1998 ender

Add the newly created bus_space.c so it gets compiled.


# 1.78 21-Feb-1998 scottr

Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.


# 1.77 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.76 01-Feb-1998 is

Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.


# 1.75 12-Jan-1998 thorpej

Update for changes to config.


# 1.74 04-Nov-1997 briggs

Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.


Revision tags: netbsd-1-3-base
# 1.73 20-Oct-1997 scottr

branches: 1.73.2;
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
also supports DTR/CTS flow control.


Revision tags: thorpej-signal-base marc-pcmcia-base
# 1.72 27-Aug-1997 bouyer

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.


Revision tags: marc-pcmcia-bp
# 1.71 29-Apr-1997 scottr

branches: 1.71.2; 1.71.4;
Use the new 8390 driver back end.


# 1.70 14-Apr-1997 scottr

Direct config to create an MRG_ADB option header.


# 1.69 11-Apr-1997 scottr

Use common m68k sig_machdep.c, removing our local copies of these.


# 1.68 09-Apr-1997 thorpej

Remove redundant file directives.


# 1.67 08-Apr-1997 scottr

Make new ADB driver the default.


# 1.66 21-Mar-1997 scottr

Clean up after arp conversion; from Erik Bertelsen, closes PR 3372.


# 1.65 17-Mar-1997 gwr

Separate bcopy and copypage stuff from copy.s


# 1.64 15-Mar-1997 briggs

Add SONIC driver. Works on my Q700. Untested elsewhere.


# 1.63 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.62 06-Mar-1997 briggs

Undo some damage that CVS somehow let me get away with.


# 1.61 01-Mar-1997 scottr

Adapt to sbc driver/attachment split


# 1.60 27-Feb-1997 briggs

Add ncr53c9x flag to esp.


# 1.59 24-Feb-1997 scottr

Update to reflect ae driver/attachment code split


# 1.58 13-Feb-1997 scottr

Split the obio interface into two forms: optional address only for most
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380). Update all obio-attached drivers
appropriately.

Also, attach fpu to mainbus, rather than obio.


# 1.57 11-Feb-1997 scottr

Add an addr locator to obio.


# 1.56 10-Feb-1997 scottr

Add needs-flag to asc driver


Revision tags: is-newarp-base
# 1.55 21-Jan-1997 thorpej

branches: 1.55.2;
"md" is declared in sys/conf/files, now.


# 1.54 20-Jan-1997 scottr

Minor formatting cleanup, and remove an old comment


# 1.53 28-Dec-1996 pk

branches: 1.53.2;
rename: ramdisk => md


# 1.52 29-Oct-1996 briggs

ncr96scsi -> esp for consistency with sparc and alpha.


# 1.51 22-Sep-1996 scottr

Update for recent config(8) changes.


# 1.50 05-Aug-1996 scottr

Attach ite semantics to the appropriate grf device, instead of obio.


# 1.49 19-Jun-1996 scottr

Completely revamp setroot() and friends. Since Chris' version of this code
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.

- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.

Also, update/add copyrights as appropriate.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.48 19-May-1996 scottr

Update for new grf attachment code.


# 1.47 18-May-1996 briggs

Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver. When that driver is updated, the local copy
of those files may be removed. From Bill Studenmund.
Compiler warnings fixed by me.


# 1.46 06-May-1996 scottr

Update for renamed sbc driver files


# 1.45 05-May-1996 briggs

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.


# 1.44 29-Apr-1996 scottr

Remove trash left from a merge (probably really my fault).


# 1.43 28-Apr-1996 briggs

shuffle some and change rd to pseudo-device.


# 1.42 25-Apr-1996 scottr

Renamed the sbc driver files


# 1.41 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.40 22-Feb-1996 gwr

Add m68k/db_memrw.c


# 1.39 07-Feb-1996 scottr

Add sbc driver.


# 1.38 02-Feb-1996 mycroft

Don't special-case conf.c.


# 1.37 21-Nov-1995 briggs

RAMDISK stuff.


# 1.36 03-Nov-1995 briggs

include files.fpe instead of just fpu_emulate.c--to get the new fpe code.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.35 03-Sep-1995 briggs

Make the new m.i. scsi driver the default.


# 1.34 01-Jul-1995 briggs

add needs-flag for the scsi chip interfaces.


# 1.33 21-Jun-1995 briggs

Add pmap_bootstrap.c and take out mac68k_init.c.


# 1.32 29-Apr-1995 briggs

Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.


# 1.31 27-Apr-1995 christos

Use new files.sunos


# 1.30 22-Apr-1995 christos

Move sunos_machdep.c to m68k


# 1.29 22-Apr-1995 christos

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.


# 1.28 21-Apr-1995 briggs

Get rid of old file from hp300 origins!?


# 1.27 20-Apr-1995 briggs

include mi scsi files file.
Change several devices from needs-count to needs-flag.


# 1.26 11-Apr-1995 mellon

Reference cninit.c as well as cons.c


# 1.25 29-Mar-1995 briggs

Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.


# 1.24 11-Mar-1995 briggs

Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.


# 1.23 15-Feb-1995 briggs

Update to add pramasm.s.


# 1.22 05-Feb-1995 briggs

Add major for vnd.


# 1.21 25-Jan-1995 cgd

add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.


# 1.20 21-Jan-1995 briggs

sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.


# 1.19 03-Dec-1994 briggs

Mac ROM Glue changes from grantham@tenon.com.


# 1.18 27-Nov-1994 briggs

compat/sunos/sun_* -> compat/sunos/sunos_*


# 1.17 27-Nov-1994 briggs

Attempt to use sys/scsi.


# 1.16 26-Oct-1994 cgd

new RCS ID format.


# 1.15 12-Sep-1994 briggs

Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.


# 1.14 21-Jul-1994 briggs

Add asc as a device. Format a tad.


# 1.13 09-Jul-1994 briggs

Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.


# 1.12 26-Jun-1994 briggs

branches: 1.12.2;
Erf. Forgot to put mac68k_init.c in alphabetically.


# 1.11 26-Jun-1994 briggs

Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.


# 1.10 25-Jun-1994 briggs

Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup. copy.s added to files.


# 1.9 27-Feb-1994 briggs

Add files for compat_sunos. Shouldn't these be in sys/conf/files.newconf?


# 1.8 22-Feb-1994 briggs

Add fpu.c and alphabetize a bunch.


# 1.7 30-Jan-1994 briggs

Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
as was the old stuff.


# 1.6 20-Jan-1994 briggs

Make uk and su look like devices. Haven't tried compiling uk. su is still
nothing.


# 1.5 10-Jan-1994 briggs

Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.


# 1.4 08-Jan-1994 cgd

kill entries duplicated in files.m68k.newconf


# 1.3 21-Dec-1993 briggs

Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.


# 1.2 15-Dec-1993 briggs

Let's try DDB...


# 1.1 02-Dec-1993 briggs

Migrate to new MACHINE definition (mac -> mac68k).


# 1.131 26-Feb-2021 rin

Add MAC68K_MEMSIZE option to hard-code memory size in MB, instead of
that given by Booter. Work around Booter bug by which max memory is
restricted to 255MB.


Revision tags: thorpej-futex-base bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 ad-namecache-base2 ad-namecache-base1 ad-namecache-base phil-wifi-20191119
# 1.130 22-Aug-2019 rin

G/C obsoleted


Revision tags: netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
# 1.129 26-Jul-2019 rin

Add genfb(4) driver for mac68k grfbus.
1, 2, 4, 8, 15, and 32 color-depths are supported.

ANSI colors on console are functional for depth >= 4.

Graphic applications based on wsfb API should work, provided
they can correctly handle fbi_fboffset and your color depth.

wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of
x11/mlterm) work fine for depth == 1 || depth >= 8.

For depth == 8 (256 colors), graphic applications require
colormap callback, which is currently supported for some
internal graphic adapters, and only Civic (found on Quadra
AV series) was tested. Register definition and its usage are
taken from Linux. You can easily support other adapters if
Linux supports that.

Have fun, and any problem reports are welcomed!


Revision tags: phil-wifi-20190609 isaki-audio2-base
# 1.128 18-Feb-2019 thorpej

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.127 19-Dec-2018 maxv

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.126 25-Feb-2018 mrg

branches: 1.126.2; 1.126.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base
# 1.125 15-Nov-2011 tsutsui

Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).
Tested on TT030, Sun3/80, and X68030.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.124 12-Jun-2011 rmind

branches: 1.124.2;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 rmind-uvmplock-base jym-xensuspend-base
# 1.123 06-Jun-2010 mrg

branches: 1.123.6;
defflag GRF_COMPAT.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.122 22-May-2008 hauke

branches: 1.122.18; 1.122.20;
Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.121 20-Feb-2008 drochner

branches: 1.121.6; 1.121.8; 1.121.10; 1.121.12;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.


Revision tags: bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 mjf-devfs-base vmlocking-nbase matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.120 03-Dec-2007 ad

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.


Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
# 1.119 17-Oct-2007 garbled

branches: 1.119.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
# 1.118 10-Jun-2007 tsutsui

branches: 1.118.8; 1.118.10;
Switch mac68k's sn(4) Ethernet to MI SONIC driver.

Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.


# 1.117 02-Jun-2007 tsutsui

Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.


Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
# 1.116 08-Mar-2007 tsutsui

branches: 1.116.2; 1.116.4; 1.116.10;
MI softintr(9)'fy.
Probably problematic, but LC630 is running at single user.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.115 11-Dec-2005 christos

branches: 1.115.26;
merge ktrace-lwp.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base ktrace-lwp-base
# 1.114 19-Jan-2005 chs

branches: 1.114.8;
only one of the obio locators was actually used, so get rid of the others
and collapse the two variations of obio into one. use the remaining locator
("addr") to differentiate the two possible esp and sbc devices (instead of
using the unit number).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.113 14-Nov-2004 christos

branches: 1.113.4;
use the common procfs_machdep.c


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.112 05-Nov-2002 chs

branches: 1.112.6;
merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.


# 1.111 03-Nov-2002 chs

use a merged sys_machdep.c for all the motorola-MMU m68k platforms.


# 1.110 03-Nov-2002 chs

merge all the m68k copies of kgdb_machdep.c.


# 1.109 02-Nov-2002 chs

enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.108 20-Oct-2002 chs

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.


Revision tags: kqueue-base
# 1.107 06-Sep-2002 gehenna

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.


Revision tags: gehenna-devsw-base
# 1.106 19-Jun-2002 itojun

netdock* - ethernet driver for Asante NetDock/Newer Ether MicroDock.
by Daishi Kato <daishi@axlight.com>
test/stabilization by Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.105 27-Apr-2002 shiba

branches: 1.105.2;
Add IDE drive support.

Note:
(1) Character device major number chages to 49 from 48(in my original
code). So it is necessary to rebuild device files.
(2) Must use Booter 2.0.0a10 or later.
(3) Default mode is cpu busy wait. It is defined by flags 0x1000.
It will be more slow than before.
No flags means hardware interrupt mode. But it might be able to
get no interrupts.

Support machines:
(1) Quadra 630 series
(2) PowerBook 150

Non tested machine:
(1) PowerBook 190 series

Approved by: briggs


# 1.104 16-Apr-2002 thorpej

* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.


# 1.103 10-Apr-2002 briggs

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.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.102 21-Jan-2002 jdolecek

Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).


# 1.101 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.100 20-Nov-2001 lukem

cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""


# 1.99 20-Nov-2001 chs

include COMPAT_AOUT_M68K stuff.


Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.98 18-Jun-2001 christos

branches: 1.98.2; 1.98.8;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.97 17-Jan-2001 fvdl

branches: 1.97.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.


# 1.96 30-Jul-2000 briggs

Add nubus attachment for smc91cxx driver.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.95 27-Mar-2000 scottr

branches: 1.95.4;
The declaration for esp has moved to conf/files. (Hi Charles!)


# 1.94 14-Mar-2000 oster

Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)


# 1.93 14-Feb-2000 scottr

Merge wscons work onto the main development branch.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base scottr-mac68k-wscons-base chs-ubc2-base
# 1.92 28-Jun-1999 itojun

branches: 1.92.2;
- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.


# 1.91 28-Jun-1999 briggs

Unfortunately, several changes that are intermingled:
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.


# 1.90 07-Jun-1999 thorpej

Only declare block major numbers for devices which can be the root device.


# 1.89 19-Apr-1999 kleink

Add COMPAT_SVR4 for m68k.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.88 18-Feb-1999 scottr

branches: 1.88.2; 1.88.6; 1.88.8;
Add support for the IWM driver.


# 1.87 15-Dec-1998 itohy

Added COMPAT_LINUX support.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.86 23-Oct-1998 ender

New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)


# 1.85 22-Oct-1998 scottr

Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.


# 1.84 12-Aug-1998 scottr

New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.


Revision tags: eeh-paddr_t-base
# 1.83 01-Jul-1998 scottr

Add a GRF_COMPAT option so that old-style grf ioctl() code can be
removed from the kernel.


# 1.82 31-May-1998 thorpej

Build pmap_boostrap.o without profiling; we can't call mcount before the
mmu is enabled!


# 1.81 02-May-1998 scottr

Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.


# 1.80 24-Apr-1998 scottr

Pull in a few more kgdb-related bits. Getting there...


# 1.79 31-Mar-1998 ender

Add the newly created bus_space.c so it gets compiled.


# 1.78 21-Feb-1998 scottr

Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.


# 1.77 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.76 01-Feb-1998 is

Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.


# 1.75 12-Jan-1998 thorpej

Update for changes to config.


# 1.74 04-Nov-1997 briggs

Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.


Revision tags: netbsd-1-3-base
# 1.73 20-Oct-1997 scottr

branches: 1.73.2;
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
also supports DTR/CTS flow control.


Revision tags: thorpej-signal-base marc-pcmcia-base
# 1.72 27-Aug-1997 bouyer

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.


Revision tags: marc-pcmcia-bp
# 1.71 29-Apr-1997 scottr

branches: 1.71.2; 1.71.4;
Use the new 8390 driver back end.


# 1.70 14-Apr-1997 scottr

Direct config to create an MRG_ADB option header.


# 1.69 11-Apr-1997 scottr

Use common m68k sig_machdep.c, removing our local copies of these.


# 1.68 09-Apr-1997 thorpej

Remove redundant file directives.


# 1.67 08-Apr-1997 scottr

Make new ADB driver the default.


# 1.66 21-Mar-1997 scottr

Clean up after arp conversion; from Erik Bertelsen, closes PR 3372.


# 1.65 17-Mar-1997 gwr

Separate bcopy and copypage stuff from copy.s


# 1.64 15-Mar-1997 briggs

Add SONIC driver. Works on my Q700. Untested elsewhere.


# 1.63 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.62 06-Mar-1997 briggs

Undo some damage that CVS somehow let me get away with.


# 1.61 01-Mar-1997 scottr

Adapt to sbc driver/attachment split


# 1.60 27-Feb-1997 briggs

Add ncr53c9x flag to esp.


# 1.59 24-Feb-1997 scottr

Update to reflect ae driver/attachment code split


# 1.58 13-Feb-1997 scottr

Split the obio interface into two forms: optional address only for most
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380). Update all obio-attached drivers
appropriately.

Also, attach fpu to mainbus, rather than obio.


# 1.57 11-Feb-1997 scottr

Add an addr locator to obio.


# 1.56 10-Feb-1997 scottr

Add needs-flag to asc driver


Revision tags: is-newarp-base
# 1.55 21-Jan-1997 thorpej

branches: 1.55.2;
"md" is declared in sys/conf/files, now.


# 1.54 20-Jan-1997 scottr

Minor formatting cleanup, and remove an old comment


# 1.53 28-Dec-1996 pk

branches: 1.53.2;
rename: ramdisk => md


# 1.52 29-Oct-1996 briggs

ncr96scsi -> esp for consistency with sparc and alpha.


# 1.51 22-Sep-1996 scottr

Update for recent config(8) changes.


# 1.50 05-Aug-1996 scottr

Attach ite semantics to the appropriate grf device, instead of obio.


# 1.49 19-Jun-1996 scottr

Completely revamp setroot() and friends. Since Chris' version of this code
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.

- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.

Also, update/add copyrights as appropriate.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.48 19-May-1996 scottr

Update for new grf attachment code.


# 1.47 18-May-1996 briggs

Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver. When that driver is updated, the local copy
of those files may be removed. From Bill Studenmund.
Compiler warnings fixed by me.


# 1.46 06-May-1996 scottr

Update for renamed sbc driver files


# 1.45 05-May-1996 briggs

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.


# 1.44 29-Apr-1996 scottr

Remove trash left from a merge (probably really my fault).


# 1.43 28-Apr-1996 briggs

shuffle some and change rd to pseudo-device.


# 1.42 25-Apr-1996 scottr

Renamed the sbc driver files


# 1.41 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.40 22-Feb-1996 gwr

Add m68k/db_memrw.c


# 1.39 07-Feb-1996 scottr

Add sbc driver.


# 1.38 02-Feb-1996 mycroft

Don't special-case conf.c.


# 1.37 21-Nov-1995 briggs

RAMDISK stuff.


# 1.36 03-Nov-1995 briggs

include files.fpe instead of just fpu_emulate.c--to get the new fpe code.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.35 03-Sep-1995 briggs

Make the new m.i. scsi driver the default.


# 1.34 01-Jul-1995 briggs

add needs-flag for the scsi chip interfaces.


# 1.33 21-Jun-1995 briggs

Add pmap_bootstrap.c and take out mac68k_init.c.


# 1.32 29-Apr-1995 briggs

Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.


# 1.31 27-Apr-1995 christos

Use new files.sunos


# 1.30 22-Apr-1995 christos

Move sunos_machdep.c to m68k


# 1.29 22-Apr-1995 christos

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.


# 1.28 21-Apr-1995 briggs

Get rid of old file from hp300 origins!?


# 1.27 20-Apr-1995 briggs

include mi scsi files file.
Change several devices from needs-count to needs-flag.


# 1.26 11-Apr-1995 mellon

Reference cninit.c as well as cons.c


# 1.25 29-Mar-1995 briggs

Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.


# 1.24 11-Mar-1995 briggs

Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.


# 1.23 15-Feb-1995 briggs

Update to add pramasm.s.


# 1.22 05-Feb-1995 briggs

Add major for vnd.


# 1.21 25-Jan-1995 cgd

add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.


# 1.20 21-Jan-1995 briggs

sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.


# 1.19 03-Dec-1994 briggs

Mac ROM Glue changes from grantham@tenon.com.


# 1.18 27-Nov-1994 briggs

compat/sunos/sun_* -> compat/sunos/sunos_*


# 1.17 27-Nov-1994 briggs

Attempt to use sys/scsi.


# 1.16 26-Oct-1994 cgd

new RCS ID format.


# 1.15 12-Sep-1994 briggs

Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.


# 1.14 21-Jul-1994 briggs

Add asc as a device. Format a tad.


# 1.13 09-Jul-1994 briggs

Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.


# 1.12 26-Jun-1994 briggs

branches: 1.12.2;
Erf. Forgot to put mac68k_init.c in alphabetically.


# 1.11 26-Jun-1994 briggs

Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.


# 1.10 25-Jun-1994 briggs

Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup. copy.s added to files.


# 1.9 27-Feb-1994 briggs

Add files for compat_sunos. Shouldn't these be in sys/conf/files.newconf?


# 1.8 22-Feb-1994 briggs

Add fpu.c and alphabetize a bunch.


# 1.7 30-Jan-1994 briggs

Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
as was the old stuff.


# 1.6 20-Jan-1994 briggs

Make uk and su look like devices. Haven't tried compiling uk. su is still
nothing.


# 1.5 10-Jan-1994 briggs

Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.


# 1.4 08-Jan-1994 cgd

kill entries duplicated in files.m68k.newconf


# 1.3 21-Dec-1993 briggs

Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.


# 1.2 15-Dec-1993 briggs

Let's try DDB...


# 1.1 02-Dec-1993 briggs

Migrate to new MACHINE definition (mac -> mac68k).


# 1.130 22-Aug-2019 rin

G/C obsoleted


Revision tags: netbsd-9-base
# 1.129 26-Jul-2019 rin

Add genfb(4) driver for mac68k grfbus.
1, 2, 4, 8, 15, and 32 color-depths are supported.

ANSI colors on console are functional for depth >= 4.

Graphic applications based on wsfb API should work, provided
they can correctly handle fbi_fboffset and your color depth.

wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of
x11/mlterm) work fine for depth == 1 || depth >= 8.

For depth == 8 (256 colors), graphic applications require
colormap callback, which is currently supported for some
internal graphic adapters, and only Civic (found on Quadra
AV series) was tested. Register definition and its usage are
taken from Linux. You can easily support other adapters if
Linux supports that.

Have fun, and any problem reports are welcomed!


Revision tags: phil-wifi-20190609 isaki-audio2-base
# 1.128 18-Feb-2019 thorpej

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.127 19-Dec-2018 maxv

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.126 25-Feb-2018 mrg

branches: 1.126.2; 1.126.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base
# 1.125 15-Nov-2011 tsutsui

Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).
Tested on TT030, Sun3/80, and X68030.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.124 12-Jun-2011 rmind

branches: 1.124.2;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 rmind-uvmplock-base jym-xensuspend-base
# 1.123 06-Jun-2010 mrg

branches: 1.123.6;
defflag GRF_COMPAT.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.122 22-May-2008 hauke

branches: 1.122.18; 1.122.20;
Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.121 20-Feb-2008 drochner

branches: 1.121.6; 1.121.8; 1.121.10; 1.121.12;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.


Revision tags: bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 mjf-devfs-base vmlocking-nbase matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.120 03-Dec-2007 ad

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.


Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
# 1.119 17-Oct-2007 garbled

branches: 1.119.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
# 1.118 10-Jun-2007 tsutsui

branches: 1.118.8; 1.118.10;
Switch mac68k's sn(4) Ethernet to MI SONIC driver.

Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.


# 1.117 02-Jun-2007 tsutsui

Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.


Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
# 1.116 08-Mar-2007 tsutsui

branches: 1.116.2; 1.116.4; 1.116.10;
MI softintr(9)'fy.
Probably problematic, but LC630 is running at single user.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.115 11-Dec-2005 christos

branches: 1.115.26;
merge ktrace-lwp.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base ktrace-lwp-base
# 1.114 19-Jan-2005 chs

branches: 1.114.8;
only one of the obio locators was actually used, so get rid of the others
and collapse the two variations of obio into one. use the remaining locator
("addr") to differentiate the two possible esp and sbc devices (instead of
using the unit number).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.113 14-Nov-2004 christos

branches: 1.113.4;
use the common procfs_machdep.c


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.112 05-Nov-2002 chs

branches: 1.112.6;
merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.


# 1.111 03-Nov-2002 chs

use a merged sys_machdep.c for all the motorola-MMU m68k platforms.


# 1.110 03-Nov-2002 chs

merge all the m68k copies of kgdb_machdep.c.


# 1.109 02-Nov-2002 chs

enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.108 20-Oct-2002 chs

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.


Revision tags: kqueue-base
# 1.107 06-Sep-2002 gehenna

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.


Revision tags: gehenna-devsw-base
# 1.106 19-Jun-2002 itojun

netdock* - ethernet driver for Asante NetDock/Newer Ether MicroDock.
by Daishi Kato <daishi@axlight.com>
test/stabilization by Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.105 27-Apr-2002 shiba

branches: 1.105.2;
Add IDE drive support.

Note:
(1) Character device major number chages to 49 from 48(in my original
code). So it is necessary to rebuild device files.
(2) Must use Booter 2.0.0a10 or later.
(3) Default mode is cpu busy wait. It is defined by flags 0x1000.
It will be more slow than before.
No flags means hardware interrupt mode. But it might be able to
get no interrupts.

Support machines:
(1) Quadra 630 series
(2) PowerBook 150

Non tested machine:
(1) PowerBook 190 series

Approved by: briggs


# 1.104 16-Apr-2002 thorpej

* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.


# 1.103 10-Apr-2002 briggs

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.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.102 21-Jan-2002 jdolecek

Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).


# 1.101 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.100 20-Nov-2001 lukem

cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""


# 1.99 20-Nov-2001 chs

include COMPAT_AOUT_M68K stuff.


Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.98 18-Jun-2001 christos

branches: 1.98.2; 1.98.8;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.97 17-Jan-2001 fvdl

branches: 1.97.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.


# 1.96 30-Jul-2000 briggs

Add nubus attachment for smc91cxx driver.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.95 27-Mar-2000 scottr

branches: 1.95.4;
The declaration for esp has moved to conf/files. (Hi Charles!)


# 1.94 14-Mar-2000 oster

Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)


# 1.93 14-Feb-2000 scottr

Merge wscons work onto the main development branch.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base scottr-mac68k-wscons-base chs-ubc2-base
# 1.92 28-Jun-1999 itojun

branches: 1.92.2;
- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.


# 1.91 28-Jun-1999 briggs

Unfortunately, several changes that are intermingled:
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.


# 1.90 07-Jun-1999 thorpej

Only declare block major numbers for devices which can be the root device.


# 1.89 19-Apr-1999 kleink

Add COMPAT_SVR4 for m68k.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.88 18-Feb-1999 scottr

branches: 1.88.2; 1.88.6; 1.88.8;
Add support for the IWM driver.


# 1.87 15-Dec-1998 itohy

Added COMPAT_LINUX support.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.86 23-Oct-1998 ender

New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)


# 1.85 22-Oct-1998 scottr

Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.


# 1.84 12-Aug-1998 scottr

New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.


Revision tags: eeh-paddr_t-base
# 1.83 01-Jul-1998 scottr

Add a GRF_COMPAT option so that old-style grf ioctl() code can be
removed from the kernel.


# 1.82 31-May-1998 thorpej

Build pmap_boostrap.o without profiling; we can't call mcount before the
mmu is enabled!


# 1.81 02-May-1998 scottr

Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.


# 1.80 24-Apr-1998 scottr

Pull in a few more kgdb-related bits. Getting there...


# 1.79 31-Mar-1998 ender

Add the newly created bus_space.c so it gets compiled.


# 1.78 21-Feb-1998 scottr

Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.


# 1.77 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.76 01-Feb-1998 is

Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.


# 1.75 12-Jan-1998 thorpej

Update for changes to config.


# 1.74 04-Nov-1997 briggs

Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.


Revision tags: netbsd-1-3-base
# 1.73 20-Oct-1997 scottr

branches: 1.73.2;
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
also supports DTR/CTS flow control.


Revision tags: thorpej-signal-base marc-pcmcia-base
# 1.72 27-Aug-1997 bouyer

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.


Revision tags: marc-pcmcia-bp
# 1.71 29-Apr-1997 scottr

branches: 1.71.2; 1.71.4;
Use the new 8390 driver back end.


# 1.70 14-Apr-1997 scottr

Direct config to create an MRG_ADB option header.


# 1.69 11-Apr-1997 scottr

Use common m68k sig_machdep.c, removing our local copies of these.


# 1.68 09-Apr-1997 thorpej

Remove redundant file directives.


# 1.67 08-Apr-1997 scottr

Make new ADB driver the default.


# 1.66 21-Mar-1997 scottr

Clean up after arp conversion; from Erik Bertelsen, closes PR 3372.


# 1.65 17-Mar-1997 gwr

Separate bcopy and copypage stuff from copy.s


# 1.64 15-Mar-1997 briggs

Add SONIC driver. Works on my Q700. Untested elsewhere.


# 1.63 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.62 06-Mar-1997 briggs

Undo some damage that CVS somehow let me get away with.


# 1.61 01-Mar-1997 scottr

Adapt to sbc driver/attachment split


# 1.60 27-Feb-1997 briggs

Add ncr53c9x flag to esp.


# 1.59 24-Feb-1997 scottr

Update to reflect ae driver/attachment code split


# 1.58 13-Feb-1997 scottr

Split the obio interface into two forms: optional address only for most
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380). Update all obio-attached drivers
appropriately.

Also, attach fpu to mainbus, rather than obio.


# 1.57 11-Feb-1997 scottr

Add an addr locator to obio.


# 1.56 10-Feb-1997 scottr

Add needs-flag to asc driver


Revision tags: is-newarp-base
# 1.55 21-Jan-1997 thorpej

branches: 1.55.2;
"md" is declared in sys/conf/files, now.


# 1.54 20-Jan-1997 scottr

Minor formatting cleanup, and remove an old comment


# 1.53 28-Dec-1996 pk

branches: 1.53.2;
rename: ramdisk => md


# 1.52 29-Oct-1996 briggs

ncr96scsi -> esp for consistency with sparc and alpha.


# 1.51 22-Sep-1996 scottr

Update for recent config(8) changes.


# 1.50 05-Aug-1996 scottr

Attach ite semantics to the appropriate grf device, instead of obio.


# 1.49 19-Jun-1996 scottr

Completely revamp setroot() and friends. Since Chris' version of this code
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.

- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.

Also, update/add copyrights as appropriate.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.48 19-May-1996 scottr

Update for new grf attachment code.


# 1.47 18-May-1996 briggs

Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver. When that driver is updated, the local copy
of those files may be removed. From Bill Studenmund.
Compiler warnings fixed by me.


# 1.46 06-May-1996 scottr

Update for renamed sbc driver files


# 1.45 05-May-1996 briggs

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.


# 1.44 29-Apr-1996 scottr

Remove trash left from a merge (probably really my fault).


# 1.43 28-Apr-1996 briggs

shuffle some and change rd to pseudo-device.


# 1.42 25-Apr-1996 scottr

Renamed the sbc driver files


# 1.41 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.40 22-Feb-1996 gwr

Add m68k/db_memrw.c


# 1.39 07-Feb-1996 scottr

Add sbc driver.


# 1.38 02-Feb-1996 mycroft

Don't special-case conf.c.


# 1.37 21-Nov-1995 briggs

RAMDISK stuff.


# 1.36 03-Nov-1995 briggs

include files.fpe instead of just fpu_emulate.c--to get the new fpe code.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.35 03-Sep-1995 briggs

Make the new m.i. scsi driver the default.


# 1.34 01-Jul-1995 briggs

add needs-flag for the scsi chip interfaces.


# 1.33 21-Jun-1995 briggs

Add pmap_bootstrap.c and take out mac68k_init.c.


# 1.32 29-Apr-1995 briggs

Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.


# 1.31 27-Apr-1995 christos

Use new files.sunos


# 1.30 22-Apr-1995 christos

Move sunos_machdep.c to m68k


# 1.29 22-Apr-1995 christos

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.


# 1.28 21-Apr-1995 briggs

Get rid of old file from hp300 origins!?


# 1.27 20-Apr-1995 briggs

include mi scsi files file.
Change several devices from needs-count to needs-flag.


# 1.26 11-Apr-1995 mellon

Reference cninit.c as well as cons.c


# 1.25 29-Mar-1995 briggs

Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.


# 1.24 11-Mar-1995 briggs

Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.


# 1.23 15-Feb-1995 briggs

Update to add pramasm.s.


# 1.22 05-Feb-1995 briggs

Add major for vnd.


# 1.21 25-Jan-1995 cgd

add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.


# 1.20 21-Jan-1995 briggs

sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.


# 1.19 03-Dec-1994 briggs

Mac ROM Glue changes from grantham@tenon.com.


# 1.18 27-Nov-1994 briggs

compat/sunos/sun_* -> compat/sunos/sunos_*


# 1.17 27-Nov-1994 briggs

Attempt to use sys/scsi.


# 1.16 26-Oct-1994 cgd

new RCS ID format.


# 1.15 12-Sep-1994 briggs

Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.


# 1.14 21-Jul-1994 briggs

Add asc as a device. Format a tad.


# 1.13 09-Jul-1994 briggs

Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.


# 1.12 26-Jun-1994 briggs

branches: 1.12.2;
Erf. Forgot to put mac68k_init.c in alphabetically.


# 1.11 26-Jun-1994 briggs

Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.


# 1.10 25-Jun-1994 briggs

Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup. copy.s added to files.


# 1.9 27-Feb-1994 briggs

Add files for compat_sunos. Shouldn't these be in sys/conf/files.newconf?


# 1.8 22-Feb-1994 briggs

Add fpu.c and alphabetize a bunch.


# 1.7 30-Jan-1994 briggs

Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
as was the old stuff.


# 1.6 20-Jan-1994 briggs

Make uk and su look like devices. Haven't tried compiling uk. su is still
nothing.


# 1.5 10-Jan-1994 briggs

Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.


# 1.4 08-Jan-1994 cgd

kill entries duplicated in files.m68k.newconf


# 1.3 21-Dec-1993 briggs

Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.


# 1.2 15-Dec-1993 briggs

Let's try DDB...


# 1.1 02-Dec-1993 briggs

Migrate to new MACHINE definition (mac -> mac68k).


# 1.129 26-Jul-2019 rin

Add genfb(4) driver for mac68k grfbus.
1, 2, 4, 8, 15, and 32 color-depths are supported.

ANSI colors on console are functional for depth >= 4.

Graphic applications based on wsfb API should work, provided
they can correctly handle fbi_fboffset and your color depth.

wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of
x11/mlterm) work fine for depth == 1 || depth >= 8.

For depth == 8 (256 colors), graphic applications require
colormap callback, which is currently supported for some
internal graphic adapters, and only Civic (found on Quadra
AV series) was tested. Register definition and its usage are
taken from Linux. You can easily support other adapters if
Linux supports that.

Have fun, and any problem reports are welcomed!


Revision tags: phil-wifi-20190609 isaki-audio2-base
# 1.128 18-Feb-2019 thorpej

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.127 19-Dec-2018 maxv

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.126 25-Feb-2018 mrg

branches: 1.126.2; 1.126.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base
# 1.125 15-Nov-2011 tsutsui

Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).
Tested on TT030, Sun3/80, and X68030.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.124 12-Jun-2011 rmind

branches: 1.124.2;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 rmind-uvmplock-base jym-xensuspend-base
# 1.123 06-Jun-2010 mrg

branches: 1.123.6;
defflag GRF_COMPAT.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.122 22-May-2008 hauke

branches: 1.122.18; 1.122.20;
Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.121 20-Feb-2008 drochner

branches: 1.121.6; 1.121.8; 1.121.10; 1.121.12;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.


Revision tags: bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 mjf-devfs-base vmlocking-nbase matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.120 03-Dec-2007 ad

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.


Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
# 1.119 17-Oct-2007 garbled

branches: 1.119.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
# 1.118 10-Jun-2007 tsutsui

branches: 1.118.8; 1.118.10;
Switch mac68k's sn(4) Ethernet to MI SONIC driver.

Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.


# 1.117 02-Jun-2007 tsutsui

Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.


Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
# 1.116 08-Mar-2007 tsutsui

branches: 1.116.2; 1.116.4; 1.116.10;
MI softintr(9)'fy.
Probably problematic, but LC630 is running at single user.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.115 11-Dec-2005 christos

branches: 1.115.26;
merge ktrace-lwp.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base ktrace-lwp-base
# 1.114 19-Jan-2005 chs

branches: 1.114.8;
only one of the obio locators was actually used, so get rid of the others
and collapse the two variations of obio into one. use the remaining locator
("addr") to differentiate the two possible esp and sbc devices (instead of
using the unit number).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.113 14-Nov-2004 christos

branches: 1.113.4;
use the common procfs_machdep.c


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.112 05-Nov-2002 chs

branches: 1.112.6;
merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.


# 1.111 03-Nov-2002 chs

use a merged sys_machdep.c for all the motorola-MMU m68k platforms.


# 1.110 03-Nov-2002 chs

merge all the m68k copies of kgdb_machdep.c.


# 1.109 02-Nov-2002 chs

enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.108 20-Oct-2002 chs

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.


Revision tags: kqueue-base
# 1.107 06-Sep-2002 gehenna

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.


Revision tags: gehenna-devsw-base
# 1.106 19-Jun-2002 itojun

netdock* - ethernet driver for Asante NetDock/Newer Ether MicroDock.
by Daishi Kato <daishi@axlight.com>
test/stabilization by Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.105 27-Apr-2002 shiba

branches: 1.105.2;
Add IDE drive support.

Note:
(1) Character device major number chages to 49 from 48(in my original
code). So it is necessary to rebuild device files.
(2) Must use Booter 2.0.0a10 or later.
(3) Default mode is cpu busy wait. It is defined by flags 0x1000.
It will be more slow than before.
No flags means hardware interrupt mode. But it might be able to
get no interrupts.

Support machines:
(1) Quadra 630 series
(2) PowerBook 150

Non tested machine:
(1) PowerBook 190 series

Approved by: briggs


# 1.104 16-Apr-2002 thorpej

* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.


# 1.103 10-Apr-2002 briggs

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.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.102 21-Jan-2002 jdolecek

Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).


# 1.101 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.100 20-Nov-2001 lukem

cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""


# 1.99 20-Nov-2001 chs

include COMPAT_AOUT_M68K stuff.


Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.98 18-Jun-2001 christos

branches: 1.98.2; 1.98.8;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.97 17-Jan-2001 fvdl

branches: 1.97.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.


# 1.96 30-Jul-2000 briggs

Add nubus attachment for smc91cxx driver.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.95 27-Mar-2000 scottr

branches: 1.95.4;
The declaration for esp has moved to conf/files. (Hi Charles!)


# 1.94 14-Mar-2000 oster

Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)


# 1.93 14-Feb-2000 scottr

Merge wscons work onto the main development branch.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base scottr-mac68k-wscons-base chs-ubc2-base
# 1.92 28-Jun-1999 itojun

branches: 1.92.2;
- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.


# 1.91 28-Jun-1999 briggs

Unfortunately, several changes that are intermingled:
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.


# 1.90 07-Jun-1999 thorpej

Only declare block major numbers for devices which can be the root device.


# 1.89 19-Apr-1999 kleink

Add COMPAT_SVR4 for m68k.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.88 18-Feb-1999 scottr

branches: 1.88.2; 1.88.6; 1.88.8;
Add support for the IWM driver.


# 1.87 15-Dec-1998 itohy

Added COMPAT_LINUX support.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.86 23-Oct-1998 ender

New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)


# 1.85 22-Oct-1998 scottr

Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.


# 1.84 12-Aug-1998 scottr

New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.


Revision tags: eeh-paddr_t-base
# 1.83 01-Jul-1998 scottr

Add a GRF_COMPAT option so that old-style grf ioctl() code can be
removed from the kernel.


# 1.82 31-May-1998 thorpej

Build pmap_boostrap.o without profiling; we can't call mcount before the
mmu is enabled!


# 1.81 02-May-1998 scottr

Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.


# 1.80 24-Apr-1998 scottr

Pull in a few more kgdb-related bits. Getting there...


# 1.79 31-Mar-1998 ender

Add the newly created bus_space.c so it gets compiled.


# 1.78 21-Feb-1998 scottr

Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.


# 1.77 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.76 01-Feb-1998 is

Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.


# 1.75 12-Jan-1998 thorpej

Update for changes to config.


# 1.74 04-Nov-1997 briggs

Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.


Revision tags: netbsd-1-3-base
# 1.73 20-Oct-1997 scottr

branches: 1.73.2;
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
also supports DTR/CTS flow control.


Revision tags: thorpej-signal-base marc-pcmcia-base
# 1.72 27-Aug-1997 bouyer

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.


Revision tags: marc-pcmcia-bp
# 1.71 29-Apr-1997 scottr

branches: 1.71.2; 1.71.4;
Use the new 8390 driver back end.


# 1.70 14-Apr-1997 scottr

Direct config to create an MRG_ADB option header.


# 1.69 11-Apr-1997 scottr

Use common m68k sig_machdep.c, removing our local copies of these.


# 1.68 09-Apr-1997 thorpej

Remove redundant file directives.


# 1.67 08-Apr-1997 scottr

Make new ADB driver the default.


# 1.66 21-Mar-1997 scottr

Clean up after arp conversion; from Erik Bertelsen, closes PR 3372.


# 1.65 17-Mar-1997 gwr

Separate bcopy and copypage stuff from copy.s


# 1.64 15-Mar-1997 briggs

Add SONIC driver. Works on my Q700. Untested elsewhere.


# 1.63 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.62 06-Mar-1997 briggs

Undo some damage that CVS somehow let me get away with.


# 1.61 01-Mar-1997 scottr

Adapt to sbc driver/attachment split


# 1.60 27-Feb-1997 briggs

Add ncr53c9x flag to esp.


# 1.59 24-Feb-1997 scottr

Update to reflect ae driver/attachment code split


# 1.58 13-Feb-1997 scottr

Split the obio interface into two forms: optional address only for most
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380). Update all obio-attached drivers
appropriately.

Also, attach fpu to mainbus, rather than obio.


# 1.57 11-Feb-1997 scottr

Add an addr locator to obio.


# 1.56 10-Feb-1997 scottr

Add needs-flag to asc driver


Revision tags: is-newarp-base
# 1.55 21-Jan-1997 thorpej

branches: 1.55.2;
"md" is declared in sys/conf/files, now.


# 1.54 20-Jan-1997 scottr

Minor formatting cleanup, and remove an old comment


# 1.53 28-Dec-1996 pk

branches: 1.53.2;
rename: ramdisk => md


# 1.52 29-Oct-1996 briggs

ncr96scsi -> esp for consistency with sparc and alpha.


# 1.51 22-Sep-1996 scottr

Update for recent config(8) changes.


# 1.50 05-Aug-1996 scottr

Attach ite semantics to the appropriate grf device, instead of obio.


# 1.49 19-Jun-1996 scottr

Completely revamp setroot() and friends. Since Chris' version of this code
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.

- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.

Also, update/add copyrights as appropriate.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.48 19-May-1996 scottr

Update for new grf attachment code.


# 1.47 18-May-1996 briggs

Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver. When that driver is updated, the local copy
of those files may be removed. From Bill Studenmund.
Compiler warnings fixed by me.


# 1.46 06-May-1996 scottr

Update for renamed sbc driver files


# 1.45 05-May-1996 briggs

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.


# 1.44 29-Apr-1996 scottr

Remove trash left from a merge (probably really my fault).


# 1.43 28-Apr-1996 briggs

shuffle some and change rd to pseudo-device.


# 1.42 25-Apr-1996 scottr

Renamed the sbc driver files


# 1.41 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.40 22-Feb-1996 gwr

Add m68k/db_memrw.c


# 1.39 07-Feb-1996 scottr

Add sbc driver.


# 1.38 02-Feb-1996 mycroft

Don't special-case conf.c.


# 1.37 21-Nov-1995 briggs

RAMDISK stuff.


# 1.36 03-Nov-1995 briggs

include files.fpe instead of just fpu_emulate.c--to get the new fpe code.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.35 03-Sep-1995 briggs

Make the new m.i. scsi driver the default.


# 1.34 01-Jul-1995 briggs

add needs-flag for the scsi chip interfaces.


# 1.33 21-Jun-1995 briggs

Add pmap_bootstrap.c and take out mac68k_init.c.


# 1.32 29-Apr-1995 briggs

Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.


# 1.31 27-Apr-1995 christos

Use new files.sunos


# 1.30 22-Apr-1995 christos

Move sunos_machdep.c to m68k


# 1.29 22-Apr-1995 christos

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.


# 1.28 21-Apr-1995 briggs

Get rid of old file from hp300 origins!?


# 1.27 20-Apr-1995 briggs

include mi scsi files file.
Change several devices from needs-count to needs-flag.


# 1.26 11-Apr-1995 mellon

Reference cninit.c as well as cons.c


# 1.25 29-Mar-1995 briggs

Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.


# 1.24 11-Mar-1995 briggs

Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.


# 1.23 15-Feb-1995 briggs

Update to add pramasm.s.


# 1.22 05-Feb-1995 briggs

Add major for vnd.


# 1.21 25-Jan-1995 cgd

add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.


# 1.20 21-Jan-1995 briggs

sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.


# 1.19 03-Dec-1994 briggs

Mac ROM Glue changes from grantham@tenon.com.


# 1.18 27-Nov-1994 briggs

compat/sunos/sun_* -> compat/sunos/sunos_*


# 1.17 27-Nov-1994 briggs

Attempt to use sys/scsi.


# 1.16 26-Oct-1994 cgd

new RCS ID format.


# 1.15 12-Sep-1994 briggs

Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.


# 1.14 21-Jul-1994 briggs

Add asc as a device. Format a tad.


# 1.13 09-Jul-1994 briggs

Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.


# 1.12 26-Jun-1994 briggs

branches: 1.12.2;
Erf. Forgot to put mac68k_init.c in alphabetically.


# 1.11 26-Jun-1994 briggs

Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.


# 1.10 25-Jun-1994 briggs

Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup. copy.s added to files.


# 1.9 27-Feb-1994 briggs

Add files for compat_sunos. Shouldn't these be in sys/conf/files.newconf?


# 1.8 22-Feb-1994 briggs

Add fpu.c and alphabetize a bunch.


# 1.7 30-Jan-1994 briggs

Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
as was the old stuff.


# 1.6 20-Jan-1994 briggs

Make uk and su look like devices. Haven't tried compiling uk. su is still
nothing.


# 1.5 10-Jan-1994 briggs

Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.


# 1.4 08-Jan-1994 cgd

kill entries duplicated in files.m68k.newconf


# 1.3 21-Dec-1993 briggs

Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.


# 1.2 15-Dec-1993 briggs

Let's try DDB...


# 1.1 02-Dec-1993 briggs

Migrate to new MACHINE definition (mac -> mac68k).


Revision tags: isaki-audio2-base
# 1.128 18-Feb-2019 thorpej

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.127 19-Dec-2018 maxv

Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.126 25-Feb-2018 mrg

branches: 1.126.2;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.


Revision tags: netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base
# 1.125 15-Nov-2011 tsutsui

Merge copy-and-pasted fpu_probe() function (to share it among more m68k ports).
Tested on TT030, Sun3/80, and X68030.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.124 12-Jun-2011 rmind

branches: 1.124.2;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 rmind-uvmplock-base jym-xensuspend-base
# 1.123 06-Jun-2010 mrg

branches: 1.123.6;
defflag GRF_COMPAT.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 uebayasi-xip-base1 netbsd-5-1-RC1 yamt-nfs-mp-base9 uebayasi-xip-base netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 yamt-nfs-mp-base8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 yamt-nfs-mp-base7 netbsd-5-0-1-RELEASE jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 nick-hppapmap-base2 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base nick-hppapmap-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base mjf-devfs2-base
# 1.122 22-May-2008 hauke

branches: 1.122.18; 1.122.20;
Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.


Revision tags: hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.121 20-Feb-2008 drochner

branches: 1.121.6; 1.121.8; 1.121.10; 1.121.12;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.


Revision tags: bouyer-xeni386-merge1 vmlocking2-base3 bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 mjf-devfs-base vmlocking-nbase matt-armv6-base jmcneill-pm-base reinoud-bufcleanup-base
# 1.120 03-Dec-2007 ad

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.


Revision tags: jmcneill-base bouyer-xenamd64-base2 yamt-x86pmap-base4 bouyer-xenamd64-base
# 1.119 17-Oct-2007 garbled

branches: 1.119.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
# 1.118 10-Jun-2007 tsutsui

branches: 1.118.8; 1.118.10;
Switch mac68k's sn(4) Ethernet to MI SONIC driver.

Tested with Apple Ethernet CS Twisted-Pare Card on LC630 by me
and Quadra 650 on-board Ethernet by hauke@.
NuBus based cards and PowerBook variants are still untested.


# 1.117 02-Jun-2007 tsutsui

Rather than attaching fpu as a usual device during cpu_configure(9),
initialize it explicitly in identifycpu() (before cpu_configure(9))
because after yamt-idlelwp merge savectx() is called before
cpu_configure(9) and it requires fputype initialized properly,
otherwise a kernel fails in savectx() if a machine doesn't have an FPU.


Revision tags: yamt-idlelwp-base8 thorpej-atomic-base
# 1.116 08-Mar-2007 tsutsui

branches: 1.116.2; 1.116.4; 1.116.10;
MI softintr(9)'fy.
Probably problematic, but LC630 is running at single user.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
# 1.115 11-Dec-2005 christos

branches: 1.115.26;
merge ktrace-lwp.


Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base ktrace-lwp-base
# 1.114 19-Jan-2005 chs

branches: 1.114.8;
only one of the obio locators was actually used, so get rid of the others
and collapse the two variations of obio into one. use the remaining locator
("addr") to differentiate the two possible esp and sbc devices (instead of
using the unit number).


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.113 14-Nov-2004 christos

branches: 1.113.4;
use the common procfs_machdep.c


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
# 1.112 05-Nov-2002 chs

branches: 1.112.6;
merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.


# 1.111 03-Nov-2002 chs

use a merged sys_machdep.c for all the motorola-MMU m68k platforms.


# 1.110 03-Nov-2002 chs

merge all the m68k copies of kgdb_machdep.c.


# 1.109 02-Nov-2002 chs

enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.


Revision tags: kqueue-aftermerge kqueue-beforemerge
# 1.108 20-Oct-2002 chs

merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.


Revision tags: kqueue-base
# 1.107 06-Sep-2002 gehenna

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.


Revision tags: gehenna-devsw-base
# 1.106 19-Jun-2002 itojun

netdock* - ethernet driver for Asante NetDock/Newer Ether MicroDock.
by Daishi Kato <daishi@axlight.com>
test/stabilization by Takeo Kuwata <tkuwata@virus.kyoto-u.ac.jp>


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.105 27-Apr-2002 shiba

branches: 1.105.2;
Add IDE drive support.

Note:
(1) Character device major number chages to 49 from 48(in my original
code). So it is necessary to rebuild device files.
(2) Must use Booter 2.0.0a10 or later.
(3) Default mode is cpu busy wait. It is defined by flags 0x1000.
It will be more slow than before.
No flags means hardware interrupt mode. But it might be able to
get no interrupts.

Support machines:
(1) Quadra 630 series
(2) PowerBook 150

Non tested machine:
(1) PowerBook 190 series

Approved by: briggs


# 1.104 16-Apr-2002 thorpej

* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.


# 1.103 10-Apr-2002 briggs

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.


Revision tags: eeh-devprop-base newlock-base ifpoll-base
# 1.102 21-Jan-2002 jdolecek

Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).


# 1.101 28-Nov-2001 lukem

- convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups


# 1.100 20-Nov-2001 lukem

cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""


# 1.99 20-Nov-2001 chs

include COMPAT_AOUT_M68K stuff.


Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
# 1.98 18-Jun-2001 christos

branches: 1.98.2; 1.98.8;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.


Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
# 1.97 17-Jan-2001 fvdl

branches: 1.97.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.


# 1.96 30-Jul-2000 briggs

Add nubus attachment for smc91cxx driver.


Revision tags: netbsd-1-5-base minoura-xpg4dl-base
# 1.95 27-Mar-2000 scottr

branches: 1.95.4;
The declaration for esp has moved to conf/files. (Hi Charles!)


# 1.94 14-Mar-2000 oster

Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)


# 1.93 14-Feb-2000 scottr

Merge wscons work onto the main development branch.


Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base fvdl-softdep-base scottr-mac68k-wscons-base chs-ubc2-base
# 1.92 28-Jun-1999 itojun

branches: 1.92.2;
- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.


# 1.91 28-Jun-1999 briggs

Unfortunately, several changes that are intermingled:
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.


# 1.90 07-Jun-1999 thorpej

Only declare block major numbers for devices which can be the root device.


# 1.89 19-Apr-1999 kleink

Add COMPAT_SVR4 for m68k.


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.88 18-Feb-1999 scottr

branches: 1.88.2; 1.88.6; 1.88.8;
Add support for the IWM driver.


# 1.87 15-Dec-1998 itohy

Added COMPAT_LINUX support.


Revision tags: kenh-if-detach-base chs-ubc-base
# 1.86 23-Oct-1998 ender

New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)


# 1.85 22-Oct-1998 scottr

Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.


# 1.84 12-Aug-1998 scottr

New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.


Revision tags: eeh-paddr_t-base
# 1.83 01-Jul-1998 scottr

Add a GRF_COMPAT option so that old-style grf ioctl() code can be
removed from the kernel.


# 1.82 31-May-1998 thorpej

Build pmap_boostrap.o without profiling; we can't call mcount before the
mmu is enabled!


# 1.81 02-May-1998 scottr

Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.


# 1.80 24-Apr-1998 scottr

Pull in a few more kgdb-related bits. Getting there...


# 1.79 31-Mar-1998 ender

Add the newly created bus_space.c so it gets compiled.


# 1.78 21-Feb-1998 scottr

Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.


# 1.77 16-Feb-1998 thorpej

Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.


# 1.76 01-Feb-1998 is

Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.


# 1.75 12-Jan-1998 thorpej

Update for changes to config.


# 1.74 04-Nov-1997 briggs

Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.


Revision tags: netbsd-1-3-base
# 1.73 20-Oct-1997 scottr

branches: 1.73.2;
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
also supports DTR/CTS flow control.


Revision tags: thorpej-signal-base marc-pcmcia-base
# 1.72 27-Aug-1997 bouyer

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.


Revision tags: marc-pcmcia-bp
# 1.71 29-Apr-1997 scottr

branches: 1.71.2; 1.71.4;
Use the new 8390 driver back end.


# 1.70 14-Apr-1997 scottr

Direct config to create an MRG_ADB option header.


# 1.69 11-Apr-1997 scottr

Use common m68k sig_machdep.c, removing our local copies of these.


# 1.68 09-Apr-1997 thorpej

Remove redundant file directives.


# 1.67 08-Apr-1997 scottr

Make new ADB driver the default.


# 1.66 21-Mar-1997 scottr

Clean up after arp conversion; from Erik Bertelsen, closes PR 3372.


# 1.65 17-Mar-1997 gwr

Separate bcopy and copypage stuff from copy.s


# 1.64 15-Mar-1997 briggs

Add SONIC driver. Works on my Q700. Untested elsewhere.


# 1.63 15-Mar-1997 is

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.


Revision tags: is-newarp-before-merge
# 1.62 06-Mar-1997 briggs

Undo some damage that CVS somehow let me get away with.


# 1.61 01-Mar-1997 scottr

Adapt to sbc driver/attachment split


# 1.60 27-Feb-1997 briggs

Add ncr53c9x flag to esp.


# 1.59 24-Feb-1997 scottr

Update to reflect ae driver/attachment code split


# 1.58 13-Feb-1997 scottr

Split the obio interface into two forms: optional address only for most
devices (obio_norm) or optional address, HSK, and DMA for 5380-based SCSI
controllers (obio_scsi5380). Update all obio-attached drivers
appropriately.

Also, attach fpu to mainbus, rather than obio.


# 1.57 11-Feb-1997 scottr

Add an addr locator to obio.


# 1.56 10-Feb-1997 scottr

Add needs-flag to asc driver


Revision tags: is-newarp-base
# 1.55 21-Jan-1997 thorpej

branches: 1.55.2;
"md" is declared in sys/conf/files, now.


# 1.54 20-Jan-1997 scottr

Minor formatting cleanup, and remove an old comment


# 1.53 28-Dec-1996 pk

branches: 1.53.2;
rename: ramdisk => md


# 1.52 29-Oct-1996 briggs

ncr96scsi -> esp for consistency with sparc and alpha.


# 1.51 22-Sep-1996 scottr

Update for recent config(8) changes.


# 1.50 05-Aug-1996 scottr

Attach ite semantics to the appropriate grf device, instead of obio.


# 1.49 19-Jun-1996 scottr

Completely revamp setroot() and friends. Since Chris' version of this code
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.

- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.

Also, update/add copyrights as appropriate.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.48 19-May-1996 scottr

Update for new grf attachment code.


# 1.47 18-May-1996 briggs

Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver. When that driver is updated, the local copy
of those files may be removed. From Bill Studenmund.
Compiler warnings fixed by me.


# 1.46 06-May-1996 scottr

Update for renamed sbc driver files


# 1.45 05-May-1996 briggs

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.


# 1.44 29-Apr-1996 scottr

Remove trash left from a merge (probably really my fault).


# 1.43 28-Apr-1996 briggs

shuffle some and change rd to pseudo-device.


# 1.42 25-Apr-1996 scottr

Renamed the sbc driver files


# 1.41 17-Mar-1996 thorpej

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.


# 1.40 22-Feb-1996 gwr

Add m68k/db_memrw.c


# 1.39 07-Feb-1996 scottr

Add sbc driver.


# 1.38 02-Feb-1996 mycroft

Don't special-case conf.c.


# 1.37 21-Nov-1995 briggs

RAMDISK stuff.


# 1.36 03-Nov-1995 briggs

include files.fpe instead of just fpu_emulate.c--to get the new fpe code.


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.35 03-Sep-1995 briggs

Make the new m.i. scsi driver the default.


# 1.34 01-Jul-1995 briggs

add needs-flag for the scsi chip interfaces.


# 1.33 21-Jun-1995 briggs

Add pmap_bootstrap.c and take out mac68k_init.c.


# 1.32 29-Apr-1995 briggs

Add new nubus handling that's much more robust.
Update via, if_ae, and grf accordingly.
Revamp grf.


# 1.31 27-Apr-1995 christos

Use new files.sunos


# 1.30 22-Apr-1995 christos

Move sunos_machdep.c to m68k


# 1.29 22-Apr-1995 christos

- added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.


# 1.28 21-Apr-1995 briggs

Get rid of old file from hp300 origins!?


# 1.27 20-Apr-1995 briggs

include mi scsi files file.
Change several devices from needs-count to needs-flag.


# 1.26 11-Apr-1995 mellon

Reference cninit.c as well as cons.c


# 1.25 29-Mar-1995 briggs

Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
Support the above with gwr's sun3 stuff.


# 1.24 11-Mar-1995 briggs

Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.


# 1.23 15-Feb-1995 briggs

Update to add pramasm.s.


# 1.22 05-Feb-1995 briggs

Add major for vnd.


# 1.21 25-Jan-1995 cgd

add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.


# 1.20 21-Jan-1995 briggs

sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
readability.


# 1.19 03-Dec-1994 briggs

Mac ROM Glue changes from grantham@tenon.com.


# 1.18 27-Nov-1994 briggs

compat/sunos/sun_* -> compat/sunos/sunos_*


# 1.17 27-Nov-1994 briggs

Attempt to use sys/scsi.


# 1.16 26-Oct-1994 cgd

new RCS ID format.


# 1.15 12-Sep-1994 briggs

Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.


# 1.14 21-Jul-1994 briggs

Add asc as a device. Format a tad.


# 1.13 09-Jul-1994 briggs

Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.


# 1.12 26-Jun-1994 briggs

branches: 1.12.2;
Erf. Forgot to put mac68k_init.c in alphabetically.


# 1.11 26-Jun-1994 briggs

Add mac68k_init.c and scsi96.c for 68040 macs and configure them. Not
much uses them, yet, but also added the MC68030 and MC68040 options.


# 1.10 25-Jun-1994 briggs

Checkpoint. GENERIC has some things disabled. Makefile updated for
vnode_if and some cleanup. copy.s added to files.


# 1.9 27-Feb-1994 briggs

Add files for compat_sunos. Shouldn't these be in sys/conf/files.newconf?


# 1.8 22-Feb-1994 briggs

Add fpu.c and alphabetize a bunch.


# 1.7 30-Jan-1994 briggs

Fix for magnum's scsi system, but referenced through arch/mac68k/scsi
as was the old stuff.


# 1.6 20-Jan-1994 briggs

Make uk and su look like devices. Haven't tried compiling uk. su is still
nothing.


# 1.5 10-Jan-1994 briggs

Makefile: Added -T 0 to link for kernel.
files.mac68k.newconf: Removed ddb entries.


# 1.4 08-Jan-1994 cgd

kill entries duplicated in files.m68k.newconf


# 1.3 21-Dec-1993 briggs

Add Apple Ethernet to GENERIC and files. Also add asc.c to files
for sound support.


# 1.2 15-Dec-1993 briggs

Let's try DDB...


# 1.1 02-Dec-1993 briggs

Migrate to new MACHINE definition (mac -> mac68k).