Date: Sun, 21 Sep 1997 15:10:56 -0700 (PDT) From: "Justin T. Gibbs" <gibbs@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/conf files src/sys/dev/vx if_vx.c if_vxreg.h src/sys/i386/apm apm.c src/sys/i386/conf GENERIC files.i386 src/sys/i386/eisa 3c5x9.c aha1742.c aic7770.c bt74x.c eisaconf.c eisaconf.h if_fea.c if_vx_eisa.c src/sys/i386/i386 autoconf.c ... Message-ID: <199709212210.PAA13470@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 1997/09/21 15:10:54 PDT Modified files: sys/conf files Log: Move the rules for aicasm to the MI conf file. Add kern/subr_autoconf.c as a standard file as it contains the bulk of the code for performing interrupt driven configuration. Revision Changes Path 1.112 +16 -0 src/sys/conf/files Modified files: sys/dev/vx if_vx.c if_vxreg.h Log: Convert to the new callout interface. Guard against scheduling more than one callout. Revision Changes Path 1.10 +13 -5 src/sys/dev/vx/if_vx.c 1.4 +2 -0 src/sys/dev/vx/if_vxreg.h Modified files: sys/i386/apm apm.c Log: Convert to the new callout interface. Revision Changes Path 1.60 +7 -3 src/sys/i386/apm/apm.c Modified files: sys/i386/conf GENERIC files.i386 Log: Move the rules for aicasm to the MI conf file. Revision Changes Path 1.95 +19 -18 src/sys/i386/conf/GENERIC 1.177 +2 -14 src/sys/i386/conf/files.i386 Modified files: sys/i386/eisa 3c5x9.c aha1742.c aic7770.c bt74x.c eisaconf.c eisaconf.h if_fea.c if_vx_eisa.c Log: Add shared EISA interrupt support. Clean up the match routines so that they return const char * Revision Changes Path 1.10 +8 -4 src/sys/i386/eisa/3c5x9.c 1.61 +17 -8 src/sys/i386/eisa/aha1742.c 1.42 +9 -4 src/sys/i386/eisa/aic7770.c 1.12 +9 -4 src/sys/i386/eisa/bt74x.c 1.31 +89 -78 src/sys/i386/eisa/eisaconf.c 1.17 +15 -5 src/sys/i386/eisa/eisaconf.h 1.7 +7 -2 src/sys/i386/eisa/if_fea.c 1.5 +8 -3 src/sys/i386/eisa/if_vx_eisa.c Modified files: sys/i386/i386 autoconf.c machdep.c trap.c Log: autoconf.c: Add cpu_rootconf and cpu_dumpconf so that configuring these two devices can be better controlled by the MI configuration code. machdep.c: MD initialization code for the new callout interface. trap.c: Add support for printing out whether cam interrupts are masked during a panic. Revision Changes Path 1.76 +26 -8 src/sys/i386/i386/autoconf.c 1.265 +19 -4 src/sys/i386/i386/machdep.c 1.111 +3 -1 src/sys/i386/i386/trap.c Modified files: sys/i386/include ipl.h si.h Log: ipl.h: Add CAM software/hardware interrupt support. si.h: Update for changes in the callout interface. Revision Changes Path 1.12 +7 -1 src/sys/i386/include/ipl.h 1.9 +4 -1 src/sys/i386/include/si.h Modified files: sys/i386/isa aha1542.c aic6360.c apic_vector.s cy.c fd.c ft.c icu_vector.s if_ie.c if_wl.c if_zp.c ipl.s ipl_funcs.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c Log: aha1542.c aic6360.c cy.c fd.c ft.c if_ie.c if_wl.c if_zp.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c: Update for changes in the callout interface. apic_vector.s icu_vector.s ipl.s ipl_funcs.c: Add CAM software/hardware interrupt support. Revision Changes Path 1.71 +8 -5 src/sys/i386/isa/aha1542.c 1.31 +17 -9 src/sys/i386/isa/aic6360.c 1.22 +7 -4 src/sys/i386/isa/apic_vector.s 1.55 +9 -5 src/sys/i386/isa/cy.c 1.103 +17 -13 src/sys/i386/isa/fd.c 1.36 +17 -15 src/sys/i386/isa/ft.c 1.5 +6 -4 src/sys/i386/isa/icu_vector.s 1.46 +5 -3 src/sys/i386/isa/if_ie.c 1.9 +7 -5 src/sys/i386/isa/if_wl.c 1.39 +18 -4 src/sys/i386/isa/if_zp.c 1.14 +10 -3 src/sys/i386/isa/ipl.s 1.9 +32 -12 src/sys/i386/isa/ipl_funcs.c 1.105 +14 -1 src/sys/i386/isa/isa.c 1.47 +2 -1 src/sys/i386/isa/isa_device.h 1.19 +8 -3 src/sys/i386/isa/labpc.c 1.94 +19 -17 src/sys/i386/isa/mcd.c 1.17 +6 -4 src/sys/i386/isa/ncr5380.c 1.33 +29 -26 src/sys/i386/isa/scd.c 1.26 +7 -5 src/sys/i386/isa/seagate.c 1.61 +4 -4 src/sys/i386/isa/si.c 1.183 +8 -5 src/sys/i386/isa/sio.c 1.24 +8 -5 src/sys/i386/isa/tw.c 1.57 +6 -4 src/sys/i386/isa/ultra14f.c 1.44 +3 -3 src/sys/i386/isa/wcd.c 1.140 +13 -13 src/sys/i386/isa/wd.c Modified files: sys/i386/isa/matcd matcd.c sys/i386/isa/pcvt pcvt_kbd.c pcvt_sup.c sys/i386/linux linux_misc.c sys/i386/scsi aic7xxx.c bt.c Log: Update for changes in the callout interface. Revision Changes Path 1.29 +5 -5 src/sys/i386/isa/matcd/matcd.c 1.20 +7 -5 src/sys/i386/isa/pcvt/pcvt_kbd.c 1.8 +18 -9 src/sys/i386/isa/pcvt/pcvt_sup.c 1.30 +4 -3 src/sys/i386/linux/linux_misc.c 1.125 +26 -17 src/sys/i386/scsi/aic7xxx.c 1.15 +9 -6 src/sys/i386/scsi/bt.c Modified files: sys/i386/isa/sound sequencer.c soundcard.c Log: soundcard.c: Update for changes in the callout interface. sequencer.c: Add a paren that seems to have gone missing. Revision Changes Path 1.17 +1 -1 src/sys/i386/isa/sound/sequencer.c 1.54 +4 -3 src/sys/i386/isa/sound/soundcard.c Modified files: sys/kern init_main.c kern_acct.c kern_clock.c kern_exit.c kern_synch.c kern_time.c subr_autoconf.c vfs_bio.c Log: init_main.c subr_autoconf.c: Add support for "interrupt driven configuration hooks". A component of the kernel can register a hook, most likely during auto-configuration, and receive a callback once interrupt services are available. This callback will occur before the root and dump devices are configured, so the configuration task can affect the selection of those two devices or complete any tasks that need to be performed prior to launching init. System boot is posponed so long as a hook is registered. The hook owner is responsible for removing the hook once their task is complete or the system boot can continue. kern_acct.c kern_clock.c kern_exit.c kern_synch.c kern_time.c: Change the interface and implementation for the kernel callout service. The new implemntaion is based on the work of Adam M. Costello and George Varghese, published in a technical report entitled "Redesigning the BSD Callout and Timer Facilities". The interface used in FreeBSD is a little different than the one outlined in the paper. The new function prototypes are: struct callout_handle timeout(void (*func)(void *), void *arg, int ticks); void untimeout(void (*func)(void *), void *arg, struct callout_handle handle); If a client wishes to remove a timeout, it must store the callout_handle returned by timeout and pass it to untimeout. The new implementation gives 0(1) insert and removal of callouts making this interface scale well even for applications that keep 100s of callouts outstanding. See the updated timeout.9 man page for more details. Revision Changes Path 1.72 +24 -3 src/sys/kern/init_main.c 1.17 +10 -3 src/sys/kern/kern_acct.c 1.41 +115 -81 src/sys/kern/kern_clock.c 1.56 +3 -2 src/sys/kern/kern_exit.c 1.39 +4 -3 src/sys/kern/kern_synch.c 1.35 +8 -5 src/sys/kern/kern_time.c 1.5 +80 -1 src/sys/kern/subr_autoconf.c 1.128 +15 -46 src/sys/kern/vfs_bio.c Modified files: sys/net if_pppvar.h if_sl.c if_slvar.h if_sppp.h if_spppsubr.c ppp_tty.c sys/netatalk aarp.c at_control.c at_var.h sys/netinet ip_mroute.c sys/pccard pccard.c pcic.c slot.h sys/pci if_fxp.c if_fxpvar.h ncr.c scsiiom.c tek390.c Log: Update for new callout interface. Revision Changes Path 1.9 +2 -1 src/sys/net/if_pppvar.h 1.60 +17 -13 src/sys/net/if_sl.c 1.14 +10 -2 src/sys/net/if_slvar.h 1.7 +2 -1 src/sys/net/if_sppp.h 1.27 +15 -9 src/sys/net/if_spppsubr.c 1.24 +3 -3 src/sys/net/ppp_tty.c 1.7 +8 -5 src/sys/netatalk/aarp.c 1.20 +1 -1 src/sys/netatalk/at_control.c 1.9 +9 -8 src/sys/netatalk/at_var.h 1.41 +6 -4 src/sys/netinet/ip_mroute.c 1.35 +7 -6 src/sys/pccard/pccard.c 1.41 +5 -3 src/sys/pccard/pcic.c 1.11 +2 -0 src/sys/pccard/slot.h 1.40 +4 -3 src/sys/pci/if_fxp.c 1.2 +2 -1 src/sys/pci/if_fxpvar.h 1.111 +5 -4 src/sys/pci/ncr.c 1.3 +0 -2 src/sys/pci/scsiiom.c 1.8 +4 -1 src/sys/pci/tek390.c Modified files: sys/scsi cd.c od.c pt.c scsi_base.c scsiconf.h sctarg.c sd.c st.c worm.c Log: Convert to use the new bufq* functions for dealing with buffer queues. Revision Changes Path 1.86 +5 -5 src/sys/scsi/cd.c 1.32 +5 -5 src/sys/scsi/od.c 1.24 +5 -5 src/sys/scsi/pt.c 1.51 +2 -1 src/sys/scsi/scsi_base.c 1.57 +7 -1 src/sys/scsi/scsiconf.h 1.22 +4 -4 src/sys/scsi/sctarg.c 1.111 +6 -6 src/sys/scsi/sd.c 1.82 +5 -5 src/sys/scsi/st.c 1.46 +5 -5 src/sys/scsi/worm.c Modified files: sys/sys buf.h callout.h device.h disk.h disklabel.h kernel.h param.h proc.h queue.h systm.h Log: buf.h: Change the definition of a buffer queue so that bufqdisksort can properly deal with bordered writes. Add inline functions for accessing buffer queues. This should be considered an opaque data structure by clients. callout.h: New callout implementation. device.h: Add support for CAM interrupts. disk.h: disklabel.h: tqdisksort->bufqdisksort kernel.h: Add new configuration entries for configuration hooks and calling cpu_rootconf and cpu_dumpconf. param.h: Add a priority for sleeping waiting on config hooks. proc.h: Update for new callout implementation. queue.h: Add TAILQ_HEAD_INITIALIZER from NetBSD. systm.h: Add prototypes for cpu_root/dumpconf, splcam, splsoftcam, etc.. Revision Changes Path 1.42 +67 -3 src/sys/sys/buf.h 1.8 +21 -5 src/sys/sys/callout.h 1.7 +12 -1 src/sys/sys/device.h 1.8 +2 -2 src/sys/sys/disk.h 1.28 +2 -2 src/sys/sys/disklabel.h 1.34 +5 -2 src/sys/sys/kernel.h 1.27 +2 -1 src/sys/sys/param.h 1.44 +6 -1 src/sys/sys/proc.h 1.18 +4 -1 src/sys/sys/queue.h 1.60 +18 -3 src/sys/sys/systm.h Modified files: sys/ufs/mfs mfs_vfsops.c mfs_vnops.c Log: Update for new buffer queue data structure. Revision Changes Path 1.33 +5 -5 src/sys/ufs/mfs/mfs_vfsops.c 1.20 +7 -7 src/sys/ufs/mfs/mfs_vnops.c Modified files: sys/ufs/ufs ufs_disksubr.c Log: Convert tqdisksort to bufqdisksort. Honor the B_ORDERED buffer flag so that meta-data writes go out to the device in the right order. Revision Changes Path 1.32 +56 -77 src/sys/ufs/ufs/ufs_disksubr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709212210.PAA13470>