Date: Sun, 14 Jun 1998 06:46:13 -0700 (PDT) From: Doug Rabson <dfr@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/alpha/alpha autoconf.c clock.c cons.c dec_kn8ae.c genassym.c gensetdefs.c src/sys/alpha/conf Makefile.alpha files.alpha src/sys/alpha/include alpha_cpu.h param.h vmparam.h src/sys/alpha/tlsb dwlpx.c gbus.c gbusvar.h ... Message-ID: <199806141346.GAA09233@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dfr 1998/06/14 06:46:11 PDT
Modified files:
sys/alpha/alpha autoconf.c clock.c cons.c dec_kn8ae.c
genassym.c gensetdefs.c
sys/alpha/conf Makefile.alpha files.alpha
sys/alpha/include alpha_cpu.h param.h vmparam.h
sys/alpha/tlsb dwlpx.c gbus.c gbusvar.h kftxx.c
kftxxvar.h mcclock_tlsb.c tlsb.c
tlsbvar.h zs_tlsb.c
sys/conf files
sys/dev/dec mc146818reg.h mcclock.c mcclockvar.h
sys/kern subr_bus.c
sys/sys bus.h bus_private.h
Removed files:
sys/dev/dec clockvar.h
Log:
Major changes to the generic device framework for FreeBSD/alpha:
* Eliminate bus_t and make it possible for all devices to have
attached children.
* Support dynamically extendable interfaces for drivers to replace
both the function pointers in driver_t and bus_ops_t (which has been
removed entirely. Two system defined interfaces have been defined,
'device' which is mandatory for all devices and 'bus' which is
recommended for all devices which support attached children.
* In addition, the alpha port defines two simple interfaces 'clock'
for attaching various real time clocks to the system and 'mcclock'
for the many different variations of mc146818 clocks which can be
attached to different alpha platforms. This eliminates two more
function pointer tables in favour of the generic method dispatch
system provided by the device framework.
Future device interfaces may include:
* cdev and bdev interfaces for devfs to use in replacement for specfs
and the fixed interfaces bdevsw and cdevsw.
* scsi interface to replace struct scsi_adapter (not sure how this
works in CAM but I imagine there is something similar there).
* various tailored interfaces for different bus types such as pci,
isa, pccard etc.
Revision Changes Path
1.2 +4 -2 src/sys/alpha/alpha/autoconf.c
1.2 +9 -14 src/sys/alpha/alpha/clock.c
1.2 +2 -2 src/sys/alpha/alpha/cons.c
1.2 +2 -1 src/sys/alpha/alpha/dec_kn8ae.c
1.2 +7 -5 src/sys/alpha/alpha/genassym.c
1.2 +2 -2 src/sys/alpha/alpha/gensetdefs.c
1.2 +14 -7 src/sys/alpha/conf/Makefile.alpha
1.2 +33 -1 src/sys/alpha/conf/files.alpha
1.3 +6 -6 src/sys/alpha/include/alpha_cpu.h
1.4 +2 -2 src/sys/alpha/include/param.h
1.3 +6 -6 src/sys/alpha/include/vmparam.h
1.2 +16 -12 src/sys/alpha/tlsb/dwlpx.c
1.2 +48 -48 src/sys/alpha/tlsb/gbus.c
1.3 +2 -2 src/sys/alpha/tlsb/gbusvar.h
1.2 +63 -63 src/sys/alpha/tlsb/kftxx.c
1.3 +2 -2 src/sys/alpha/tlsb/kftxxvar.h
1.2 +32 -30 src/sys/alpha/tlsb/mcclock_tlsb.c
1.2 +83 -81 src/sys/alpha/tlsb/tlsb.c
1.2 +2 -2 src/sys/alpha/tlsb/tlsbvar.h
1.2 +53 -49 src/sys/alpha/tlsb/zs_tlsb.c
1.143 +1 -1 src/sys/conf/files
1.2 +9 -17 src/sys/dev/dec/mc146818reg.h
1.2 +13 -41 src/sys/dev/dec/mcclock.c
1.2 +5 -11 src/sys/dev/dec/mcclockvar.h
1.2 +229 -166 src/sys/kern/subr_bus.c
1.2 +53 -82 src/sys/sys/bus.h
1.2 +38 -5 src/sys/sys/bus_private.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806141346.GAA09233>
