Subject: CVS commit: basesrc/usr.sbin/mlxctl
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/02/2002 02:51:06
Module Name:	basesrc
Committed By:	lukem
Date:		Sat Jun  1 23:51:06 UTC 2002

Modified Files:
	basesrc/distrib/sets/lists/comp: mi
	basesrc/libexec/ld.elf_so: load.c map_object.c rtld.c symbol.c
	basesrc/usr.sbin/isdn/isdnd: support.c
	basesrc/usr.sbin/mlxctl: dklist.c
	sharesrc/share/man/man3: Makefile queue.3
	syssrc/sys/arch/alpha/eisa: eisa_machdep.c
	syssrc/sys/arch/arm/arm32: pmap.c
	syssrc/sys/arch/hpcmips/dev: plumpcmcia.c
	syssrc/sys/arch/hpcsh/dev/hd64461: hd64461pcmcia.c
	syssrc/sys/arch/hpcsh/dev/hd64465: hd64465pcmcia.c
	syssrc/sys/arch/i386/pci: pci_intr_fixup.c
	syssrc/sys/arch/mac68k/mac68k: iop.c
	syssrc/sys/arch/mmeye/dev: mmeyepcmcia.c
	syssrc/sys/arch/powerpc/mpc6xx: pmap.c
	syssrc/sys/arch/vax/vax: multicpu.c
	syssrc/sys/arch/vax/vsa: vsbus.c
	syssrc/sys/dev: ccd.c rnd.c
	syssrc/sys/dev/acpi: acpi_resource.c
	syssrc/sys/dev/cardbus: cardbus.c cardslot.c
	syssrc/sys/dev/ic: aac.c cac.c gem.c i82365.c icp.c mlx.c rtl81x9.c
	    tcic2.c tulip.c
	syssrc/sys/dev/pci: amr.c if_sip.c if_ti.c mly.c twe.c
	syssrc/sys/dev/pcmcia: aic_pcmcia.c com_pcmcia.c esl_pcmcia.c
	    esp_pcmcia.c fdc_pcmcia.c if_awi_pcmcia.c if_cnw.c if_ep_pcmcia.c
	    if_mbe_pcmcia.c if_ne_pcmcia.c if_ray.c if_sm_pcmcia.c
	    if_tr_pcmcia.c if_wi_pcmcia.c if_xi.c isic_pcmcia.c mhzc.c
	    nca_pcmcia.c pcmcia.c pcmcia_cis.c pcmcia_cis_quirks.c pcmciavar.h
	    pcmcom.c wdc_pcmcia.c
	syssrc/sys/dev/qbus: uba.c
	syssrc/sys/dev/sbus: stp4020.c
	syssrc/sys/dev/usb: ehci.c ohci.c uhci.c usb.c usb_port.h usbdi.c
	syssrc/sys/kern: kern_kthread.c
	syssrc/sys/netsmb: smb_iod.c
	syssrc/sys/sys: queue.h

Log Message:
SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups


