CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-06-05 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Jun  5 19:42:02 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
Note ucycom as working.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.15 -r1.1.2.16 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-06-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jun  3 09:34:04 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
Note a working driver.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.14 -r1.1.2.15 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-06-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jun  2 21:19:02 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: umidi.c

Log Message:
remove a no longer relevant XXX SMP comment.


To generate a diff of this commit:
cvs rdiff -u -r1.53.2.6 -r1.53.2.7 src/sys/dev/usb/umidi.c

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



CVS commit: [jmcneill-usbmp] src/sys

2012-06-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jun  2 11:09:42 UTC 2012

Modified Files:
src/sys/arch/acorn26/acorn26 [jmcneill-usbmp]: except.c irq.c machdep.c
pmap.c
src/sys/arch/acorn26/include [jmcneill-usbmp]: boot.h memcreg.h
src/sys/arch/acorn26/iobus [jmcneill-usbmp]: ioc.c iocvar.h
src/sys/arch/acorn26/ioc [jmcneill-usbmp]: if_eca.c if_ecavar.h
latches.c latchvar.h ssn.c
src/sys/arch/acorn26/podulebus [jmcneill-usbmp]: if_eh.c podulebus.c
src/sys/arch/acorn26/stand/lib [jmcneill-usbmp]: riscoscalls.h
src/sys/arch/acorn26/vidc [jmcneill-usbmp]: arcvideo.c vidcreg.h
src/sys/arch/acorn32/acorn32 [jmcneill-usbmp]: rpc_machdep.c
src/sys/arch/acorn32/eb7500atx [jmcneill-usbmp]: eb7500atx_machdep.c
if_cs.c rsbus_io.c
src/sys/arch/acorn32/include [jmcneill-usbmp]: podulebus_machdep.h
src/sys/arch/acorn32/podulebus [jmcneill-usbmp]: if_ie.c if_ne_pbus.c
netslot.c podulebus_io.c
src/sys/arch/acorn32/stand/boot32 [jmcneill-usbmp]: boot32.c
src/sys/arch/acorn32/stand/lib [jmcneill-usbmp]: riscoscalls.h
riscospart.c
src/sys/arch/acorn32/stand/nbfs [jmcneill-usbmp]: nbfs.c
src/sys/arch/alpha/alpha [jmcneill-usbmp]: machdep.c
src/sys/arch/amd64/amd64 [jmcneill-usbmp]: machdep.c netbsd32_machdep.c
process_machdep.c trap.c vector.S
src/sys/arch/amd64/conf [jmcneill-usbmp]: GENERIC files.amd64
src/sys/arch/amd64/include [jmcneill-usbmp]: frameasm.h mcontext.h
vmparam.h
src/sys/arch/amiga/conf [jmcneill-usbmp]: DRACO GENERIC GENERIC.in
INSTALL files.amiga
src/sys/arch/amiga/dev [jmcneill-usbmp]: if_ne_zbus.c
src/sys/arch/amiga/include [jmcneill-usbmp]: bus.h pci_machdep.h
src/sys/arch/arm/arm [jmcneill-usbmp]: cpufunc.c cpufunc_asm_arm11.S
sig_machdep.c
src/sys/arch/arm/arm32 [jmcneill-usbmp]: cpu.c
src/sys/arch/arm/conf [jmcneill-usbmp]: Makefile.arm
src/sys/arch/arm/imx [jmcneill-usbmp]: imxclock.c
src/sys/arch/arm/include [jmcneill-usbmp]: armreg.h
src/sys/arch/arm/iomd [jmcneill-usbmp]: iomd.c iomd_clock.c iomdiic.c
iomdkbc.c iomdvar.h qms.c vidc20.c vidcaudio.c vidcvideo.c
src/sys/arch/cesfic/include [jmcneill-usbmp]: bus.h
src/sys/arch/evbarm/dev [jmcneill-usbmp]: plcom.c plcomreg.h plcomvar.h
src/sys/arch/evbarm/ifpga [jmcneill-usbmp]: plcom_ifpga.c
plcom_ifpgavar.h
src/sys/arch/evbmips/conf [jmcneill-usbmp]: CPMBR1400 LOONGSON
src/sys/arch/hp300/include [jmcneill-usbmp]: bus.h
src/sys/arch/hp700/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/hp700/dev [jmcneill-usbmp]: apic.c asp.c cpu.c dino.c
lasi.c mongoose.c power.c siop_sgc.c wax.c
src/sys/arch/hp700/gsc [jmcneill-usbmp]: gscbus.c gscbusvar.h
src/sys/arch/hp700/hp700 [jmcneill-usbmp]: autoconf.c genassym.cf
intr.c locore.S machdep.c mainbus.c
src/sys/arch/hp700/include [jmcneill-usbmp]: Makefile cpu.h intr.h
src/sys/arch/hppa/hppa [jmcneill-usbmp]: hppa_machdep.c
src/sys/arch/hppa/include [jmcneill-usbmp]: cpufunc.h
src/sys/arch/i386/conf [jmcneill-usbmp]: GENERIC files.i386
src/sys/arch/i386/i386 [jmcneill-usbmp]: machdep.c
src/sys/arch/i386/include [jmcneill-usbmp]: vmparam.h
src/sys/arch/i386/stand/lib [jmcneill-usbmp]: exec.c
src/sys/arch/luna68k/include [jmcneill-usbmp]: bus.h
src/sys/arch/m68k/m68k [jmcneill-usbmp]: sig_machdep.c
src/sys/arch/macppc/dev [jmcneill-usbmp]: dbdma.c valkyriefb.c
src/sys/arch/macppc/macppc [jmcneill-usbmp]: pic_heathrow.c
src/sys/arch/mips/alchemy/dev [jmcneill-usbmp]: if_aumac.c
src/sys/arch/mips/mips [jmcneill-usbmp]: cpu_subr.c netbsd32_machdep.c
src/sys/arch/news68k/include [jmcneill-usbmp]: bus.h
src/sys/arch/powerpc/booke [jmcneill-usbmp]: spe_subr.S trap.c
src/sys/arch/powerpc/booke/dev [jmcneill-usbmp]: pq3etsec.c pq3gpio.c
src/sys/arch/powerpc/include [jmcneill-usbmp]: types.h userret.h
src/sys/arch/powerpc/include/booke [jmcneill-usbmp]: etsecreg.h
src/sys/arch/powerpc/oea [jmcneill-usbmp]: ofw_autoconf.c
ofwoea_machdep.c
src/sys/arch/powerpc/powerpc [jmcneill-usbmp]: sig_machdep.c
src/sys/arch/powerpc/stand/mkbootimage [jmcneill-usbmp]: mkbootimage.c
src/sys/arch/prep/stand/boot [jmcneill-usbmp]: Makefile boot.c boot.h
conf.c devopen.c filesystem.c io.c version
src/sys/arch/sandpoint/conf [jmcneill-usbmp]: KUROBOX
src/sys/arch/sandpoint/sandpoint [jmcneill-usbmp]: autoconf.c
iic_eumb.c satmgr.c
src/sys/arch/sandpoint/stand/altboot [jmcneill-usbmp]: main.c
src/sys/arch/sh3/sh3 [jmcneill-usbmp]: sh3_machdep.c
src/sys/

CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-06-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jun  2 08:07:25 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp usbdi.c usbdi.h
usbdi_util.c

Log Message:
convert usbd_{intr,bulk}_transfer() in the USBMP world:
- add a new USBD_SYNCHRONOUS_SIG flag for transfers
- in usbd_transfer(), if USBD_SYNCHRONOUS_SIG is set use cv_wait_sig()
  (or tlseep(xfer, PZERO|PATCH, ...) for the unconverted controllers)
- add a usbd_sync_transfer_sig() front-end to usbd_transfer()
- greatly simplify both usbd_{intr,bulk}_transfer() to just
  usbd_sync_transfer_sig() and usbd_get_xfer_status().

this fixes lockdebug issues where usbd_{intr,bulk}_transfer() where it
taking the pipe lock, when usbd_transfer() would call functions that
expect the pipe lock not to be taken (and try to taken it.)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.13 -r1.1.2.14 src/sys/dev/usb/TODO.usbmp
cvs rdiff -u -r1.134.2.15 -r1.134.2.16 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.80.2.2 -r1.80.2.3 src/sys/dev/usb/usbdi.h
cvs rdiff -u -r1.55.12.7 -r1.55.12.8 src/sys/dev/usb/usbdi_util.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-05-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat May 12 21:30:07 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
update:
- ugen is done, needs testing
- umass has an issue
- uhid is done
- 2 network cards have been tested


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-05-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat May 12 21:28:59 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ugen.c

Log Message:
port this to usbmp and also make it largely MPSAFE, but not yet enough
for D_MPSAFE to be added.  should be merge-ready now, but needs testing.


To generate a diff of this commit:
cvs rdiff -u -r1.114.2.4 -r1.114.2.5 src/sys/dev/usb/ugen.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev

2012-04-29 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr 30 02:42:32 UTC 2012

Modified Files:
src/sys/dev [jmcneill-usbmp]: audio.c

Log Message:
pullup audio.c 1.261: audio_clear() locking fixes


To generate a diff of this commit:
cvs rdiff -u -r1.255.2.4 -r1.255.2.5 src/sys/dev/audio.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-04-29 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr 30 02:41:02 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
note that axe(4) works.  thanks jdc@!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys

2012-04-29 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Apr 29 23:05:10 UTC 2012

