Up to [cvs.NetBSD.org] / src / sys / rump / dev / lib / libugenhc
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 3 06:12:11 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.30: +8 -10
lines
Diff to previous 1.30 (colored) to selected 1.24.2.1 (colored)
usb: Hold pipe lock across upm_transfer and upm_start. This simplifies the code and fixes races with abort. Access to the pipe's queue is now done exclusively while the pipe is locked.
Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 3 06:04:31 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.29: +2 -31
lines
Diff to previous 1.29 (colored) to selected 1.24.2.1 (colored)
usb: Factor usb_insert_transfer out of upm_transfer and make private. Almost every upm_transfer function starts with: mutex_enter(&sc->sc_lock); err = usb_insert_transfer(xfer); mutex_exit(&sc->sc_lock); if (err) return err; Some of them have debug messages sprinkled in here too, or assert that err == USBD_NORMAL_COMPLETION (alternative is USBD_IN_PROGRESS, only for pipes with up_running or up_serialise, presumably not applicable for these types of pipes). Some of them also assert xfer->ux_status == USBD_NOT_STARTED, which is guaranteed on entry and preserved by usb_insert_transer. Exceptions: - arch/mips/adm5120/dev/ahci.c ahci_device_isoc_transfer just returns USBD_NORMAL_COMPLETION, but I'm pretty sure this is and always has been broken anyway, so won't make anything worse (if anything, might make it better...) - external/bsd/dwc2/dwc2.c dwc2_device_bulk_transfer and dwc2_device_isoc_transfer _also_ issue dwc2_device_start(xfer) under the lock. This is probably a better way to do it, but let's do it uniformly across all HCIs at once. - rump/dev/lib/libugenhc/ugenhc.c rumpusb_device_bulk_transfer sometimes returns USBD_IN_PROGRESS _without_ queueing the transfer, in the !rump_threads case. Not really sure how this is supposed to work... If it actually breaks anything, we can figure it out.
Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:18 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored) to selected 1.24.2.1 (colored)
Merge thorpej-cfargs2.
Revision 1.28.8.1 / (download) - annotate - [select for diffs], Thu Aug 5 00:41:14 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.24.2.1 (colored)
Adapt to CFARGS().
Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 24 23:37:01 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored) to selected 1.24.2.1 (colored)
Merge thorpej-cfargs branch: Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments. Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.) Remove unnecessary or redundant interface attributes where they're not needed. There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles) ...and a sentinel value CFARG_EOL. Add some extra sanity checking to ensure that interface attributes aren't ambiguous. Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
Revision 1.27.14.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:16 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.24.2.1 (colored)
Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
Revision 1.26.12.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:51 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.26: +5 -5
lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.24.2.1 (colored)
Sync with HEAD
Revision 1.26.10.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:46 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.26: +5 -5
lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.24.2.1 (colored)
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.27 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:37 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.26: +5 -5
lines
Diff to previous 1.26 (colored) to selected 1.24.2.1 (colored)
Rename min/max -> uimin/uimax for better honesty. These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended. HOWEVER! Some subsystems have #define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b)) even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation. To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it. I have left a handful of bootloaders that are too annoying to compile-test, and some dead code: cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4)) It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them. Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:09 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.10.2.3: +154 -324
lines
Diff to previous 1.10.2.3 (colored) next main 1.11 (colored) to selected 1.24.2.1 (colored)
update from HEAD
Revision 1.22.4.14 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:14 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.13: +4 -4
lines
Diff to previous 1.22.4.13 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.24.2.1 (colored)
Sync with HEAD
Revision 1.24.2.1 / (download) - annotate - [selected], Wed Apr 26 02:53:30 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.24: +4 -4
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
Sync with HEAD
Revision 1.24.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:07 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.24: +4 -4
lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.24.2.1 (colored)
Sync with HEAD
Revision 1.22.2.2 / (download) - annotate - [select for diffs], Wed Apr 19 17:15:18 2017 UTC (7 years ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.22.2.1: +4 -4
lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.24.2.1 (colored)
Pull up following revision(s) (requested by skrll in ticket #1403): sys/rump/dev/lib/libugenhc/ugenhc.c: revision 1.25, 1.26 Fix order of outputs in rumpuser_open call. Now ugenhc works again after a four-year hiatus... -- Fix bulk xfer buffer with usedma = false.
Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 17 07:13:30 2017 UTC (7 years ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1
Branch point for: phil-wifi,
pgoyette-compat
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (colored) to selected 1.24.2.1 (colored)
Fix bulk xfer buffer with usedma = false.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 17 05:11:05 2017 UTC (7 years ago) by riastradh
Branch: MAIN
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored) to selected 1.24.2.1 (colored)
Fix order of outputs in rumpuser_open call. Now ugenhc works again after a four-year hiatus...
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Apr 5 19:54:23 2017 UTC (7 years ago) by snj
Branch: netbsd-7
Changes since 1.22: +152 -322
lines
Diff to previous 1.22 (colored) to selected 1.24.2.1 (colored)
Pull up following revision(s) (requested by skrll in ticket #1395): share/man/man4/axe.4: netbsd-7-nhusb share/man/man4/axen.4: netbsd-7-nhusb share/man/man4/cdce.4: netbsd-7-nhusb share/man/man4/uaudio.4: netbsd-7-nhusb share/man/man4/ucom.4: netbsd-7-nhusb share/man/man4/uep.4: netbsd-7-nhusb share/man/man4/urtw.4: netbsd-7-nhusb share/man/man4/usb.4: netbsd-7-nhusb share/man/man4/uyap.4: netbsd-7-nhusb share/man/man4/xhci.4: netbsd-7-nhusb share/man/man9/usbdi.9: netbsd-7-nhusb sys/arch/amd64/conf/ALL: netbsd-7-nhusb sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb sys/arch/arm/imx/files.imx23: netbsd-7-nhusb sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb sys/arch/i386/conf/ALL: netbsd-7-nhusb sys/arch/i386/conf/GENERIC: netbsd-7-nhusb sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb sys/conf/files: netbsd-7-nhusb sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb sys/dev/ic/sl811hs.c: netbsd-7-nhusb sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb sys/dev/isa/slhci_isa.c: netbsd-7-nhusb sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb sys/dev/pci/ehci_pci.c: netbsd-7-nhusb sys/dev/pci/ohci_pci.c: netbsd-7-nhusb sys/dev/pci/uhci_pci.c: netbsd-7-nhusb sys/dev/pci/xhci_pci.c: netbsd-7-nhusb sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb sys/dev/usb/TODO: netbsd-7-nhusb sys/dev/usb/TODO.usbmp: netbsd-7-nhusb sys/dev/usb/aubtfwl.c: netbsd-7-nhusb sys/dev/usb/auvitek.c: netbsd-7-nhusb sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb sys/dev/usb/auvitek_video.c: netbsd-7-nhusb sys/dev/usb/auvitekvar.h: netbsd-7-nhusb sys/dev/usb/ehci.c: netbsd-7-nhusb sys/dev/usb/ehcireg.h: netbsd-7-nhusb sys/dev/usb/ehcivar.h: netbsd-7-nhusb sys/dev/usb/emdtv.c: netbsd-7-nhusb sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb sys/dev/usb/emdtvvar.h: netbsd-7-nhusb sys/dev/usb/ezload.c: netbsd-7-nhusb sys/dev/usb/ezload.h: netbsd-7-nhusb sys/dev/usb/files.usb: netbsd-7-nhusb sys/dev/usb/hid.c: netbsd-7-nhusb sys/dev/usb/hid.h: netbsd-7-nhusb sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb sys/dev/usb/if_atu.c: netbsd-7-nhusb sys/dev/usb/if_atureg.h: netbsd-7-nhusb sys/dev/usb/if_aue.c: netbsd-7-nhusb sys/dev/usb/if_auereg.h: netbsd-7-nhusb sys/dev/usb/if_axe.c: netbsd-7-nhusb sys/dev/usb/if_axen.c: netbsd-7-nhusb sys/dev/usb/if_axenreg.h: netbsd-7-nhusb sys/dev/usb/if_axereg.h: netbsd-7-nhusb sys/dev/usb/if_cdce.c: netbsd-7-nhusb sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb sys/dev/usb/if_cue.c: netbsd-7-nhusb sys/dev/usb/if_cuereg.h: netbsd-7-nhusb sys/dev/usb/if_kue.c: netbsd-7-nhusb sys/dev/usb/if_kuereg.h: netbsd-7-nhusb sys/dev/usb/if_otus.c: netbsd-7-nhusb sys/dev/usb/if_otusvar.h: netbsd-7-nhusb sys/dev/usb/if_rum.c: netbsd-7-nhusb sys/dev/usb/if_rumreg.h: netbsd-7-nhusb sys/dev/usb/if_rumvar.h: netbsd-7-nhusb sys/dev/usb/if_run.c: netbsd-7-nhusb sys/dev/usb/if_runvar.h: netbsd-7-nhusb sys/dev/usb/if_smsc.c: netbsd-7-nhusb sys/dev/usb/if_smscreg.h: netbsd-7-nhusb sys/dev/usb/if_smscvar.h: netbsd-7-nhusb sys/dev/usb/if_udav.c: netbsd-7-nhusb sys/dev/usb/if_udavreg.h: netbsd-7-nhusb sys/dev/usb/if_upgt.c: netbsd-7-nhusb sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb sys/dev/usb/if_upl.c: netbsd-7-nhusb sys/dev/usb/if_ural.c: netbsd-7-nhusb sys/dev/usb/if_uralreg.h: netbsd-7-nhusb sys/dev/usb/if_uralvar.h: netbsd-7-nhusb sys/dev/usb/if_url.c: netbsd-7-nhusb sys/dev/usb/if_urlreg.h: netbsd-7-nhusb sys/dev/usb/if_urndis.c: netbsd-7-nhusb sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb sys/dev/usb/if_urtw.c: netbsd-7-nhusb sys/dev/usb/if_urtwn.c: netbsd-7-nhusb sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb sys/dev/usb/if_zyd.c: netbsd-7-nhusb sys/dev/usb/if_zydreg.h: netbsd-7-nhusb sys/dev/usb/irmce.c: netbsd-7-nhusb sys/dev/usb/moscom.c: netbsd-7-nhusb sys/dev/usb/motg.c: netbsd-7-nhusb sys/dev/usb/motgvar.h: netbsd-7-nhusb sys/dev/usb/ohci.c: netbsd-7-nhusb sys/dev/usb/ohcireg.h: netbsd-7-nhusb sys/dev/usb/ohcivar.h: netbsd-7-nhusb sys/dev/usb/pseye.c: netbsd-7-nhusb sys/dev/usb/slurm.c: netbsd-7-nhusb sys/dev/usb/stuirda.c: netbsd-7-nhusb sys/dev/usb/u3g.c: netbsd-7-nhusb sys/dev/usb/uark.c: netbsd-7-nhusb sys/dev/usb/uatp.c: netbsd-7-nhusb sys/dev/usb/uaudio.c: netbsd-7-nhusb sys/dev/usb/uberry.c: netbsd-7-nhusb sys/dev/usb/ubsa.c: netbsd-7-nhusb sys/dev/usb/ubsa_common.c: netbsd-7-nhusb sys/dev/usb/ubsavar.h: netbsd-7-nhusb sys/dev/usb/ubt.c: netbsd-7-nhusb sys/dev/usb/uchcom.c: netbsd-7-nhusb sys/dev/usb/ucom.c: netbsd-7-nhusb sys/dev/usb/ucomvar.h: netbsd-7-nhusb sys/dev/usb/ucycom.c: netbsd-7-nhusb sys/dev/usb/udl.c: netbsd-7-nhusb sys/dev/usb/udl.h: netbsd-7-nhusb sys/dev/usb/udsbr.c: netbsd-7-nhusb sys/dev/usb/udsir.c: netbsd-7-nhusb sys/dev/usb/uep.c: netbsd-7-nhusb sys/dev/usb/uftdi.c: netbsd-7-nhusb sys/dev/usb/uftdireg.h: netbsd-7-nhusb sys/dev/usb/ugen.c: netbsd-7-nhusb sys/dev/usb/ugensa.c: netbsd-7-nhusb sys/dev/usb/uhci.c: netbsd-7-nhusb sys/dev/usb/uhcireg.h: netbsd-7-nhusb sys/dev/usb/uhcivar.h: netbsd-7-nhusb sys/dev/usb/uhid.c: netbsd-7-nhusb sys/dev/usb/uhidev.c: netbsd-7-nhusb sys/dev/usb/uhidev.h: netbsd-7-nhusb sys/dev/usb/uhmodem.c: netbsd-7-nhusb sys/dev/usb/uhso.c: netbsd-7-nhusb sys/dev/usb/uhub.c: netbsd-7-nhusb sys/dev/usb/uipad.c: netbsd-7-nhusb sys/dev/usb/uipaq.c: netbsd-7-nhusb sys/dev/usb/uirda.c: netbsd-7-nhusb sys/dev/usb/uirdavar.h: netbsd-7-nhusb sys/dev/usb/ukbd.c: netbsd-7-nhusb sys/dev/usb/ukbdmap.c: netbsd-7-nhusb sys/dev/usb/ukyopon.c: netbsd-7-nhusb sys/dev/usb/ukyopon.h: netbsd-7-nhusb sys/dev/usb/ulpt.c: netbsd-7-nhusb sys/dev/usb/umass.c: netbsd-7-nhusb sys/dev/usb/umass_isdata.c: netbsd-7-nhusb sys/dev/usb/umass_isdata.h: netbsd-7-nhusb sys/dev/usb/umass_quirks.c: netbsd-7-nhusb sys/dev/usb/umass_quirks.h: netbsd-7-nhusb sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb sys/dev/usb/umassvar.h: netbsd-7-nhusb sys/dev/usb/umcs.c: netbsd-7-nhusb sys/dev/usb/umct.c: netbsd-7-nhusb sys/dev/usb/umidi.c: netbsd-7-nhusb sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb sys/dev/usb/umodem.c: netbsd-7-nhusb sys/dev/usb/umodem_common.c: netbsd-7-nhusb sys/dev/usb/umodemvar.h: netbsd-7-nhusb sys/dev/usb/ums.c: netbsd-7-nhusb sys/dev/usb/uplcom.c: netbsd-7-nhusb sys/dev/usb/urio.c: netbsd-7-nhusb sys/dev/usb/urio.h: netbsd-7-nhusb sys/dev/usb/usb.c: netbsd-7-nhusb sys/dev/usb/usb.h: netbsd-7-nhusb sys/dev/usb/usb_mem.c: netbsd-7-nhusb sys/dev/usb/usb_mem.h: netbsd-7-nhusb sys/dev/usb/usb_quirks.c: netbsd-7-nhusb sys/dev/usb/usb_quirks.h: netbsd-7-nhusb sys/dev/usb/usb_subr.c: netbsd-7-nhusb sys/dev/usb/usbdevices.config: netbsd-7-nhusb sys/dev/usb/usbdevs: netbsd-7-nhusb sys/dev/usb/usbdevs.h: netbsd-7-nhusb sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb sys/dev/usb/usbdi.c: netbsd-7-nhusb sys/dev/usb/usbdi.h: netbsd-7-nhusb sys/dev/usb/usbdi_util.c: netbsd-7-nhusb sys/dev/usb/usbdi_util.h: netbsd-7-nhusb sys/dev/usb/usbdivar.h: netbsd-7-nhusb sys/dev/usb/usbhid.h: netbsd-7-nhusb sys/dev/usb/usbhist.h: netbsd-7-nhusb sys/dev/usb/usbroothub.c: netbsd-7-nhusb sys/dev/usb/usbroothub.h: netbsd-7-nhusb sys/dev/usb/usbroothub_subr.c: delete sys/dev/usb/usbroothub_subr.h: delete sys/dev/usb/uscanner.c: netbsd-7-nhusb sys/dev/usb/uslsa.c: netbsd-7-nhusb sys/dev/usb/usscanner.c: netbsd-7-nhusb sys/dev/usb/ustir.c: netbsd-7-nhusb sys/dev/usb/uthum.c: netbsd-7-nhusb sys/dev/usb/utoppy.c: netbsd-7-nhusb sys/dev/usb/uts.c: netbsd-7-nhusb sys/dev/usb/uvideo.c: netbsd-7-nhusb sys/dev/usb/uvisor.c: netbsd-7-nhusb sys/dev/usb/uvscom.c: netbsd-7-nhusb sys/dev/usb/uyap.c: netbsd-7-nhusb sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb sys/dev/usb/uyurex.c: netbsd-7-nhusb sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb sys/dev/usb/xhci.c: netbsd-7-nhusb sys/dev/usb/xhcireg.h: netbsd-7-nhusb sys/dev/usb/xhcivar.h: netbsd-7-nhusb sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb sys/external/bsd/drm2/include/linux/err.h: delete sys/external/bsd/drm2/include/linux/workqueue.h: delete sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb sys/external/bsd/drm2/linux/linux_work.c: delete sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb sys/modules/i915drmkms/Makefile: netbsd-7-nhusb sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete sys/rump/dev/lib/libusb/opt/opt_usb.h: delete sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete sys/sys/mbuf.h: netbsd-7-nhusb usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb Merge netbsd-7-nhusb: - API / infrastructure changes to support memory management changes. - Memory management improvements and bug fixes. - HCDs should now be MP safe - conversion to KERNHIST based debug - FS/LS isoc support on ehci(4). - conversion to kmem(9) - Some USB 3 support - mostly from Takahiro HAYASHI (t-hash). - interrupt transfers now get proper DMA operations - general bug fixes - kern/48308 - uhub status notification improvements - umass(4) probe fix (applied to HEAD already) - ohci(4) short transfer fix - Change the SOFTINT level from NET to SERIAL for the USB softint handler. This gives the callback a chance of running when another softint handler at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of the network stack. - kern/49065 - ifconfig tun0 ... sequence locks up system / lockup: softnet_lock held across usb xfr - kern/50491 - unkillable wait in usbd_transfer while using usmsc0 on raspberry pi 2 - kern/51395 - USB Ethernet makes xhci hang - Various improvements to slhci(4) - Various improvements to dwc2(4)
Revision 1.22.8.1 / (download) - annotate - [select for diffs], Tue Sep 6 20:33:11 2016 UTC (7 years, 7 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.22: +152 -322
lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.24.2.1 (colored)
First pass at netbsd-7 updated with USB code from HEAD
Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 23 10:15:30 2016 UTC (7 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Changes since 1.23: +152 -322
lines
Diff to previous 1.23 (colored) to selected 1.24.2.1 (colored)
Merge nick-nhusb - API / infrastructure changes to support memory management changes. - Memory management improvements and bug fixes. - HCDs should now be MP safe - conversion to KERNHIST based debug - FS/LS isoc support on ehci(4). - conversion to kmem(9) - Some USB 3 support - mostly from Takahiro HAYASHI (t-hash). - interrupt transfers now get proper DMA operations - general bug fixes - kern/48308 - uhub status notification improvements - umass(4) probe fix (applied to HEAD already) - ohci(4) short transfer fix
Revision 1.22.4.13 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:35 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.12: +5 -5
lines
Diff to previous 1.22.4.12 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Sync with HEAD
Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 26 23:12:16 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Changes since 1.22: +5 -5
lines
Diff to previous 1.22 (colored) to selected 1.24.2.1 (colored)
Put the kernelside rump kernel headers into <rump-sys> instead of sprinkling them around the faction directories. Avoids having to add a CPPFLAGS (or several) to pretty much every component Makefile. Leave compat headers around in the old locations. The commit changes some autogenerated files, but I'll fix the generators shortly and regen.
Revision 1.22.4.12 / (download) - annotate - [select for diffs], Thu Oct 22 11:15:42 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.11: +3 -3
lines
Diff to previous 1.22.4.11 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Simplify *_XFER2SC using ux_bus
Revision 1.22.4.11 / (download) - annotate - [select for diffs], Tue Oct 20 15:31:21 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.10: +17 -13
lines
Diff to previous 1.22.4.10 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Consistently providei/use *_{XFER,PIPE,BUS}2SC, etc macros
Revision 1.22.4.10 / (download) - annotate - [select for diffs], Sun Oct 11 09:17:51 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.9: +3 -3
lines
Diff to previous 1.22.4.9 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Update ubm_allocx with the isoc frame count parameter and use it in dwctwo(4)
Revision 1.22.4.9 / (download) - annotate - [select for diffs], Thu Mar 19 17:26:42 2015 UTC (9 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.8: +27 -27
lines
Diff to previous 1.22.4.8 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Do the same as OpenBSD and get rid of the *_handle typedefs and use plain structures insteads
Revision 1.22.4.8 / (download) - annotate - [select for diffs], Fri Dec 5 09:37:50 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.7: +9 -9
lines
Diff to previous 1.22.4.7 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
KNF. Remove ( ) from return statements.
Revision 1.22.4.7 / (download) - annotate - [select for diffs], Thu Dec 4 08:04:32 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.6: +42 -200
lines
Diff to previous 1.22.4.6 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Rework roothub control transfers so that much of the code is shared across HCDs. I have retained the vendor/product reporting for each HCD for now, but it maybe get removed later. ahci(4) now reports a language table and uses the usb_makestrdesc function instead of rolling its own version.
Revision 1.22.4.6 / (download) - annotate - [select for diffs], Wed Dec 3 23:05:07 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.5: +3 -3
lines
Diff to previous 1.22.4.5 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Rename usbroothub_subr.[ch] to usbroothub.[ch]
Revision 1.22.4.5 / (download) - annotate - [select for diffs], Wed Dec 3 22:40:55 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.4: +7 -6
lines
Diff to previous 1.22.4.4 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Provide a USETWD macro for use with USB words designated initialisers.
Revision 1.22.4.4 / (download) - annotate - [select for diffs], Wed Dec 3 12:52:07 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.3: +63 -63
lines
Diff to previous 1.22.4.3 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
The grand renaming of structure members. No functional change.
Revision 1.22.4.3 / (download) - annotate - [select for diffs], Tue Dec 2 09:00:34 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.2: +3 -20
lines
Diff to previous 1.22.4.2 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Step #1 of memory allocation re-organisation. Centralised the buffer allocation routine which now supports DMA and non-DMA capable host controllers. Remove the ubm_{alloc,free}m methods from usbd_bus_methods. The buffer allocation is only allowed in thread context and, therefore, negates the usefulness of the reserve dma code which is removed in this change. USBD_NO_COPY is also no longer required as usbd_transfer and usbd_transfer_complete now track buffer usage and handle any copying.
Revision 1.22.4.2 / (download) - annotate - [select for diffs], Mon Dec 1 12:38:39 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.4.1: +34 -34
lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) to selected 1.24.2.1 (colored)
Add prefixes to method structures member names. No functional change.
Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sun Nov 30 12:18:58 2014 UTC (9 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored) to selected 1.24.2.1 (colored)
Use C99 types. u_int{8,16,32,64}_t to uint{8,16,32,64}_t. No functional change.
Revision 1.10.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:38 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.10.2.2: +63 -25
lines
Diff to previous 1.10.2.2 (colored) to selected 1.24.2.1 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:50 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.18: +59 -12
lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.24.2.1 (colored)
Rebase.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 2 12:38:01 2014 UTC (9 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-base,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Branch point for: nick-nhusb,
netbsd-7-nhusb,
netbsd-7
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored) to selected 1.24.2.1 (colored)
Fix error checking mistake introduced in r1.15. Hi Antti!
Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 2 11:43:21 2014 UTC (9 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.20: +57 -9
lines
Diff to previous 1.20 (colored) to selected 1.24.2.1 (colored)
First pass at adapting to usbmp.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Aug 2 07:20:08 2014 UTC (9 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.19: +2 -3
lines
Diff to previous 1.19 (colored) to selected 1.24.2.1 (colored)
Let's believe the spec when it says "must".
Revision 1.19 / (download) - annotate - [select for diffs], Sat Aug 2 07:18:47 2014 UTC (9 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored) to selected 1.24.2.1 (colored)
Return a valid error in rumpusb_root_intr_start on failure.
Revision 1.9.10.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:13 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.10.1: +41 -43
lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.24.2.1 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:16 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.15: +8 -17
lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.24.2.1 (colored)
sync with head
Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 20 20:42:08 2014 UTC (10 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.17: +7 -7
lines
Diff to previous 1.17 (colored) to selected 1.24.2.1 (colored)
kill sprintf
Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 13 01:38:11 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored) to selected 1.24.2.1 (colored)
rename rumpcomp_user.* -> ugenhc_user.*
Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 13 20:38:39 2013 UTC (10 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.15: +2 -11
lines
Diff to previous 1.15 (colored) to selected 1.24.2.1 (colored)
GC rumpusb_device_intr_methods.
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:27 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.10.2.1: +36 -29
lines
Diff to previous 1.10.2.1 (colored) to selected 1.24.2.1 (colored)
resync from head
Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 30 00:03:52 2013 UTC (10 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900
Branch point for: rmind-smpnet
Changes since 1.14: +18 -21
lines
Diff to previous 1.14 (colored) to selected 1.24.2.1 (colored)
Make hypercall calling conventions consistent: iff a hypercall can fail, it returns an int containing the error value.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 29 20:08:48 2013 UTC (10 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.13: +14 -6
lines
Diff to previous 1.13 (colored) to selected 1.24.2.1 (colored)
Reduce hypercalls related to reading to essentially an amalgamation of readv and preadv. ditto for writing. Hypercalls are so seldomly used that it doesn't justify 3x the calls for syntactic sugar.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 28 09:58:11 2013 UTC (10 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.12: +12 -10
lines
Diff to previous 1.12 (colored) to selected 1.24.2.1 (colored)
The ioctl hypercall is used only by the usb host controller driver, so make it exclusive to that component. I'm happy to see it gone.
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:49 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.10: +9 -8
lines
Diff to previous 1.10 (colored) to selected 1.24.2.1 (colored)
Resync to 2012-11-19 00:00:00 UTC
Revision 1.9.10.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:52 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.9: +11 -8
lines
Diff to previous 1.9 (colored) to selected 1.24.2.1 (colored)
sync with head
Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:40 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
agc-symver-base,
agc-symver
Changes since 1.11: +6 -6
lines
Diff to previous 1.11 (colored) to selected 1.24.2.1 (colored)
split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 14 16:29:21 2012 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.10: +5 -4
lines
Diff to previous 1.10 (colored) to selected 1.24.2.1 (colored)
Do not assume that O_FOO flags have matching values in the rump kernel and hypervisor.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 10 06:15:55 2012 UTC (11 years, 10 months ago) by mrg
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.9: +4 -2
lines
Diff to previous 1.9 (colored) to selected 1.24.2.1 (colored)
merge the jmcneill-usbmp branch. many thanks to jared for the initial work, and every one else who has tested things for me. this is largely my fault at this point :-) the main changes are something like: - usbd_bus_methods{} gains a get_lock() to enable the host controller to provide a lock for the USB code. if the lock isn't provided, old-style protection is (partially) applied. - ehci/ohci/uhci have been converted to the new interfaces, including mutex/cv/etc conversion. - usbdivar.h contains a discussion about locking and what locks are held for which method calls. more to come for usbdi(9) here. - audio drivers (uaudio, umidi, auvitek) have been properly SMPified now that USB is ready. - scsi drivers have been modified to take the kernel lock explicitly before calling into scsi code. - usb pipes are associated with a lock, that is the same as the controller lock. (this could be split up further in the future.) - several usbfoo_locked() or usbfoo_unlocked() functions have been added to the usbdi(9) to enable functionality with or without the USB lock (per controller) already being held. the TODO.usbmp file has specific details on what is left to do, including what device-specific changes should be done now that the whole framework is ready.
Revision 1.9.14.1 / (download) - annotate - [select for diffs], Fri Feb 24 07:35:00 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9: +4 -2
lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.24.2.1 (colored)
add a couple of comments to note areas will need work to enable mp.
Revision 1.8.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:02 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8.2.2: +51 -18
lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.24.2.1 (colored)
sync with head.
Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:04 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.8: +51 -18
lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.24.2.1 (colored)
sync with head
Revision 1.9.2.2 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:24 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.9.2.1: +1085 -0
lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.24.2.1 (colored)
Sync with HEAD.
Revision 1.9.2.1, Mon Mar 22 12:05:45 2010 UTC (14 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.9: +0 -1085
lines
FILE REMOVED
file ugenhc.c was added on branch uebayasi-xip on 2010-04-30 14:44:24 +0000
Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 22 12:05:45 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
uebayasi-xip,
jmcneill-usbmp
Changes since 1.8: +51 -18
lines
Diff to previous 1.8 (colored) to selected 1.24.2.1 (colored)
* support isochronous transfers (for as much as they can be supported considering our ugen driver doesn't support isochronous write. kern/25960 seems to contain a patch and could be investigated for that) * add a dirty rotten hack which makes interrupt transfers of >16 work for me
Revision 1.8.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:33 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8.2.1: +1052 -0
lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) to selected 1.24.2.1 (colored)
sync with head
Revision 1.8.2.1, Tue Feb 23 14:05:04 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.8: +0 -1052
lines
FILE REMOVED
file ugenhc.c was added on branch yamt-nfs-mp on 2010-03-11 15:04:33 +0000
Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 23 14:05:04 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: yamt-nfs-mp,
rmind-uvmplock
Changes since 1.7: +9 -3
lines
Diff to previous 1.7 (colored) to selected 1.24.2.1 (colored)
* abort correct endpoint in bulk xfers * actually free memory in the freem method (well, usually stick it to the usb freelist, but same thing)
Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 22 14:47:40 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.6: +40 -18
lines
Diff to previous 1.6 (colored) to selected 1.24.2.1 (colored)
* get UDESC_CONFIG for proper config index * support UR_SET_CONFIG for root hub * set port change bits for root hub interrupts + cosmetics
Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 20 13:56:29 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.5: +10 -16
lines
Diff to previous 1.5 (colored) to selected 1.24.2.1 (colored)
Fix snafu with error reporting in bulk transfers.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 18 16:24:19 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.4: +4 -2
lines
Diff to previous 1.4 (colored) to selected 1.24.2.1 (colored)
Don't leak control endpoint descriptors.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 18 16:13:30 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.3: +45 -16
lines
Diff to previous 1.3 (colored) to selected 1.24.2.1 (colored)
Actually, detach is possible enough if the device isn't in use. So just support it.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 18 15:25:13 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.2: +45 -46
lines
Diff to previous 1.2 (colored) to selected 1.24.2.1 (colored)
Change match to be based on the existence of the ugen device node and signal the root hub interrupt only once we are succesfully able to open the device node. This makes it possible to insert a device after the rump kernel was booted and have it succesfully attach (does not make detach possible yet, though, as there are some ugen and host kernel uhci/ohci/ehci evil crashies with that). XXX: optimally, match would fail if there is a permanent error in opening. However, it is difficult to figure out the difference between the device backing ugen not being present, a transient error in opening and a permanent error in opening. For example, which of the latter two would EPERM be? And, ugen returns ENXIO if the device is not present, but how would be know that's really the case and not some other ENXIO from elsewhere in the stack?
Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 17 20:39:53 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.1: +9 -4
lines
Diff to previous 1.1 (colored) to selected 1.24.2.1 (colored)
* allow one more request * print warning if a request which might fail, fails * report error from bulk transfers
Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 11 02:22:09 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Diff to selected 1.24.2.1 (colored)
Move a bunch of rump components from dev/wip to dev/lib now that they've reached a certain maturity.