From owner-cvs-all Sun Jun 14 06:46:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA06576 for cvs-all-outgoing; Sun, 14 Jun 1998 06:46:53 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA06570; Sun, 14 Jun 1998 06:46:52 -0700 (PDT) (envelope-from dfr@FreeBSD.org) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA09233; Sun, 14 Jun 1998 06:46:13 -0700 (PDT) Date: Sun, 14 Jun 1998 06:46:13 -0700 (PDT) Message-Id: <199806141346.GAA09233@freefall.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 ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message