To generate a diff of this commit:
cvs rdiff -r1.445 -r1.446 basesrc/distrib/sets/lists/comp/mi
cvs rdiff -r1.15 -r1.16 basesrc/libexec/ld.elf_so/load.c
cvs rdiff -r1.12 -r1.13 basesrc/libexec/ld.elf_so/map_object.c
cvs rdiff -r1.49 -r1.50 basesrc/libexec/ld.elf_so/rtld.c
cvs rdiff -r1.11 -r1.12 basesrc/libexec/ld.elf_so/symbol.c
cvs rdiff -r1.7 -r1.8 basesrc/usr.sbin/isdn/isdnd/support.c
cvs rdiff -r1.3 -r1.4 basesrc/usr.sbin/mlxctl/dklist.c
cvs rdiff -r1.23 -r1.24 sharesrc/share/man/man3/Makefile \
    sharesrc/share/man/man3/queue.3
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/alpha/eisa/eisa_machdep.c
cvs rdiff -r1.97 -r1.98 syssrc/sys/arch/arm/arm32/pmap.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/hpcmips/dev/plumpcmcia.c
cvs rdiff -r1.15 -r1.16 syssrc/sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/i386/pci/pci_intr_fixup.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/mac68k/mac68k/iop.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/mmeye/dev/mmeyepcmcia.c
cvs rdiff -r1.43 -r1.44 syssrc/sys/arch/powerpc/mpc6xx/pmap.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/vax/vax/multicpu.c
cvs rdiff -r1.32 -r1.33 syssrc/sys/arch/vax/vsa/vsbus.c
cvs rdiff -r1.76 -r1.77 syssrc/sys/dev/ccd.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/dev/rnd.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/dev/acpi/acpi_resource.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/dev/cardbus/cardbus.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/cardbus/cardslot.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/dev/ic/aac.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/dev/ic/cac.c syssrc/sys/dev/ic/gem.c
cvs rdiff -r1.65 -r1.66 syssrc/sys/dev/ic/i82365.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/dev/ic/icp.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/ic/mlx.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/dev/ic/rtl81x9.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/ic/tcic2.c
cvs rdiff -r1.114 -r1.115 syssrc/sys/dev/ic/tulip.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/dev/pci/amr.c
cvs rdiff -r1.53 -r1.54 syssrc/sys/dev/pci/if_sip.c
cvs rdiff -r1.47 -r1.48 syssrc/sys/dev/pci/if_ti.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/pci/mly.c
cvs rdiff -r1.24 -r1.25 syssrc/sys/dev/pci/twe.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/dev/pcmcia/aic_pcmcia.c \
    syssrc/sys/dev/pcmcia/pcmcia_cis_quirks.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/dev/pcmcia/com_pcmcia.c \
    syssrc/sys/dev/pcmcia/pcmcia.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/dev/pcmcia/esl_pcmcia.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/pcmcia/esp_pcmcia.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/pcmcia/fdc_pcmcia.c \
    syssrc/sys/dev/pcmcia/nca_pcmcia.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/dev/pcmcia/if_awi_pcmcia.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/dev/pcmcia/if_cnw.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/dev/pcmcia/if_ep_pcmcia.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/dev/pcmcia/if_mbe_pcmcia.c
cvs rdiff -r1.91 -r1.92 syssrc/sys/dev/pcmcia/if_ne_pcmcia.c
cvs rdiff -r1.32 -r1.33 syssrc/sys/dev/pcmcia/if_ray.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/dev/pcmcia/if_sm_pcmcia.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/dev/pcmcia/if_tr_pcmcia.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/dev/pcmcia/if_wi_pcmcia.c \
    syssrc/sys/dev/pcmcia/if_xi.c
cvs rdiff -r1.15 -r1.16 syssrc/sys/dev/pcmcia/isic_pcmcia.c \
    syssrc/sys/dev/pcmcia/pcmciavar.h
cvs rdiff -r1.8 -r1.9 syssrc/sys/dev/pcmcia/mhzc.c \
    syssrc/sys/dev/pcmcia/pcmcom.c
cvs rdiff -r1.29 -r1.30 syssrc/sys/dev/pcmcia/pcmcia_cis.c
cvs rdiff -r1.48 -r1.49 syssrc/sys/dev/pcmcia/wdc_pcmcia.c
cvs rdiff -r1.59 -r1.60 syssrc/sys/dev/qbus/uba.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/dev/sbus/stp4020.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/dev/usb/ehci.c
cvs rdiff -r1.125 -r1.126 syssrc/sys/dev/usb/ohci.c
cvs rdiff -r1.160 -r1.161 syssrc/sys/dev/usb/uhci.c
cvs rdiff -r1.70 -r1.71 syssrc/sys/dev/usb/usb.c
cvs rdiff -r1.54 -r1.55 syssrc/sys/dev/usb/usb_port.h
cvs rdiff -r1.100 -r1.101 syssrc/sys/dev/usb/usbdi.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/kern/kern_kthread.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/netsmb/smb_iod.c
cvs rdiff -r1.30 -r1.31 syssrc/sys/sys/queue.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.