From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Thu, 2 Jun 2005 13:41:05 -0700 (PDT) |
dillon 2005/06/02 13:41:05 PDT DragonFly src repository Modified files: sys/bus/cam cam_periph.c cam_xpt.c sys/bus/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_low.c scsi_low.h scsi_pass.c scsi_pt.c scsi_sa.c scsi_ses.c scsi_targ_bh.c scsi_target.c sys/bus/firewire firewire.c firewirereg.h fwdev.c fwmem.c fwohci.c fwohci_pci.c sys/bus/iicbus iiconf.c sys/bus/ppbus ppbconf.c sys/bus/smbus smbconf.c sys/bus/usb ehci.c ohci.c uhci.c usb.c usb_ethersubr.c usb_mem.c usbdi.c usbdi.h usbdi_util.c usbdivar.h sys/dev/disk/sbp sbp.c sys/dev/sound/usb uaudio.c sys/dev/usbmisc/ucom ucom.c sys/dev/usbmisc/udbp udbp.c sys/dev/usbmisc/ufm ufm.c sys/dev/usbmisc/ugen ugen.c sys/dev/usbmisc/uhid uhid.c sys/dev/usbmisc/ukbd ukbd.c sys/dev/usbmisc/ulpt ulpt.c sys/dev/usbmisc/ums ums.c sys/dev/usbmisc/urio urio.c sys/dev/usbmisc/uscanner uscanner.c Log: Remove spl*() calls from the bus/ infrastructure, replacing them with critical sections. Remove splusb() from everywhere, replacing it with critical sections. Revision Changes Path 1.11 +25 -38 src/sys/bus/cam/cam_periph.c 1.24 +65 -145 src/sys/bus/cam/cam_xpt.c 1.18 +41 -61 src/sys/bus/cam/scsi/scsi_cd.c 1.11 +8 -10 src/sys/bus/cam/scsi/scsi_ch.c 1.23 +24 -36 src/sys/bus/cam/scsi/scsi_da.c 1.13 +35 -36 src/sys/bus/cam/scsi/scsi_low.c 1.8 +0 -1 src/sys/bus/cam/scsi/scsi_low.h 1.13 +17 -23 src/sys/bus/cam/scsi/scsi_pass.c 1.12 +23 -36 src/sys/bus/cam/scsi/scsi_pt.c 1.13 +28 -32 src/sys/bus/cam/scsi/scsi_sa.c 1.12 +8 -7 src/sys/bus/cam/scsi/scsi_ses.c 1.9 +6 -7 src/sys/bus/cam/scsi/scsi_targ_bh.c 1.11 +38 -42 src/sys/bus/cam/scsi/scsi_target.c 1.11 +38 -41 src/sys/bus/firewire/firewire.c 1.8 +0 -2 src/sys/bus/firewire/firewirereg.h 1.10 +16 -15 src/sys/bus/firewire/fwdev.c 1.7 +4 -3 src/sys/bus/firewire/fwmem.c 1.9 +23 -24 src/sys/bus/firewire/fwohci.c 1.18 +6 -8 src/sys/bus/firewire/fwohci_pci.c 1.5 +9 -11 src/sys/bus/iicbus/iiconf.c 1.7 +9 -10 src/sys/bus/ppbus/ppbconf.c 1.5 +9 -11 src/sys/bus/smbus/smbconf.c 1.7 +45 -59 src/sys/bus/usb/ehci.c 1.10 +95 -114 src/sys/bus/usb/ohci.c 1.12 +64 -82 src/sys/bus/usb/uhci.c 1.15 +21 -31 src/sys/bus/usb/usb.c 1.13 +15 -17 src/sys/bus/usb/usb_ethersubr.c 1.5 +11 -15 src/sys/bus/usb/usb_mem.c 1.9 +10 -18 src/sys/bus/usb/usbdi.c 1.5 +0 -12 src/sys/bus/usb/usbdi.h 1.8 +9 -8 src/sys/bus/usb/usbdi_util.c 1.5 +0 -14 src/sys/bus/usb/usbdivar.h 1.14 +38 -42 src/sys/dev/disk/sbp/sbp.c 1.6 +14 -15 src/sys/dev/sound/usb/uaudio.c 1.18 +3 -3 src/sys/dev/usbmisc/ucom/ucom.c 1.5 +8 -11 src/sys/dev/usbmisc/udbp/udbp.c 1.9 +5 -6 src/sys/dev/usbmisc/ufm/ufm.c 1.16 +11 -13 src/sys/dev/usbmisc/ugen/ugen.c 1.14 +8 -11 src/sys/dev/usbmisc/uhid/uhid.c 1.14 +28 -40 src/sys/dev/usbmisc/ukbd/ukbd.c 1.12 +3 -3 src/sys/dev/usbmisc/ulpt/ulpt.c 1.14 +22 -26 src/sys/dev/usbmisc/ums/ums.c 1.11 +5 -4 src/sys/dev/usbmisc/urio/urio.c 1.10 +3 -3 src/sys/dev/usbmisc/uscanner/uscanner.c http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_periph.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_xpt.c.diff?r1=1.23&r2=1.24&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_cd.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_ch.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_da.c.diff?r1=1.22&r2=1.23&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_low.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_low.h.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_pass.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_pt.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_sa.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_ses.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_targ_bh.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_target.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/firewire.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/firewirereg.h.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/fwdev.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/fwmem.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/fwohci.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/firewire/fwohci_pci.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/iicbus/iiconf.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/ppbus/ppbconf.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/smbus/smbconf.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehci.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ohci.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/uhci.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_ethersubr.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_mem.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi.h.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdi_util.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usbdivar.h.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/sbp/sbp.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/usb/uaudio.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ucom/ucom.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/udbp/udbp.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ufm/ufm.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ugen/ugen.c.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uhid/uhid.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ukbd/ukbd.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ulpt/ulpt.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/ums/ums.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/urio/urio.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/usbmisc/uscanner/uscanner.c.diff?r1=1.9&r2=1.10&f=u