Modified Files:
src/sys/arch/amd64/acpi [jmcneill-usbmp]: acpi_wakecode.S
src/sys/arch/amd64/amd64 [jmcneill-usbmp]: genassym.cf locore.S
machdep.c mptramp.S vector.S
src/sys/arch/amd64/conf [jmcneill-usbmp]: GENERIC XEN3_DOM0
src/sys/arch/amd64/include [jmcneill-usbmp]: param.h
src/sys/arch/amiga/amiga [jmcneill-usbmp]: autoconf.c
src/sys/arch/amiga/conf [jmcneill-usbmp]: DRACO GENERIC GENERIC.in
INSTALL files.amiga
src/sys/arch/amiga/dev [jmcneill-usbmp]: if_ne_zbus.c
src/sys/arch/arm/imx [jmcneill-usbmp]: files.imx51 imx31_clock.c
imx51_axi.c imx51_clock.c imx51_iomux.c imx51_iomuxreg.h imx51reg.h
imxclock.c imxclockvar.h imxepitreg.h
src/sys/arch/evbarm/conf [jmcneill-usbmp]: ADI_BRH ARMADILLO210
ARMADILLO9 BEAGLEBOARD CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425
IXM1200 LUBBOCK MMNET_GENERIC MPCSA_GENERIC NAPPI NETWALKER
NETWALKER_MD NSLU2 OSK5912 OVERO SMDK2410 SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TISDP2420 TISDP2430 TS7200 TWINTAIL VIPER ZAO425
files.netwalker std.netwalker
src/sys/arch/evbarm/dev [jmcneill-usbmp]: plcom.c plcomreg.h
src/sys/arch/evbarm/netwalker [jmcneill-usbmp]: netwalker_machdep.c
netwalker_usb.c
src/sys/arch/evbppc/obs405 [jmcneill-usbmp]: rbus_machdep.c
src/sys/arch/hp700/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/hp700/dev [jmcneill-usbmp]: apic.c cpu.c ssio.c
src/sys/arch/hp700/hp700 [jmcneill-usbmp]: locore.S machdep.c
src/sys/arch/hppa/hppa [jmcneill-usbmp]: fpu.c trap.S trap.c
src/sys/arch/i386/acpi [jmcneill-usbmp]: acpi_wakecode.S
src/sys/arch/i386/conf [jmcneill-usbmp]: ALL GENERIC XEN3_DOM0
src/sys/arch/i386/i386 [jmcneill-usbmp]: compat_16_machdep.c
genassym.cf locore.S mptramp.S
src/sys/arch/i386/include [jmcneill-usbmp]: param.h
src/sys/arch/ia64/conf [jmcneill-usbmp]: GENERIC GENERIC.SKI
src/sys/arch/powerpc/booke/dev [jmcneill-usbmp]: pq3etsec.c
src/sys/arch/powerpc/include [jmcneill-usbmp]: cpu.h
src/sys/arch/sandpoint/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/sandpoint/sandpoint [jmcneill-usbmp]: satmgr.c
src/sys/arch/sandpoint/stand/altboot [jmcneill-usbmp]: README.altboot
brdsetup.c dsk.c globals.h main.c
src/sys/arch/sparc/sparc [jmcneill-usbmp]: intr.c machdep.c
src/sys/arch/sparc64/dev [jmcneill-usbmp]: ffb.c gfb.c
src/sys/arch/sparc64/sparc64 [jmcneill-usbmp]: trap.c
src/sys/arch/x68k/conf [jmcneill-usbmp]: GENERIC INSTALL files.x68k
majors.x68k
src/sys/arch/x68k/stand [jmcneill-usbmp]: Makefile
src/sys/arch/x68k/stand/mboot [jmcneill-usbmp]: mboot.c
src/sys/arch/x68k/x68k [jmcneill-usbmp]: autoconf.c locore.s vectors.s
src/sys/arch/x86/acpi [jmcneill-usbmp]: acpi_wakeup.c
src/sys/arch/x86/include [jmcneill-usbmp]: cpu.h cpuvar.h pmap.h psl.h
specialreg.h
src/sys/arch/x86/pci [jmcneill-usbmp]: amdtemp.c files.pci pchb.c
pchbvar.h pcib.c
src/sys/arch/x86/x86 [jmcneill-usbmp]: cpu.c errata.c mtrr_i686.c
pmap.c pmap_tlb.c
src/sys/arch/xen/include [jmcneill-usbmp]: xenpmap.h
src/sys/arch/xen/x86 [jmcneill-usbmp]: cpu.c x86_xpmap.c xen_pmap.c
src/sys/arch/xen/xen [jmcneill-usbmp]: hypervisor.c
src/sys/arch/zaurus/conf [jmcneill-usbmp]: GENERIC INSTALL
src/sys/coda [jmcneill-usbmp]: coda_psdev.c coda_subr.c coda_venus.c
coda_vfsops.c coda_vnops.c coda_vnops.h
src/sys/compat/netbsd32 [jmcneill-usbmp]: netbsd32.h netbsd32_execve.c
netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c
netbsd32_sysent.c syscalls.master
src/sys/conf [jmcneill-usbmp]: files
src/sys/ddb [jmcneill-usbmp]: db_command.c
src/sys/dev [jmcneill-usbmp]: DEVNAMES audio.c midi.c midi_if.h
midisyn.c midisynvar.h rndpseudo.c sequencer.c
src/sys/dev/acpi [jmcneill-usbmp]: acpi.c acpi_cpu.h acpi_cpu_tstate.c
src/sys/dev/acpi/acpica [jmcneill-usbmp]: OsdMemory.c
src/sys/dev/ata [jmcneill-usbmp]: ata.c
src/sys/dev/cardbus [jmcneill-usbmp]: files.cardbus
src/sys/dev/dkwedge [jmcneill-usbmp]: dk.c dkwedge_mbr.c
src/sys/dev/i2c [jmcneill-usbmp]: dbcool.c i2c_exec.c i2c_io.h
src/sys/dev/ic [jmcneill-usbmp]: ahcisata_core.c bwi.c bwivar.h com.c
mvsata.c opl.c oplvar.h siisata.c
src/sys/dev/ieee1394 [jmcneill-usbmp]: firewire.c firewirereg.h fwdev.c
fwmem.c fwohcivar.h if_fwip.c
src/sys/dev/isa [jmcneill-usbmp]: cms.c midi_pcppi.c opl_ess.c
 

CVS commit: [jmcneill-usbmp] src/sys/external/bsd/ipf/netinet

2012-04-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Apr 17 19:25:23 UTC 2012

Added Files:
src/sys/external/bsd/ipf/netinet [jmcneill-usbmp]: fil.c ip_auth.c
ip_auth.h ip_compat.h ip_dns_pxy.c ip_dstlist.c ip_dstlist.h
ip_fil.h ip_fil_compat.c ip_fil_netbsd.c ip_frag.c ip_frag.h
ip_ftp_pxy.c ip_h323_pxy.c ip_htable.c ip_htable.h ip_ipsec_pxy.c
ip_irc_pxy.c ip_log.c ip_lookup.c ip_lookup.h ip_nat.c ip_nat.h
ip_nat6.c ip_netbios_pxy.c ip_pool.c ip_pool.h ip_pptp_pxy.c
ip_proxy.c ip_proxy.h ip_raudio_pxy.c ip_rcmd_pxy.c ip_rpcb_pxy.c
ip_scan.c ip_scan.h ip_state.c ip_state.h ip_sync.c ip_sync.h
ip_tftp_pxy.c ipf_rb.h ipl.h radix_ipf.c radix_ipf.h

Log Message:
Re-add new ipf on the jmcneill-usbmp branch.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.2.2.2 src/sys/external/bsd/ipf/netinet/fil.c \
src/sys/external/bsd/ipf/netinet/ip_auth.c \
src/sys/external/bsd/ipf/netinet/ip_auth.h \
src/sys/external/bsd/ipf/netinet/ip_compat.h \
src/sys/external/bsd/ipf/netinet/ip_dns_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_dstlist.c \
src/sys/external/bsd/ipf/netinet/ip_dstlist.h \
src/sys/external/bsd/ipf/netinet/ip_fil.h \
src/sys/external/bsd/ipf/netinet/ip_fil_compat.c \
src/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c \
src/sys/external/bsd/ipf/netinet/ip_frag.c \
src/sys/external/bsd/ipf/netinet/ip_frag.h \
src/sys/external/bsd/ipf/netinet/ip_ftp_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_htable.c \
src/sys/external/bsd/ipf/netinet/ip_htable.h \
src/sys/external/bsd/ipf/netinet/ip_ipsec_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_irc_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_log.c \
src/sys/external/bsd/ipf/netinet/ip_lookup.c \
src/sys/external/bsd/ipf/netinet/ip_lookup.h \
src/sys/external/bsd/ipf/netinet/ip_nat.c \
src/sys/external/bsd/ipf/netinet/ip_nat.h \
src/sys/external/bsd/ipf/netinet/ip_nat6.c \
src/sys/external/bsd/ipf/netinet/ip_netbios_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_pool.c \
src/sys/external/bsd/ipf/netinet/ip_pool.h \
src/sys/external/bsd/ipf/netinet/ip_pptp_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_proxy.c \
src/sys/external/bsd/ipf/netinet/ip_proxy.h \
src/sys/external/bsd/ipf/netinet/ip_raudio_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_rcmd_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_rpcb_pxy.c \
src/sys/external/bsd/ipf/netinet/ip_scan.c \
src/sys/external/bsd/ipf/netinet/ip_scan.h \
src/sys/external/bsd/ipf/netinet/ip_state.c \
src/sys/external/bsd/ipf/netinet/ip_state.h \
src/sys/external/bsd/ipf/netinet/ip_sync.c \
src/sys/external/bsd/ipf/netinet/ip_sync.h \
src/sys/external/bsd/ipf/netinet/ip_tftp_pxy.c \
src/sys/external/bsd/ipf/netinet/ipf_rb.h \
src/sys/external/bsd/ipf/netinet/ipl.h \
src/sys/external/bsd/ipf/netinet/radix_ipf.c \
src/sys/external/bsd/ipf/netinet/radix_ipf.h
cvs rdiff -u -r0 -r1.1.2.2 src/sys/external/bsd/ipf/netinet/ip_h323_pxy.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-04-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Apr 14 23:11:02 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
note that:
 - umodem works
 - checking uhid is a merge issue
 - testing ugen, ulpt and a couple of network devices is a merge issue
 - ehci issues are done


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.10 -r1.1.2.11 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-04-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Apr  6 08:22:28 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
note that ulpt and uplcom both attach


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-04-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Apr  6 08:13:40 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
mark ubt and uhso as working, thanks iain!


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.8 -r1.1.2.9 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-04-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Apr  6 08:11:41 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uhci.c

Log Message:
take the thread lock earlier in uhci_device_intr_start().
avoids failed mutex owned asserts, and now bt* work.


To generate a diff of this commit:
cvs rdiff -u -r1.240.6.19 -r1.240.6.20 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-04-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Apr  5 22:32:09 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c

Log Message:
make these compile without DIAGNOSTIC.


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.19 -r1.181.6.20 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.19 -r1.218.6.20 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.18 -r1.240.6.19 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys

2012-04-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Apr  5 21:33:53 UTC 2012

