Date: Fri, 3 Dec 1999 00:41:25 -0800 (PST) From: "Matthew N. Dodd" <mdodd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha autoconf.c src/sys/alpha/pci apecs.c apecs_pci.c cia.c cia_pci.c lca.c lca_pci.c tsunami.c tsunami_pci.c src/sys/alpha/tc ioasic.c tc.c tcasic.c tcds.c src/sys/alpha/tlsb gbus.c kftxx.c tlsb.c zs_tlsb.c src/sys/dev/amr ... Message-ID: <199912030841.AAA70589@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdodd 1999/12/03 00:41:24 PST Modified files: sys/alpha/alpha autoconf.c sys/alpha/pci apecs.c apecs_pci.c cia.c cia_pci.c lca.c lca_pci.c tsunami.c tsunami_pci.c sys/alpha/tc ioasic.c tc.c tcasic.c tcds.c sys/alpha/tlsb gbus.c kftxx.c tlsb.c zs_tlsb.c sys/dev/amr amr.c sys/dev/bktr bktr_i2c.c sys/dev/ida ida.c sys/dev/iicbus iicbus.c iiconf.c sys/dev/mca mca_bus.c sys/dev/mii mii.c sys/dev/mlx mlx.c sys/dev/pccard pccard.c sys/dev/ppbus lpbb.c sys/dev/smbus smbconf.c smbus.c sys/dev/sound/isa gusc.c sbc.c sys/dev/sound/pci csa.c sys/dev/usb usb_subr.c sys/i386/eisa eisaconf.c sys/i386/i386 autoconf.c nexus.c sys/i386/isa pcf.c pcibus.c sys/isa atkbdc_isa.c fd.c isa_common.c vga_isa.c sys/kern subr_bus.c sys/pc98/pc98 fd.c sys/pccard pccard.c pcic.c sys/pci alpm.c intpm.c ohci_pci.c pci.c pcisupport.c uhci_pci.c sys/sys bus.h Log: Remove the 'ivars' arguement to device_add_child() and device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function. This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc. Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree. Reviewed by: peter, dfr Revision Changes Path 1.36 +2 -2 src/sys/alpha/alpha/autoconf.c 1.13 +2 -2 src/sys/alpha/pci/apecs.c 1.5 +2 -2 src/sys/alpha/pci/apecs_pci.c 1.25 +2 -2 src/sys/alpha/pci/cia.c 1.5 +2 -2 src/sys/alpha/pci/cia_pci.c 1.13 +2 -2 src/sys/alpha/pci/lca.c 1.5 +2 -2 src/sys/alpha/pci/lca_pci.c 1.9 +4 -2 src/sys/alpha/pci/tsunami.c 1.4 +2 -2 src/sys/alpha/pci/tsunami_pci.c 1.8 +6 -2 src/sys/alpha/tc/ioasic.c 1.8 +3 -2 src/sys/alpha/tc/tc.c 1.7 +2 -2 src/sys/alpha/tc/tcasic.c 1.6 +8 -3 src/sys/alpha/tc/tcds.c 1.8 +6 -3 src/sys/alpha/tlsb/gbus.c 1.8 +4 -2 src/sys/alpha/tlsb/kftxx.c 1.9 +3 -2 src/sys/alpha/tlsb/tlsb.c 1.23 +3 -3 src/sys/alpha/tlsb/zs_tlsb.c 1.5 +3 -2 src/sys/dev/amr/amr.c 1.11 +3 -3 src/sys/dev/bktr/bktr_i2c.c 1.6 +2 -2 src/sys/dev/ida/ida.c 1.13 +3 -3 src/sys/dev/iicbus/iicbus.c 1.10 +2 -2 src/sys/dev/iicbus/iiconf.c 1.6 +4 -2 src/sys/dev/mca/mca_bus.c 1.6 +5 -3 src/sys/dev/mii/mii.c 1.9 +3 -2 src/sys/dev/mlx/mlx.c 1.4 +2 -2 src/sys/dev/pccard/pccard.c 1.8 +3 -3 src/sys/dev/ppbus/lpbb.c 1.9 +2 -2 src/sys/dev/smbus/smbconf.c 1.12 +3 -3 src/sys/dev/smbus/smbus.c 1.3 +13 -6 src/sys/dev/sound/isa/gusc.c 1.3 +8 -4 src/sys/dev/sound/isa/sbc.c 1.3 +6 -3 src/sys/dev/sound/pci/csa.c 1.21 +6 -4 src/sys/dev/usb/usb_subr.c 1.54 +4 -2 src/sys/i386/eisa/eisaconf.c 1.145 +2 -2 src/sys/i386/i386/autoconf.c 1.22 +6 -5 src/sys/i386/i386/nexus.c 1.13 +2 -2 src/sys/i386/isa/pcf.c 1.51 +2 -2 src/sys/i386/isa/pcibus.c 1.12 +3 -2 src/sys/isa/atkbdc_isa.c 1.169 +3 -2 src/sys/isa/fd.c 1.14 +6 -2 src/sys/isa/isa_common.c 1.16 +2 -2 src/sys/isa/vga_isa.c 1.49 +21 -13 src/sys/kern/subr_bus.c 1.81 +3 -2 src/sys/pc98/pc98/fd.c 1.99 +3 -2 src/sys/pccard/pccard.c 1.84 +2 -2 src/sys/pccard/pcic.c 1.8 +2 -2 src/sys/pci/alpm.c 1.16 +2 -2 src/sys/pci/intpm.c 1.11 +3 -2 src/sys/pci/ohci_pci.c 1.133 +3 -3 src/sys/pci/pci.c 1.137 +4 -4 src/sys/pci/pcisupport.c 1.17 +3 -2 src/sys/pci/uhci_pci.c 1.29 +4 -5 src/sys/sys/bus.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912030841.AAA70589>