Modified Files:
src/sys/arch/alpha/include [jmcneill-usbmp]: limits.h
src/sys/arch/amd64/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/amd64/include [jmcneill-usbmp]: limits.h
src/sys/arch/amiga/dev [jmcneill-usbmp]: grf.c
src/sys/arch/amiga/include [jmcneill-usbmp]: limits.h
src/sys/arch/arm/conf [jmcneill-usbmp]: Makefile.arm
src/sys/arch/arm/include [jmcneill-usbmp]: limits.h
src/sys/arch/atari/include [jmcneill-usbmp]: limits.h
src/sys/arch/dreamcast/include [jmcneill-usbmp]: limits.h
src/sys/arch/evbarm/conf [jmcneill-usbmp]: IGEPV2 MARVELL_NAS MINI2440
MV2120 SHEEVAPLUG TWINTAIL
src/sys/arch/evbarm/g42xxeb [jmcneill-usbmp]: g42xxeb_kmkbd.c
src/sys/arch/evbarm/marvell [jmcneill-usbmp]: marvell_machdep.c
src/sys/arch/evbppc/mpc85xx [jmcneill-usbmp]: machdep.c
src/sys/arch/evbsh3/include [jmcneill-usbmp]: limits.h
src/sys/arch/hp300/include [jmcneill-usbmp]: limits.h
src/sys/arch/hp700/dev [jmcneill-usbmp]: apic.c cpu.c dino.c lasi.c
siop_sgc.c wax.c
src/sys/arch/hp700/hp700 [jmcneill-usbmp]: intr.c locore.S machdep.c
mainbus.c
src/sys/arch/hp700/include [jmcneill-usbmp]: cpu.h intr.h
src/sys/arch/hpcarm/conf [jmcneill-usbmp]: INSTALL_WZERO3 NETBOOKPRO
WZERO3 files.hpcarm files.pxa2x0
src/sys/arch/hpcarm/hpcarm [jmcneill-usbmp]: hpc_machdep.c locore.S
pxa2x0_hpc_machdep.c sa11x0_hpc_machdep.c
src/sys/arch/hpcsh/include [jmcneill-usbmp]: limits.h
src/sys/arch/hppa/conf [jmcneill-usbmp]: files.hppa
src/sys/arch/hppa/hppa [jmcneill-usbmp]: db_machdep.c lock_stubs.S
trap.S
src/sys/arch/hppa/include [jmcneill-usbmp]: cpufunc.h limits.h psl.h
src/sys/arch/i386/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/i386/include [jmcneill-usbmp]: limits.h
src/sys/arch/i386/stand [jmcneill-usbmp]: Makefile.inc
src/sys/arch/ia64/include [jmcneill-usbmp]: limits.h
src/sys/arch/landisk/include [jmcneill-usbmp]: limits.h
src/sys/arch/landisk/landisk [jmcneill-usbmp]: bus_dma.c
src/sys/arch/luna68k/include [jmcneill-usbmp]: limits.h
src/sys/arch/m68k/include [jmcneill-usbmp]: limits.h profile.h
src/sys/arch/mac68k/include [jmcneill-usbmp]: limits.h
src/sys/arch/macppc/conf [jmcneill-usbmp]: GENERIC GENERIC_MD INSTALL
src/sys/arch/macppc/dev [jmcneill-usbmp]: ofb.c
src/sys/arch/macppc/macppc [jmcneill-usbmp]: machdep.c pic_heathrow.c
pic_ohare.c
src/sys/arch/mips/include [jmcneill-usbmp]: cachectl.h ecoff_machdep.h
ieeefp.h limits.h
src/sys/arch/mvme68k/include [jmcneill-usbmp]: limits.h
src/sys/arch/news68k/include [jmcneill-usbmp]: limits.h
src/sys/arch/powerpc/booke [jmcneill-usbmp]: booke_pmap.c copyin.c
e500_tlb.c
src/sys/arch/powerpc/booke/dev [jmcneill-usbmp]: pq3gpio.c
src/sys/arch/powerpc/conf [jmcneill-usbmp]: Makefile.powerpc
files.powerpc
src/sys/arch/powerpc/include [jmcneill-usbmp]: cpu.h limits.h
src/sys/arch/powerpc/include/booke [jmcneill-usbmp]: e500var.h pmap.h
src/sys/arch/powerpc/powerpc [jmcneill-usbmp]: db_disasm.c
powerpc_machdep.c vm_machdep.c
src/sys/arch/sh3/include [jmcneill-usbmp]: limits.h
src/sys/arch/shark/ofw [jmcneill-usbmp]: vga_ofbus.c
src/sys/arch/sparc/conf [jmcneill-usbmp]: BILL-THE-CAT GENERIC INSTALL
KRUPS MRCOFFEE TADPOLE3GX
src/sys/arch/sparc/dev [jmcneill-usbmp]: tctrl.c
src/sys/arch/sparc/include [jmcneill-usbmp]: aout_machdep.h ieeefp.h
limits.h
src/sys/arch/sparc/sparc [jmcneill-usbmp]: cpu.c
src/sys/arch/sparc64/conf [jmcneill-usbmp]: GENERIC NONPLUS64
src/sys/arch/sparc64/dev [jmcneill-usbmp]: central.c ebus_mainbus.c
fhc.c fhc_central.c fhc_mainbus.c gfb.c iommu.c iommuvar.h
pcf8591_envctrl.c pcfiic_ebus.c pld_wdog.c pyro.c schizo.c
schizoreg.h schizovar.h tda.c upa.c
src/sys/arch/sparc64/sparc64 [jmcneill-usbmp]: locore.s pmap.c trap.c
src/sys/arch/vax/conf [jmcneill-usbmp]: INSTALL
src/sys/arch/vax/include [jmcneill-usbmp]: limits.h
src/sys/arch/x68k/include [jmcneill-usbmp]: limits.h loadfile_machdep.h
src/sys/arch/x68k/stand [jmcneill-usbmp]: Makefile
src/sys/arch/x68k/stand/boot [jmcneill-usbmp]: Makefile boot.c
boot.ldscript conf.c version
src/sys/arch/x68k/stand/libsa [jmcneill-usbmp]: sdcd.c
src/sys/arch/x68k/stand/mboot [jmcneill-usbmp]: Makefile mboot.c
src/sys/arch/x86/include [jmcneill-usbmp]: pmap.h
src/sys/arch/x86/x86 [jmcneill-usbmp]: ipmi.c
src/sys/arch/xen/x86 [jmcneill-usbmp]:

CVS commit: [jmcneill-usbmp] src/sys/dev

2012-03-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 12 06:42:15 UTC 2012

Modified Files:
src/sys/dev/pci [jmcneill-usbmp]: ehci_pci.c
src/sys/dev/usb [jmcneill-usbmp]: ehci.c usb.c

Log Message:
fix detach bugs:
- need to disestablish the ehci softint's.
- need to destroy needs_explore_cv
- note that ehci.c inits locks, but ehci_pci.c destroys them due to the
  way that the (pci) front end does softint handling, and can only be
  trusted to destroy them.  XXX need to fix this, by looking at the many
  ehci frontends as well and checking ohci/uhci.


To generate a diff of this commit:
cvs rdiff -u -r1.53.6.3 -r1.53.6.4 src/sys/dev/pci/ehci_pci.c
cvs rdiff -u -r1.181.6.17 -r1.181.6.18 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.125.6.12 -r1.125.6.13 src/sys/dev/usb/usb.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/scsipi

2012-03-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 12 04:11:56 UTC 2012

Modified Files:
src/sys/dev/scsipi [jmcneill-usbmp]: scsiconf.c

Log Message:
merge scsiconf.c 1.264.


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.262.8.1 src/sys/dev/scsipi/scsiconf.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/ic

2012-03-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Mar 12 04:11:34 UTC 2012

Modified Files:
src/sys/dev/ic [jmcneill-usbmp]: sl811hs.c

Log Message:
fix a comment


To generate a diff of this commit:
cvs rdiff -u -r1.31.2.3 -r1.31.2.4 src/sys/dev/ic/sl811hs.c

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



CVS commit: [jmcneill-usbmp] src/sys

2012-03-10 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Mar 11 01:52:31 UTC 2012

Modified Files:
src/sys/arch/acorn26/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/acorn32/conf [jmcneill-usbmp]: EB7500ATX GENERIC
src/sys/arch/alpha/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/amd64/conf [jmcneill-usbmp]: GENERIC XEN3_DOM0 XEN3_DOMU
src/sys/arch/amiga/conf [jmcneill-usbmp]: DRACO GENERIC GENERIC.in
src/sys/arch/amigappc/conf [jmcneill-usbmp]: GENERIC NULL
src/sys/arch/arc/conf [jmcneill-usbmp]: GENERIC RAMDISK
src/sys/arch/atari/conf [jmcneill-usbmp]: ATARITT FALCON GENERIC.in
HADES MILAN-ISAIDE MILAN-PCIIDE
src/sys/arch/bebox/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/cats/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/cesfic/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/cobalt/conf [jmcneill-usbmp]: GENERIC INSTALL
src/sys/arch/dreamcast/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/emips/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/evbarm/conf [jmcneill-usbmp]: ARMADILLO210 ARMADILLO9
CP3100 GUMSTIX HDL_G MARVELL_NAS MMNET_GENERIC MPCSA_GENERIC MV2120
OVERO SHEEVAPLUG
src/sys/arch/evbmips/conf [jmcneill-usbmp]: CPMBR1400
src/sys/arch/evbppc/conf [jmcneill-usbmp]: OPENBLOCKS266 OPENBLOCKS600
src/sys/arch/ews4800mips/conf [jmcneill-usbmp]: GENERIC RAMDISK
src/sys/arch/hp300/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/hp700/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/hpcarm/conf [jmcneill-usbmp]: IPAQ JORNADA720 JORNADA820
NETBOOKPRO WZERO3
src/sys/arch/hpcsh/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/hppa/hppa [jmcneill-usbmp]: trap.c vm_machdep.c
src/sys/arch/i386/conf [jmcneill-usbmp]: ALL GENERIC GENERIC_PS2TINY
GENERIC_TINY MODULAR XEN3_DOM0 XEN3_DOMU
src/sys/arch/i386/stand/fatboot [jmcneill-usbmp]: Makefile fatboot.S
src/sys/arch/iyonix/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/landisk/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/luna68k/conf [jmcneill-usbmp]: GENERIC INSTALL
src/sys/arch/mac68k/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/macppc/conf [jmcneill-usbmp]: GENERIC MAMBO POWERMAC_G5
src/sys/arch/mipsco/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/mmeye/conf [jmcneill-usbmp]: GENERIC MMEYE_WLF
src/sys/arch/netwinder/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/news68k/conf [jmcneill-usbmp]: GENERIC GENERIC_TINY
src/sys/arch/newsmips/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/next68k/conf [jmcneill-usbmp]: GENERIC SLAB
src/sys/arch/ofppc/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/pmax/conf [jmcneill-usbmp]: GENERIC GENERIC64
src/sys/arch/prep/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/rs6000/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/sandpoint/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/sbmips/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/sgimips/conf [jmcneill-usbmp]: GENERIC32_IP12
GENERIC32_IP2x GENERIC32_IP3x
src/sys/arch/shark/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/sparc/conf [jmcneill-usbmp]: GENERIC KRUPS MRCOFFEE
src/sys/arch/sparc64/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/sparc64/include [jmcneill-usbmp]: param.h
src/sys/arch/sun2/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/sun3/conf [jmcneill-usbmp]: GENERIC GENERIC3X
src/sys/arch/vax/conf [jmcneill-usbmp]: GENERIC VAX780
src/sys/arch/vax/vax [jmcneill-usbmp]: clock.c
src/sys/arch/x68k/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/zaurus/conf [jmcneill-usbmp]: GENERIC INSTALL
src/sys/compat/freebsd [jmcneill-usbmp]: freebsd_syscall.h
freebsd_syscallargs.h freebsd_syscalls.c freebsd_sysent.c
syscalls.master
src/sys/compat/netbsd32 [jmcneill-usbmp]: files.netbsd32 netbsd32_sem.c
netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c
netbsd32_sysent.c syscalls.master
src/sys/conf [jmcneill-usbmp]: files
src/sys/dev/ic [jmcneill-usbmp]: ncr53c9x.c ninjascsi32.c sl811hs.c
src/sys/dev/microcode/cyclades-z [jmcneill-usbmp]: cyzfirm2h.c
src/sys/dev/pci [jmcneill-usbmp]: if_bnx.c r128fb.c
src/sys/dev/usb [jmcneill-usbmp]: ehci.c if_kue.c ohci.c uhci.c uhub.c
usbdivar.h
src/sys/kern [jmcneill-usbmp]: init_sysctl.c init_sysent.c kern_exec.c
kern_syscall.c syscalls.c syscalls.master uipc_sem.c
src/sys/modules/compat_netbsd32 [jmcneill-usbmp]: Makefile
src/sys/net/npf [jmcneill-usbmp]: npf_ncode.h
src/sys/rump/include/rump [jmcneill-usbmp]: rump_syscalls.h
src/sys/rump/kern [jmcneill-usbmp]: Makefile.rumpkerncomp
src/sys/rump/librump/rumpkern [jmcneill-usbmp]: Makefile.rumpk

CVS commit: [jmcneill-usbmp] src/sys

2012-03-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar  6 18:26:49 UTC 2012

Modified Files:
src/sys/arch/algor/algor [jmcneill-usbmp]: machdep.c
src/sys/arch/amd64/amd64 [jmcneill-usbmp]: machdep.c
src/sys/arch/amd64/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/evbmips/adm5120 [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/alchemy [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/atheros [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/conf [jmcneill-usbmp]: LOONGSON files.loongson
src/sys/arch/evbmips/loongson [jmcneill-usbmp]: autoconf.c
bonito_mainbus.c loongson_bus_defs.h loongson_bus_io.c machdep.c
yeeloong_machdep.c
src/sys/arch/evbmips/loongson/dev [jmcneill-usbmp]: glx.c
src/sys/arch/evbmips/malta [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/rasoc [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/rmixl [jmcneill-usbmp]: machdep.c
src/sys/arch/hp700/hp700 [jmcneill-usbmp]: intr.c
src/sys/arch/hpcarm/hpcarm [jmcneill-usbmp]: pxa2x0_hpc_machdep.c
src/sys/arch/hppa/hppa [jmcneill-usbmp]: pmap.c
src/sys/arch/i386/conf [jmcneill-usbmp]: ALL
src/sys/arch/i386/i386 [jmcneill-usbmp]: locore.S machdep.c
src/sys/arch/mips/include [jmcneill-usbmp]: intr.h
src/sys/arch/mips/mips [jmcneill-usbmp]: mips_fpu.c mips_machdep.c
src/sys/arch/shark/ofw [jmcneill-usbmp]: ofw.c
src/sys/arch/sparc64/conf [jmcneill-usbmp]: Makefile.sparc64
files.sparc64
src/sys/arch/sparc64/sparc64 [jmcneill-usbmp]: locore.s
src/sys/arch/usermode/dev [jmcneill-usbmp]: cpu.c ttycons.c
src/sys/arch/usermode/include [jmcneill-usbmp]: intr.h thunk.h
src/sys/arch/usermode/usermode [jmcneill-usbmp]: pmap.c thunk.c trap.c
src/sys/arch/vax/include [jmcneill-usbmp]: cpu.h
src/sys/arch/vax/vax [jmcneill-usbmp]: machdep.c
src/sys/arch/x86/include [jmcneill-usbmp]: cpu.h specialreg.h
src/sys/arch/x86/isa [jmcneill-usbmp]: isa_machdep.c
src/sys/arch/x86/pci [jmcneill-usbmp]: amdtemp.c pci_machdep.c
src/sys/arch/xen/x86 [jmcneill-usbmp]: x86_xpmap.c xen_pmap.c
src/sys/arch/xen/xen [jmcneill-usbmp]: xpci_xenbus.c
src/sys/compat/netbsd32 [jmcneill-usbmp]: netbsd32.h netbsd32_fs.c
src/sys/dev/ic [jmcneill-usbmp]: gcscpcib.c rtl8169.c rtl81x9reg.h
src/sys/dev/pci [jmcneill-usbmp]: files.pci gcscaudio.c pcidevs
pcidevs.h pcidevs_data.h piixide.c radeonfb.c radeonfbvar.h
sdhc_pci.c
src/sys/dev/pci/hdaudio [jmcneill-usbmp]: hdaudio_ids.c
src/sys/dev/scsipi [jmcneill-usbmp]: ss.c ss_mustek.c ss_scanjet.c
ssvar.h st.c st_atapi.c st_scsi.c stvar.h
src/sys/dev/sdmmc [jmcneill-usbmp]: sdhc.c sdhcreg.h
src/sys/dev/usb [jmcneill-usbmp]: if_aue.c if_axe.c if_udav.c
if_urndis.c ohci.c ohcivar.h uhci.c uhcivar.h uhid.c uhub.c ulpt.c
umass.c umass_isdata.c umass_quirks.c umass_scsipi.c umassvar.h
usb.h usbdevs usbdevs.h usbdevs_data.h usbdi.c usbdi_util.c
usbdivar.h
src/sys/fs/tmpfs [jmcneill-usbmp]: tmpfs_vnops.c
src/sys/kern [jmcneill-usbmp]: kern_fork.c kern_synch.c subr_vmem.c
src/sys/lib/libsa [jmcneill-usbmp]: ls.c
src/sys/rump/librump/rumpkern [jmcneill-usbmp]: vm.c
src/sys/sys [jmcneill-usbmp]: cdefs_elf.h
src/sys/ufs/chfs [jmcneill-usbmp]: chfs_inode.h chfs_malloc.c
chfs_pool.c
Added Files:
src/sys/dev/pci [jmcneill-usbmp]: lynxfb.c lynxfbreg.h lynxfbvar.h

Log Message:
sync to -current


To generate a diff of this commit:
cvs rdiff -u -r1.51.6.2 -r1.51.6.3 src/sys/arch/algor/algor/machdep.c
cvs rdiff -u -r1.171.2.4 -r1.171.2.5 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.340.2.3 -r1.340.2.4 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.21.6.2 -r1.21.6.3 src/sys/arch/evbmips/adm5120/machdep.c
cvs rdiff -u -r1.51.6.2 -r1.51.6.3 src/sys/arch/evbmips/alchemy/machdep.c
cvs rdiff -u -r1.27.6.2 -r1.27.6.3 src/sys/arch/evbmips/atheros/machdep.c
cvs rdiff -u -r1.7.2.3 -r1.7.2.4 src/sys/arch/evbmips/conf/LOONGSON
cvs rdiff -u -r1.2.6.2 -r1.2.6.3 src/sys/arch/evbmips/conf/files.loongson
cvs rdiff -u -r1.1.6.2 -r1.1.6.3 src/sys/arch/evbmips/loongson/autoconf.c \
src/sys/arch/evbmips/loongson/bonito_mainbus.c \
src/sys/arch/evbmips/loongson/loongson_bus_defs.h \
src/sys/arch/evbmips/loongson/loongson_bus_io.c
cvs rdiff -u -r1.3.6.2 -r1.3.6.3 src/sys/arch/evbmips/loongson/machdep.c
cvs rdiff -u -r1.1.6.3 -r1.1.6.4 \
src/sys/arch/evbmips/loongson/yeeloong_machdep.c
cvs rdiff -u -r1.1.6.3 -r1.1.6.4 src/sys/arch/evbmips/loongson/dev/glx.c
cvs rdiff -u -r1.41.6.2 -r1.41.6.3 src/sys/arch/evbmips/malta/machdep.c
cvs rdiff -u -r1.5.6.3 -r1.5.6.4 src/sys/arch/evbmips/rasoc/machdep.c
cvs rdiff -u -r1.9.8.3 -r1.9.8.4 src/sys/arch/evbmips/rmixl/machdep.c
cv

CVS commit: [jmcneill-usbmp] src/sys

2012-03-06 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Mar  6 09:56:29 UTC 2012

Modified Files:
src/sys/arch/algor/algor [jmcneill-usbmp]: machdep.c
src/sys/arch/amd64/amd64 [jmcneill-usbmp]: machdep.c
src/sys/arch/amd64/conf [jmcneill-usbmp]: GENERIC
src/sys/arch/evbmips/adm5120 [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/alchemy [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/atheros [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/conf [jmcneill-usbmp]: LOONGSON files.loongson
src/sys/arch/evbmips/loongson [jmcneill-usbmp]: autoconf.c
bonito_mainbus.c loongson_bus_defs.h loongson_bus_io.c machdep.c
yeeloong_machdep.c
src/sys/arch/evbmips/loongson/dev [jmcneill-usbmp]: glx.c
src/sys/arch/evbmips/malta [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/rasoc [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/rmixl [jmcneill-usbmp]: machdep.c
src/sys/arch/hp700/hp700 [jmcneill-usbmp]: intr.c
src/sys/arch/hppa/hppa [jmcneill-usbmp]: pmap.c
src/sys/arch/i386/conf [jmcneill-usbmp]: ALL
src/sys/arch/i386/i386 [jmcneill-usbmp]: locore.S machdep.c
src/sys/arch/mips/include [jmcneill-usbmp]: intr.h
src/sys/arch/mips/mips [jmcneill-usbmp]: mips_fpu.c mips_machdep.c
src/sys/arch/shark/ofw [jmcneill-usbmp]: ofw.c
src/sys/arch/sparc64/conf [jmcneill-usbmp]: Makefile.sparc64
files.sparc64
src/sys/arch/sparc64/sparc64 [jmcneill-usbmp]: locore.s
src/sys/arch/usermode/dev [jmcneill-usbmp]: cpu.c ttycons.c
src/sys/arch/usermode/include [jmcneill-usbmp]: intr.h thunk.h
src/sys/arch/usermode/usermode [jmcneill-usbmp]: pmap.c thunk.c trap.c
src/sys/arch/vax/include [jmcneill-usbmp]: cpu.h
src/sys/arch/vax/vax [jmcneill-usbmp]: machdep.c
src/sys/arch/x86/include [jmcneill-usbmp]: cpu.h specialreg.h
src/sys/arch/x86/isa [jmcneill-usbmp]: isa_machdep.c
src/sys/arch/x86/pci [jmcneill-usbmp]: amdtemp.c pci_machdep.c
src/sys/arch/xen/x86 [jmcneill-usbmp]: x86_xpmap.c xen_pmap.c
src/sys/dev/ic [jmcneill-usbmp]: gcscpcib.c rtl8169.c rtl81x9reg.h
src/sys/dev/pci [jmcneill-usbmp]: files.pci gcscaudio.c pcidevs
pcidevs.h pcidevs_data.h radeonfb.c radeonfbvar.h sdhc_pci.c
src/sys/dev/pci/hdaudio [jmcneill-usbmp]: hdaudio_ids.c
src/sys/dev/scsipi [jmcneill-usbmp]: ss.c ss_mustek.c ss_scanjet.c
ssvar.h st.c st_atapi.c st_scsi.c stvar.h
src/sys/dev/sdmmc [jmcneill-usbmp]: sdhc.c sdhcreg.h
src/sys/dev/usb [jmcneill-usbmp]: if_urndis.c umass.c umass_isdata.c
umass_quirks.c umass_scsipi.c umassvar.h usbdevs usbdevs.h
usbdevs_data.h
src/sys/fs/tmpfs [jmcneill-usbmp]: tmpfs_vnops.c
src/sys/kern [jmcneill-usbmp]: kern_fork.c kern_synch.c
src/sys/lib/libsa [jmcneill-usbmp]: ls.c
src/sys/sys [jmcneill-usbmp]: cdefs_elf.h
src/sys/ufs/chfs [jmcneill-usbmp]: chfs_inode.h chfs_malloc.c
chfs_pool.c
Removed Files:
src/sys/dev/pci [jmcneill-usbmp]: lynxfb.c lynxfbreg.h lynxfbvar.h

Log Message:
sync to -current


To generate a diff of this commit:
cvs rdiff -u -r1.51.6.1 -r1.51.6.2 src/sys/arch/algor/algor/machdep.c
cvs rdiff -u -r1.171.2.3 -r1.171.2.4 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.340.2.2 -r1.340.2.3 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.21.6.1 -r1.21.6.2 src/sys/arch/evbmips/adm5120/machdep.c
cvs rdiff -u -r1.51.6.1 -r1.51.6.2 src/sys/arch/evbmips/alchemy/machdep.c
cvs rdiff -u -r1.27.6.1 -r1.27.6.2 src/sys/arch/evbmips/atheros/machdep.c
cvs rdiff -u -r1.7.2.2 -r1.7.2.3 src/sys/arch/evbmips/conf/LOONGSON
cvs rdiff -u -r1.2.6.1 -r1.2.6.2 src/sys/arch/evbmips/conf/files.loongson
cvs rdiff -u -r1.1.6.1 -r1.1.6.2 src/sys/arch/evbmips/loongson/autoconf.c \
src/sys/arch/evbmips/loongson/bonito_mainbus.c \
src/sys/arch/evbmips/loongson/loongson_bus_defs.h \
src/sys/arch/evbmips/loongson/loongson_bus_io.c
cvs rdiff -u -r1.3.6.1 -r1.3.6.2 src/sys/arch/evbmips/loongson/machdep.c
cvs rdiff -u -r1.1.6.2 -r1.1.6.3 \
src/sys/arch/evbmips/loongson/yeeloong_machdep.c
cvs rdiff -u -r1.1.6.2 -r1.1.6.3 src/sys/arch/evbmips/loongson/dev/glx.c
cvs rdiff -u -r1.41.6.1 -r1.41.6.2 src/sys/arch/evbmips/malta/machdep.c
cvs rdiff -u -r1.5.6.2 -r1.5.6.3 src/sys/arch/evbmips/rasoc/machdep.c
cvs rdiff -u -r1.9.8.2 -r1.9.8.3 src/sys/arch/evbmips/rmixl/machdep.c
cvs rdiff -u -r1.36.8.1 -r1.36.8.2 src/sys/arch/hp700/hp700/intr.c
cvs rdiff -u -r1.81.6.2 -r1.81.6.3 src/sys/arch/hppa/hppa/pmap.c
cvs rdiff -u -r1.327.2.2 -r1.327.2.3 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.95.8.1 -r1.95.8.2 src/sys/arch/i386/i386/locore.S
cvs rdiff -u -r1.714.2.3 -r1.714.2.4 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.5.8.1 -r1.5.8.2 src/sys/arch/mips/include/intr.h
cvs rdiff -u -r1.7.6.1 -r1.7.6.2 src/sys/arch/mips/

CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-03-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Mar  4 06:55:31 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
umass(4) is only partially done wrt tsleep/wakeup conversion.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-03-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Mar  4 01:32:47 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c

Log Message:
minor KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.15 -r1.181.6.16 src/sys/dev/usb/ehci.c

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



CVS commit: [jmcneill-usbmp] src/sys

2012-03-03 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Mar  4 00:46:33 UTC 2012

Modified Files:
src/sys/arch/algor/algor [jmcneill-usbmp]: machdep.c
src/sys/arch/amd64/amd64 [jmcneill-usbmp]: bios32.c locore.S machdep.c
src/sys/arch/amd64/conf [jmcneill-usbmp]: GENERIC XEN3_DOM0 XEN3_DOMU
src/sys/arch/evbmips/adm5120 [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/alchemy [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/atheros [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/conf [jmcneill-usbmp]: LOONGSON files.loongson
src/sys/arch/evbmips/loongson [jmcneill-usbmp]: autoconf.c
bonito_mainbus.c loongson_bus_defs.h loongson_bus_io.c machdep.c
yeeloong_machdep.c
src/sys/arch/evbmips/loongson/dev [jmcneill-usbmp]: glx.c
src/sys/arch/evbmips/malta [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/rasoc [jmcneill-usbmp]: machdep.c
src/sys/arch/evbmips/rmixl [jmcneill-usbmp]: machdep.c
src/sys/arch/hp700/dev [jmcneill-usbmp]: cpu.c cpudevs cpudevs.h
cpudevs_data.h
src/sys/arch/hp700/hp700 [jmcneill-usbmp]: intr.c machdep.c
src/sys/arch/hp700/include [jmcneill-usbmp]: pdc.h
src/sys/arch/hp700/stand/mkboot [jmcneill-usbmp]: mkboot.c
src/sys/arch/hp700/stand/xxboot [jmcneill-usbmp]: iplsum.c main.c
readufs.h start.S
src/sys/arch/hppa/hppa [jmcneill-usbmp]: pmap.c trap.S
src/sys/arch/i386/conf [jmcneill-usbmp]: ALL XEN3_DOM0 XEN3_DOMU
majors.i386
src/sys/arch/i386/i386 [jmcneill-usbmp]: gdt.c locore.S machdep.c
src/sys/arch/ia64/conf [jmcneill-usbmp]: majors.ia64
src/sys/arch/mips/include [jmcneill-usbmp]: intr.h
src/sys/arch/mips/mips [jmcneill-usbmp]: mips_fpu.c mips_machdep.c
src/sys/arch/shark/ofw [jmcneill-usbmp]: ofw.c
src/sys/arch/sparc64/conf [jmcneill-usbmp]: Makefile.sparc64
files.sparc64
src/sys/arch/sparc64/sparc64 [jmcneill-usbmp]: locore.s
src/sys/arch/usermode/dev [jmcneill-usbmp]: cpu.c ttycons.c
src/sys/arch/usermode/include [jmcneill-usbmp]: intr.h thunk.h
src/sys/arch/usermode/usermode [jmcneill-usbmp]: pmap.c thunk.c trap.c
src/sys/arch/vax/include [jmcneill-usbmp]: cpu.h
src/sys/arch/vax/vax [jmcneill-usbmp]: machdep.c
src/sys/arch/x68k/x68k [jmcneill-usbmp]: pmap_bootstrap.c
src/sys/arch/x86/include [jmcneill-usbmp]: cpu.h specialreg.h
src/sys/arch/x86/isa [jmcneill-usbmp]: isa_machdep.c
src/sys/arch/x86/pci [jmcneill-usbmp]: amdtemp.c pci_machdep.c
src/sys/arch/x86/x86 [jmcneill-usbmp]: pmap.c
src/sys/arch/xen/x86 [jmcneill-usbmp]: cpu.c x86_xpmap.c xen_pmap.c
src/sys/dev/acpi [jmcneill-usbmp]: acpi_cpu_cstate.c
src/sys/dev/ic [jmcneill-usbmp]: gcscpcib.c ld_cac.c rtl8169.c
rtl81x9reg.h
src/sys/dev/pci [jmcneill-usbmp]: agp_amd64.c files.pci gcscaudio.c
pcidevs pcidevs.h pcidevs_data.h radeonfb.c radeonfbvar.h
sdhc_pci.c
src/sys/dev/pci/hdaudio [jmcneill-usbmp]: hdaudio_ids.c
src/sys/dev/scsipi [jmcneill-usbmp]: cd.c scsi_all.h ss.c ss_mustek.c
ss_scanjet.c ssvar.h st.c st_atapi.c st_scsi.c stvar.h
src/sys/dev/sdmmc [jmcneill-usbmp]: sdhc.c sdhcreg.h
src/sys/dev/usb [jmcneill-usbmp]: if_urndis.c umass.c umass_isdata.c
umass_quirks.c umass_scsipi.c umassvar.h usbdevs usbdevs.h
usbdevs_data.h
src/sys/fs/tmpfs [jmcneill-usbmp]: tmpfs_vnops.c
src/sys/kern [jmcneill-usbmp]: kern_fork.c kern_mutex.c kern_rwlock.c
kern_synch.c
src/sys/lib/libsa [jmcneill-usbmp]: ls.c
src/sys/sys [jmcneill-usbmp]: cdefs_elf.h
src/sys/ufs/chfs [jmcneill-usbmp]: chfs_inode.h chfs_malloc.c
chfs_pool.c
src/sys/uvm [jmcneill-usbmp]: uvm_km.c uvm_param.h
Added Files:
src/sys/dev/pci [jmcneill-usbmp]: lynxfb.c lynxfbreg.h lynxfbvar.h

Log Message:
sync to latest -current.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.51.6.1 src/sys/arch/algor/algor/machdep.c
cvs rdiff -u -r1.19 -r1.19.16.1 src/sys/arch/amd64/amd64/bios32.c
cvs rdiff -u -r1.65.8.1 -r1.65.8.2 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.171.2.2 -r1.171.2.3 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.340.2.1 -r1.340.2.2 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.75.2.1 -r1.75.2.2 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.33.2.1 -r1.33.2.2 src/sys/arch/amd64/conf/XEN3_DOMU
cvs rdiff -u -r1.21 -r1.21.6.1 src/sys/arch/evbmips/adm5120/machdep.c
cvs rdiff -u -r1.51 -r1.51.6.1 src/sys/arch/evbmips/alchemy/machdep.c
cvs rdiff -u -r1.27 -r1.27.6.1 src/sys/arch/evbmips/atheros/machdep.c
cvs rdiff -u -r1.7.2.1 -r1.7.2.2 src/sys/arch/evbmips/conf/LOONGSON
cvs rdiff -u -r1.2 -r1.2.6.1 src/sys/arch/evbmips/conf/files.loongson
cvs rdiff -u -r1.1 -r1.1.6.1 src

CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-03-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar  3 02:29:35 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ohci.c uhci.c

Log Message:
use usb_delay_ms_locked() in some more places


To generate a diff of this commit:
cvs rdiff -u -r1.218.6.16 -r1.218.6.17 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.15 -r1.240.6.16 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-03-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar  3 02:28:53 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c

Log Message:
revert a stray splx(s) that somehow got back in here..


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.14 -r1.181.6.15 src/sys/dev/usb/ehci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 26 08:02:36 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp uhid.c umass.c
usbdi_util.c usbdi_util.h

Log Message:
rename usb_detach_waitcv() to usb_detach_wait()


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/dev/usb/TODO.usbmp
cvs rdiff -u -r1.84.12.2 -r1.84.12.3 src/sys/dev/usb/uhid.c
cvs rdiff -u -r1.141.6.2 -r1.141.6.3 src/sys/dev/usb/umass.c
cvs rdiff -u -r1.55.12.5 -r1.55.12.6 src/sys/dev/usb/usbdi_util.c
cvs rdiff -u -r1.41.16.2 -r1.41.16.3 src/sys/dev/usb/usbdi_util.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 26 07:12:50 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp if_aue.c if_axe.c
if_udav.c if_url.c stuirda.c ubt.c ucom.c ucycom.c ugen.c uhso.c
uirda.c ulpt.c umass_scsipi.c urio.c usbdi_util.c usbdi_util.h
uscanner.c usscanner.c ustir.c utoppy.c

Log Message:
rename old usb_detach_wakeup/wait to usb_detach_{wake,wakeup}old().


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/dev/usb/TODO.usbmp
cvs rdiff -u -r1.121.12.1 -r1.121.12.2 src/sys/dev/usb/if_aue.c
cvs rdiff -u -r1.50.6.2 -r1.50.6.3 src/sys/dev/usb/if_axe.c
cvs rdiff -u -r1.31.12.2 -r1.31.12.3 src/sys/dev/usb/if_udav.c
cvs rdiff -u -r1.38.12.2 -r1.38.12.3 src/sys/dev/usb/if_url.c
cvs rdiff -u -r1.11.12.1 -r1.11.12.2 src/sys/dev/usb/stuirda.c
cvs rdiff -u -r1.40.8.1 -r1.40.8.2 src/sys/dev/usb/ubt.c
cvs rdiff -u -r1.88.2.2 -r1.88.2.3 src/sys/dev/usb/ucom.c
cvs rdiff -u -r1.33 -r1.33.8.1 src/sys/dev/usb/ucycom.c
cvs rdiff -u -r1.114.2.2 -r1.114.2.3 src/sys/dev/usb/ugen.c
cvs rdiff -u -r1.5.8.1 -r1.5.8.2 src/sys/dev/usb/uhso.c
cvs rdiff -u -r1.34.12.1 -r1.34.12.2 src/sys/dev/usb/uirda.c
cvs rdiff -u -r1.86.8.2 -r1.86.8.3 src/sys/dev/usb/ulpt.c
cvs rdiff -u -r1.38.6.3 -r1.38.6.4 src/sys/dev/usb/umass_scsipi.c
cvs rdiff -u -r1.35.12.2 -r1.35.12.3 src/sys/dev/usb/urio.c
cvs rdiff -u -r1.55.12.4 -r1.55.12.5 src/sys/dev/usb/usbdi_util.c
cvs rdiff -u -r1.41.16.1 -r1.41.16.2 src/sys/dev/usb/usbdi_util.h
cvs rdiff -u -r1.68.12.2 -r1.68.12.3 src/sys/dev/usb/uscanner.c
cvs rdiff -u -r1.30.12.3 -r1.30.12.4 src/sys/dev/usb/usscanner.c
cvs rdiff -u -r1.29.12.1 -r1.29.12.2 src/sys/dev/usb/ustir.c
cvs rdiff -u -r1.15.12.1 -r1.15.12.2 src/sys/dev/usb/utoppy.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 26 06:59:39 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ukbd.c usb_subr.c usbdivar.h

Log Message:
use kpause() in usb{d,}_delay_ms(), and add a version that takes a mutex


To generate a diff of this commit:
cvs rdiff -u -r1.113.4.3 -r1.113.4.4 src/sys/dev/usb/ukbd.c
cvs rdiff -u -r1.180.6.3 -r1.180.6.4 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.93.8.10 -r1.93.8.11 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 26 06:28:59 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: emdtv.c emdtv_dtv.c ezload.c if_cue.c
if_kue.c if_otus.c if_upgt.c udsbr.c

Log Message:
include usbdivar.h in several places that should.


To generate a diff of this commit:
cvs rdiff -u -r1.4.6.1 -r1.4.6.2 src/sys/dev/usb/emdtv.c
cvs rdiff -u -r1.5.6.1 -r1.5.6.2 src/sys/dev/usb/emdtv_dtv.c
cvs rdiff -u -r1.12 -r1.12.38.1 src/sys/dev/usb/ezload.c
cvs rdiff -u -r1.60.12.2 -r1.60.12.3 src/sys/dev/usb/if_cue.c
cvs rdiff -u -r1.74.12.2 -r1.74.12.3 src/sys/dev/usb/if_kue.c
cvs rdiff -u -r1.9 -r1.9.14.1 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.3.14.1 -r1.3.14.2 src/sys/dev/usb/if_upgt.c
cvs rdiff -u -r1.18.12.1 -r1.18.12.2 src/sys/dev/usb/udsbr.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 26 05:05:45 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp ehci.c if_url.c ohci.c
uhci.c usb.c usbdi.c usbdi_util.c

Log Message:
- add some more "XXXSMP ok" tags
- use cpu_softintr_p() instead of checking LP_INTR directly


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.4 -r1.1.2.5 src/sys/dev/usb/TODO.usbmp
cvs rdiff -u -r1.181.6.13 -r1.181.6.14 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.38.12.1 -r1.38.12.2 src/sys/dev/usb/if_url.c
cvs rdiff -u -r1.218.6.15 -r1.218.6.16 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.14 -r1.240.6.15 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.125.6.11 -r1.125.6.12 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.134.2.13 -r1.134.2.14 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.55.12.3 -r1.55.12.4 src/sys/dev/usb/usbdi_util.c

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



CVS commit: [jmcneill-usbmp] src/sys

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 21:15:39 UTC 2012

Modified Files:
src/sys/arch/mips/adm5120/dev [jmcneill-usbmp]: ahci.c
src/sys/dev/ic [jmcneill-usbmp]: sl811hs.c

Log Message:
catch up with bus->intr_context going away.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.6.1 src/sys/arch/mips/adm5120/dev/ahci.c
cvs rdiff -u -r1.31.2.1 -r1.31.2.2 src/sys/dev/ic/sl811hs.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 20:54:03 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
update to reality:
- intr_context fixed
- SMP usb_detach_wait/wakeup()
- mark a couple more drivers at tested


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 20:52:29 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uhid.c

Log Message:
mark D_MPSAFE:
- spl -> mutex
- convert to SMP usb_detach_wait/wakeup()
- add a IPL_NONE access lock, used in most devsw entry points


To generate a diff of this commit:
cvs rdiff -u -r1.84.12.1 -r1.84.12.2 src/sys/dev/usb/uhid.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 20:49:17 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: umass.c umassvar.h

Log Message:
convert to using SMP usb_detach_wait/wakeup().


To generate a diff of this commit:
cvs rdiff -u -r1.141.6.1 -r1.141.6.2 src/sys/dev/usb/umass.c
cvs rdiff -u -r1.31 -r1.31.6.1 src/sys/dev/usb/umassvar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 20:47:32 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdi_util.c usbdi_util.h

Log Message:
implement cv/mutex based usb_detach_wait/wakeup().


To generate a diff of this commit:
cvs rdiff -u -r1.55.12.2 -r1.55.12.3 src/sys/dev/usb/usbdi_util.c
cvs rdiff -u -r1.41 -r1.41.16.1 src/sys/dev/usb/usbdi_util.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 20:46:34 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c usbdi.c
usbdivar.h

Log Message:
replace the (diagnostic-only) intr_context with checks against LP_INTR
and cpu_intr_p().

XXX: there's one check that changes behaviour


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.12 -r1.181.6.13 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.14 -r1.218.6.15 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.13 -r1.240.6.14 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.134.2.12 -r1.134.2.13 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.9 -r1.93.8.10 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 13:17:16 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uaudio.c

Log Message:
remove remaining splusb() calls, update some comments.


To generate a diff of this commit:
cvs rdiff -u -r1.124.2.2 -r1.124.2.3 src/sys/dev/usb/uaudio.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 12:57:32 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
- noticed a concurrency issue with bus->intr_context member.  sometimes
  the host controller interrupt lock is held, sometimes the USB thread
  lock is held, and i've seen at least two cases where the non-hard or
  non-soft interrupt handler triggered this test in a code path that
  could not have raised it itself.  note that this needs attention.
- update some lists.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 12:53:35 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: if_kue.c ohci.c uhci.c

Log Message:
remove curproc references


To generate a diff of this commit:
cvs rdiff -u -r1.74.12.1 -r1.74.12.2 src/sys/dev/usb/if_kue.c
cvs rdiff -u -r1.218.6.13 -r1.218.6.14 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.12 -r1.240.6.13 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-25 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 10:26:24 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp ehci.c ohci.c uhci.c
uhidev.c umass_scsipi.c umidi.c umidivar.h usb.c usbdi.c usbdivar.h

Log Message:
copyright maintenence.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/dev/usb/TODO.usbmp
cvs rdiff -u -r1.181.6.11 -r1.181.6.12 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.12 -r1.218.6.13 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.11 -r1.240.6.12 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.52.6.2 -r1.52.6.3 src/sys/dev/usb/uhidev.c
cvs rdiff -u -r1.38.6.2 -r1.38.6.3 src/sys/dev/usb/umass_scsipi.c
cvs rdiff -u -r1.53.2.4 -r1.53.2.5 src/sys/dev/usb/umidi.c
cvs rdiff -u -r1.17.2.1 -r1.17.2.2 src/sys/dev/usb/umidivar.h
cvs rdiff -u -r1.125.6.10 -r1.125.6.11 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.134.2.11 -r1.134.2.12 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.8 -r1.93.8.9 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 25 07:59:03 UTC 2012

Added Files:
src/sys/dev/usb [jmcneill-usbmp]: TODO.usbmp

Log Message:
document the status of usbmp branch.  major remaining tasks:

- port slhci, adm5120 usb and rump usb host controllers [*]
- implement usb_detach_wait/wakeup based upon cv/mutex [*]
- port drivers that use tsleep/wakeup to modern facilities
- port cdev/bdev drivers to D_MPSAFE
- update callouts to CALLOUT_MPSAFE
- test more devices [*]

only really more testing is necessary at this point, all the above
can be done after merging this code into -current.  items marked
with [*] are planned to be done before this.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/dev/usb/TODO.usbmp

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



CVS commit: [jmcneill-usbmp] src/sys

2012-02-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb 24 09:11:53 UTC 2012

Modified Files:
src/sys/arch/acorn26/acorn26 [jmcneill-usbmp]: vm_machdep.c
src/sys/arch/acorn32/include [jmcneill-usbmp]: vmparam.h
src/sys/arch/alpha/alpha [jmcneill-usbmp]: locore.s machdep.c syscall.c
trap.c vm_machdep.c
src/sys/arch/amd64/amd64 [jmcneill-usbmp]: db_machdep.c machdep.c
netbsd32_machdep.c trap.c
src/sys/arch/amd64/include [jmcneill-usbmp]: netbsd32_machdep.h pmap.h
src/sys/arch/amiga/amiga [jmcneill-usbmp]: trap.c
src/sys/arch/arm/arm [jmcneill-usbmp]: arm_machdep.c syscall.c
src/sys/arch/arm/arm32 [jmcneill-usbmp]: fault.c vm_machdep.c
src/sys/arch/arm/include [jmcneill-usbmp]: frame.h
src/sys/arch/arm/iomd [jmcneill-usbmp]: iomd_clock.c
src/sys/arch/atari/atari [jmcneill-usbmp]: atari_init.c trap.c
src/sys/arch/cats/include [jmcneill-usbmp]: vmparam.h
src/sys/arch/cesfic/cesfic [jmcneill-usbmp]: trap.c
src/sys/arch/evbarm/include [jmcneill-usbmp]: vmparam.h
src/sys/arch/hp300/hp300 [jmcneill-usbmp]: trap.c
src/sys/arch/hp700/gsc [jmcneill-usbmp]: harmony.c
src/sys/arch/hp700/hp700 [jmcneill-usbmp]: disksubr.c machdep.c
machdep.h mainbus.c
src/sys/arch/hppa/hppa [jmcneill-usbmp]: hppa_machdep.c trap.c
vm_machdep.c
src/sys/arch/i386/i386 [jmcneill-usbmp]: machdep.c trap.c
src/sys/arch/i386/include [jmcneill-usbmp]: frame.h pmap.h vmparam.h
src/sys/arch/ia64/ia64 [jmcneill-usbmp]: machdep.c trap.c
src/sys/arch/iyonix/include [jmcneill-usbmp]: vmparam.h
src/sys/arch/luna68k/luna68k [jmcneill-usbmp]: trap.c
src/sys/arch/m68k/include [jmcneill-usbmp]: m68k.h
src/sys/arch/m68k/m68k [jmcneill-usbmp]: m68k_syscall.c sig_machdep.c
switch_subr.s vm_machdep.c
src/sys/arch/mac68k/mac68k [jmcneill-usbmp]: trap.c
src/sys/arch/mac68k/obio [jmcneill-usbmp]: esp.c
src/sys/arch/macppc/stand/ofwboot [jmcneill-usbmp]: boot.c boot.h
ofdev.c
src/sys/arch/mips/include [jmcneill-usbmp]: frame.h locore.h
netbsd32_machdep.h
src/sys/arch/mips/mips [jmcneill-usbmp]: cpu_subr.c locore_mips1.S
mipsX_subr.S mips_machdep.c netbsd32_machdep.c syscall.c trap.c
vm_machdep.c
src/sys/arch/mvme68k/mvme68k [jmcneill-usbmp]: trap.c
src/sys/arch/netwinder/include [jmcneill-usbmp]: vmparam.h
src/sys/arch/news68k/news68k [jmcneill-usbmp]: trap.c
src/sys/arch/next68k/next68k [jmcneill-usbmp]: trap.c
src/sys/arch/powerpc/booke [jmcneill-usbmp]: trap.c
src/sys/arch/powerpc/booke/dev [jmcneill-usbmp]: pq3etsec.c pq3sdhc.c
src/sys/arch/powerpc/ibm4xx [jmcneill-usbmp]: trap.c
src/sys/arch/powerpc/include [jmcneill-usbmp]: frame.h vmparam.h
src/sys/arch/powerpc/powerpc [jmcneill-usbmp]: locore_subr.S
powerpc_machdep.c syscall.c trap.c vm_machdep.c
src/sys/arch/prep/pnpbus [jmcneill-usbmp]: nvram_pnpbus.c
src/sys/arch/sandpoint/conf [jmcneill-usbmp]: ENCPP1 GENERIC SANDPOINT
src/sys/arch/sandpoint/sandpoint [jmcneill-usbmp]: satmgr.c
src/sys/arch/sh3/include [jmcneill-usbmp]: frame.h
src/sys/arch/sh3/sh3 [jmcneill-usbmp]: exception.c sh3_machdep.c
syscall.c vm_machdep.c
src/sys/arch/shark/include [jmcneill-usbmp]: vmparam.h
src/sys/arch/sparc/include [jmcneill-usbmp]: cpu.h
src/sys/arch/sparc/sparc [jmcneill-usbmp]: locore.s machdep.c syscall.c
trap.c vm_machdep.c
src/sys/arch/sparc64/conf [jmcneill-usbmp]: files.sparc64
src/sys/arch/sparc64/sparc64 [jmcneill-usbmp]: db_interface.c locore.s
machdep.c netbsd32_machdep.c syscall.c trap.c vm_machdep.c
src/sys/arch/sun2/sun2 [jmcneill-usbmp]: trap.c
src/sys/arch/sun3/sun3 [jmcneill-usbmp]: trap.c
src/sys/arch/vax/vax [jmcneill-usbmp]: machdep.c syscall.c trap.c
vm_machdep.c
src/sys/arch/x68k/x68k [jmcneill-usbmp]: trap.c
src/sys/arch/x86/x86 [jmcneill-usbmp]: identcpu.c linux_trap.c pmap.c
syscall.c vm_machdep.c
src/sys/arch/xen/x86 [jmcneill-usbmp]: cpu.c x86_xpmap.c
src/sys/arch/xen/xen [jmcneill-usbmp]: if_xennet_xenbus.c xbd_xenbus.c
xengnt.c
src/sys/arch/zaurus/include [jmcneill-usbmp]: vmparam.h
src/sys/compat/aoutm68k [jmcneill-usbmp]: aoutm68k_exec.c
src/sys/compat/common [jmcneill-usbmp]: Makefile kern_sig_16.c
src/sys/compat/freebsd [jmcneill-usbmp]: freebsd_exec.c
src/sys/compat/ibcs2 [jmcneill-usbmp]: ibcs2_exec.c
src/sys/compat/linux/arch/powerpc [jmcneill-usbmp]:
linux_exec_powerpc.c
src/sys/compat/linux/common [jmcneill-usbmp]: linux_exec.c
src/sys/compat/linux32/common [jmcneill-usbmp]: 

CVS commit: [jmcneill-usbmp] src/sys/rump/dev/lib/libugenhc

2012-02-23 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Feb 24 07:35:00 UTC 2012

Modified Files:
src/sys/rump/dev/lib/libugenhc [jmcneill-usbmp]: ugenhc.c

Log Message:
add a couple of comments to note areas will need work to enable mp.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.14.1 src/sys/rump/dev/lib/libugenhc/ugenhc.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-23 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 23 09:31:56 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uhidev.c uhidev.h

Log Message:
- remove redundant sc_refcnt member
- protect sc_state with a mutex


To generate a diff of this commit:
cvs rdiff -u -r1.52.6.1 -r1.52.6.2 src/sys/dev/usb/uhidev.c
cvs rdiff -u -r1.11.2.1 -r1.11.2.2 src/sys/dev/usb/uhidev.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-23 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Feb 23 09:25:04 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c usb.c usbdi.c
usbdi_util.c usbdivar.h

Log Message:
update a bunch of comments for reality.  usb lock isn't a "thread lock",
which is terminology we copied from the audiomp code.


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.10 -r1.181.6.11 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.11 -r1.218.6.12 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.10 -r1.240.6.11 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.125.6.9 -r1.125.6.10 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.134.2.10 -r1.134.2.11 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.55.12.1 -r1.55.12.2 src/sys/dev/usb/usbdi_util.c
cvs rdiff -u -r1.93.8.7 -r1.93.8.8 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:43:12 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdivar.h

Log Message:
expand a command slightly


To generate a diff of this commit:
cvs rdiff -u -r1.93.8.6 -r1.93.8.7 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:42:47 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdi.c

Log Message:
keep the thread lock taken for the abort() callback.


To generate a diff of this commit:
cvs rdiff -u -r1.134.2.9 -r1.134.2.10 src/sys/dev/usb/usbdi.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:42:25 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c

Log Message:
make sure we have the thread lock when calling usb_transfer_complete()


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.9 -r1.181.6.10 src/sys/dev/usb/ehci.c

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



CVS commit: [jmcneill-usbmp] src/sys/rump/librump/rumpkern

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 22:36:11 UTC 2012

Modified Files:
src/sys/rump/librump/rumpkern [jmcneill-usbmp]: klock.c

Log Message:
pull across from -current:
>add a _kernel_locked_p().


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.12.1 src/sys/rump/librump/rumpkern/klock.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev

2012-02-20 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 20:35:40 UTC 2012

Modified Files:
src/sys/dev/scsipi [jmcneill-usbmp]: scsipi_base.c
src/sys/dev/usb [jmcneill-usbmp]: umass_scsipi.c usscanner.c

Log Message:
pullup from -current:
>assert kernel lock is held in a few places in inside scsipi.
>lock the kernel when calling into scsipi from umass and usscanner.
>
>with these two in place on usbmp branch, umass appears stable.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.155.12.1 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -u -r1.38 -r1.38.6.1 src/sys/dev/usb/umass_scsipi.c
cvs rdiff -u -r1.30.12.1 -r1.30.12.2 src/sys/dev/usb/usscanner.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 06:50:22 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c usb.c usbdi.c
usbdivar.h

Log Message:
remove the intr_lock from the mp usb api, it wasn't used.


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.8 -r1.181.6.9 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.10 -r1.218.6.11 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.9 -r1.240.6.10 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.125.6.8 -r1.125.6.9 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.134.2.8 -r1.134.2.9 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.5 -r1.93.8.6 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 05:24:42 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: umidi.c

Log Message:
don't take the kernel lock when calling into the usb code anymore


To generate a diff of this commit:
cvs rdiff -u -r1.53.2.3 -r1.53.2.4 src/sys/dev/usb/umidi.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 05:09:36 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdi.c

Log Message:
timeout_handle callout is MPSAFE, mark it as such.


To generate a diff of this commit:
cvs rdiff -u -r1.134.2.7 -r1.134.2.8 src/sys/dev/usb/usbdi.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 04:25:54 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uhci.c

Log Message:
fix a panic() message to refer to the correct function


To generate a diff of this commit:
cvs rdiff -u -r1.240.6.8 -r1.240.6.9 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 04:06:13 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usb.c

Log Message:
task thread and event threads are both MPSAFE now.


To generate a diff of this commit:
cvs rdiff -u -r1.125.6.7 -r1.125.6.8 src/sys/dev/usb/usb.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 04:05:44 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c

Log Message:
remove a bunch of superfluous parens.


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.7 -r1.181.6.8 src/sys/dev/usb/ehci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 03:27:07 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usb.c

Log Message:
convert usb event code to using a mutex and condvar.


To generate a diff of this commit:
cvs rdiff -u -r1.125.6.6 -r1.125.6.7 src/sys/dev/usb/usb.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 03:25:33 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usb_mem.c

Log Message:
convert splusb() calls to using a new usb_blk_lock.


To generate a diff of this commit:
cvs rdiff -u -r1.50.6.1 -r1.50.6.2 src/sys/dev/usb/usb_mem.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 03:23:26 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c

Log Message:
adjust some comments to reality.  copy some XXX comments from ehci
into uhci/ohci since it's probably right there too


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.6 -r1.181.6.7 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.9 -r1.218.6.10 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.7 -r1.240.6.8 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Feb 20 02:12:25 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c ukbd.c usb.c
usbdi.c usbdivar.h

Log Message:
several changes to the MP usb apis, and other misc changes:

- usb_transfer_complete()/usb_insert_transfer()/usb_start_next() all
  must have the thread lock held

- (*soft_intr) now is called with the thread lock held unless we are
  in polling mode.  add a usb_soft_intr() to deal with this

- XXX usbd_set_polling() api exists to increase/decrease the polling
  count, but only ukbd uses.  everyone else open codes it, but this
  should probably be changed

- (*abort) is now called with the thread lock held

- update several comments to not refer to splusb() anymore

- add many more asserts

- use more c99 struct initialisers


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.5 -r1.181.6.6 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.8 -r1.218.6.9 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.6 -r1.240.6.7 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.113.4.1 -r1.113.4.2 src/sys/dev/usb/ukbd.c
cvs rdiff -u -r1.125.6.5 -r1.125.6.6 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.134.2.6 -r1.134.2.7 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.4 -r1.93.8.5 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 19 21:37:13 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdi.c

Log Message:
remove the spl handling from usb_insert_transfer() since we're
already holding the relevant lock (which is asserted.)


To generate a diff of this commit:
cvs rdiff -u -r1.134.2.5 -r1.134.2.6 src/sys/dev/usb/usbdi.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2012-02-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 19 21:01:52 UTC 2012

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: umidi.c

Log Message:
pullup umidi.c 1.60:
>fix the reversed logic in several uses of the new 'closing' member
>introduced in the previous change.
>
>from Tom Ivar Helbekkmo  in PR 45909.  thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.53.2.2 -r1.53.2.3 src/sys/dev/usb/umidi.c

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



CVS commit: [jmcneill-usbmp] src/sys/secmodel/extensions

2012-02-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 18 07:58:24 UTC 2012

Added Files:
src/sys/secmodel/extensions [jmcneill-usbmp]: extensions.h
files.extensions secmodel_extensions.c

Log Message:
merge from -current (not sure why these were missed).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.4.2 src/sys/secmodel/extensions/extensions.h \
src/sys/secmodel/extensions/files.extensions
cvs rdiff -u -r0 -r1.2.4.2 src/sys/secmodel/extensions/secmodel_extensions.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev

2011-12-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Dec  9 01:53:00 UTC 2011

Modified Files:
src/sys/dev/pci [jmcneill-usbmp]: ehci_pci.c ohci_pci.c uhci_pci.c
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uaudio.c uhci.c umidi.c
usb.c usb_subr.c usbdi.c usbdivar.h

Log Message:
- make pipe->close method take the thread lock

- convert usb_taskq to use mutex/cv

- convert needs_explore usage into a cv on the thread lock

- remove KERNEL_*LOCK from uaudio and umidi, since we're supposedly
  MPSAFE here now

- use IPL_SCHED instead of IPL_USB (aka biglocked) interrupts

- drop the audio thread lock when calling into usb when it may sleep,
  avoiding a deadlock between audiowrite and audioioctl.  this fixes
  mixerctl -a vs. playing hanging the system
  XXX probably need to check this in a bunch more places.


To generate a diff of this commit:
cvs rdiff -u -r1.53.6.1 -r1.53.6.2 src/sys/dev/pci/ehci_pci.c
cvs rdiff -u -r1.47 -r1.47.8.1 src/sys/dev/pci/ohci_pci.c
cvs rdiff -u -r1.53 -r1.53.8.1 src/sys/dev/pci/uhci_pci.c
cvs rdiff -u -r1.181.6.4 -r1.181.6.5 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.7 -r1.218.6.8 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.124 -r1.124.2.1 src/sys/dev/usb/uaudio.c
cvs rdiff -u -r1.240.6.5 -r1.240.6.6 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.53 -r1.53.2.1 src/sys/dev/usb/umidi.c
cvs rdiff -u -r1.125.6.4 -r1.125.6.5 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.180.6.2 -r1.180.6.3 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.134.2.4 -r1.134.2.5 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.3 -r1.93.8.4 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Dec  8 22:38:47 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ohci.c usbdi.c usbdivar.h

Log Message:
make ohci mostly work again.


To generate a diff of this commit:
cvs rdiff -u -r1.218.6.6 -r1.218.6.7 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.134.2.3 -r1.134.2.4 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.2 -r1.93.8.3 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Dec  8 03:10:10 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usbdi.c usbdi_util.c utoppy.c

Log Message:
convert the remaining wakeup(xfer)'s to use the xfer->cv.

utoppy - untested.


To generate a diff of this commit:
cvs rdiff -u -r1.134.2.2 -r1.134.2.3 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.55 -r1.55.12.1 src/sys/dev/usb/usbdi_util.c
cvs rdiff -u -r1.15 -r1.15.12.1 src/sys/dev/usb/utoppy.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Dec  8 02:51:08 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c usb.c usb_subr.c
usbdi.c usbdivar.h

Log Message:
- convert usbd_bus_methods{} and usbd_pipe_methods{} to use
  c99 struct initialisers

- move the locks from the pipe to the bus, since we'll need
  access to them from bus-level ops

- remove dead-for-years SPLUSBCHECK and replaced it with
  asserts that the thread lock is held

- begin to document the locking scheme

- convert usbd_*lock_pipe() into real function-like macros


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.3 -r1.181.6.4 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.5 -r1.218.6.6 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240.6.4 -r1.240.6.5 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.125.6.3 -r1.125.6.4 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.180.6.1 -r1.180.6.2 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.134.2.1 -r1.134.2.2 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93.8.1 -r1.93.8.2 src/sys/dev/usb/usbdivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Dec  7 22:52:17 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: usb.c

Log Message:
kill some #ifdef USB_DEBUG with some compiler smarts.


To generate a diff of this commit:
cvs rdiff -u -r1.125.6.2 -r1.125.6.3 src/sys/dev/usb/usb.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-06 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Dec  7 05:41:54 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ohci.c

Log Message:
make this build without DIAGNOSTIC


To generate a diff of this commit:
cvs rdiff -u -r1.218.6.4 -r1.218.6.5 src/sys/dev/usb/ohci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Dec  6 05:40:03 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uhci.c

Log Message:
don't take the sc_lock in uhci_device_request() since it is already
taken (as verified by the assert at the top of this function.)


To generate a diff of this commit:
cvs rdiff -u -r1.240.6.3 -r1.240.6.4 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Dec  6 05:26:26 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uhci.c

Log Message:
kassert the right lock.


To generate a diff of this commit:
cvs rdiff -u -r1.240.6.2 -r1.240.6.3 src/sys/dev/usb/uhci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Dec  6 05:06:50 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: uhci.c uhcivar.h

Log Message:
my compiles-but-un-runtime-tested port of uhci to usbmp branch.
based upon the ohci and ehci changes.


To generate a diff of this commit:
cvs rdiff -u -r1.240.6.1 -r1.240.6.2 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.48 -r1.48.12.1 src/sys/dev/usb/uhcivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Dec  6 05:05:30 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ohci.c

Log Message:
don't forget to drop the lock in ohci_intr if we got there when
polling.  also don't try to drop a lock we don't have in ohci_open.

XXX: these might apply to ehci as well, i found them when porting
XXX: to uhci.


To generate a diff of this commit:
cvs rdiff -u -r1.218.6.3 -r1.218.6.4 src/sys/dev/usb/ohci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Dec  6 02:10:02 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c usb.c

Log Message:
need to ensure kpreempt_disable() for softint_schedule().

fix the locking in ohci_timeout_task(), ohci_device_isoc_start(),
ohci_device_isoc_abort() and ohci_device_isoc_close().

uaudio(4) can still play with these, but mixerctl -a against it will
hang the writer.  however, mixerctl continues to run in a tight loop
and the system isn't soft-locked up at this point, an advance from
how it is in -current.


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.2 -r1.181.6.3 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.218.6.2 -r1.218.6.3 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.125.6.1 -r1.125.6.2 src/sys/dev/usb/usb.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Dec  4 21:02:27 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ohci.c ohcivar.h

Log Message:
adapt ohci, from mrg with some changes by me


To generate a diff of this commit:
cvs rdiff -u -r1.218.6.1 -r1.218.6.2 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.51 -r1.51.8.1 src/sys/dev/usb/ohcivar.h

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



CVS commit: [jmcneill-usbmp] src/sys/dev/usb

2011-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Dec  4 19:22:57 UTC 2011

Modified Files:
src/sys/dev/usb [jmcneill-usbmp]: ehci.c

Log Message:
change callout_stop + usbd_delay_ms to callout_halt + callout_destroy in
ehci_detach


To generate a diff of this commit:
cvs rdiff -u -r1.181.6.1 -r1.181.6.2 src/sys/dev/usb/ehci.c

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



CVS commit: [jmcneill-usbmp] src/sys/dev

2011-12-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Dec  4 13:23:17 UTC 2011

Modified Files:
src/sys/dev/ic [jmcneill-usbmp]: sl811hs.c
src/sys/dev/pci [jmcneill-usbmp]: ehci_pci.c
src/sys/dev/usb [jmcneill-usbmp]: ehci.c ehcivar.h ohci.c uhci.c usb.c
usb_subr.c usbdi.c usbdivar.h

Log Message:
Make ehci mpsafe.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.31.2.1 src/sys/dev/ic/sl811hs.c
cvs rdiff -u -r1.53 -r1.53.6.1 src/sys/dev/pci/ehci_pci.c
cvs rdiff -u -r1.181 -r1.181.6.1 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.38 -r1.38.10.1 src/sys/dev/usb/ehcivar.h
cvs rdiff -u -r1.218 -r1.218.6.1 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.240 -r1.240.6.1 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.125 -r1.125.6.1 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.180 -r1.180.6.1 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.134 -r1.134.2.1 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.93 -r1.93.8.1 src/sys/dev/usb/usbdivar.h

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