CVS log for src/sys/dev/usb/usbdi_util.c
Up to [cvs.NetBSD.org] / src / sys / dev / usb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sun Feb 4 05:43:06 2024 UTC (2 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
HEAD
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3
lines
update my email address.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:16:52 2022 UTC (4 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
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
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -3
lines
usbdi(9): Make usb_desc_iter_next_interface reject truncated descs.
Currently callers have to check whether the descriptor is truncated,
which is willy.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun Apr 17 13:16:43 2022 UTC (4 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +25 -16
lines
usbdi(9): Minor KNF and tidying in descriptor iteration.
No functional change intended.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Mar 13 11:30:13 2022 UTC (4 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +9 -7
lines
usb: Parse descriptors a little more robustly.
- Avoid reading past the end in the event of bogus bLength.
- Avoid arithmetic overflow by rearranging inequalities.
Reported-by: syzbot+511227c050a2f164e34c@syzkaller.appspotmail.com
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Jun 16 17:25:56 2020 UTC (6 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -10
lines
remove unused
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri May 15 07:51:49 2020 UTC (6 years, 6 months ago) by maxv
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3
lines
It should be allowed to have exactly a usb_descriptor_t.
Revision 1.70.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:51 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.70.4.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.4.1: +312 -108
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Mar 13 18:17:41 2020 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -5
lines
PR/55068: sc.dying: Fix printf formats:
- no %s/%p for kernel log
- 0x% -> %#
- always %j for kernel log
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:17 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +248 -54
lines
Sync with head.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Feb 16 09:53:54 2020 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -4
lines
Improve the check, to prevent more surprises.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Feb 16 09:40:35 2020 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +77 -2
lines
Move usb_desc_* into usbdi_util.c, no functional change.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Feb 10 09:15:27 2020 UTC (6 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -2
lines
Fix USB_DEBUG build
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Feb 8 08:47:27 2020 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +93 -2
lines
Move three functions into usbdi_util.c, where they belong. No functional
change.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Feb 8 08:18:06 2020 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +66 -54
lines
Reorder usbdi_util.{c,h}, for clarity. No functional change.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Feb 8 07:53:23 2020 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +16 -2
lines
Introduce usbd_clear_endpoint_feature(), and dedup.
Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 1 13:00:37 2019 UTC (7 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +70 -60
lines
Pull up following revision(s) (requested by mrg in ticket #135):
distrib/sets/lists/comp/mi 1.2279
distrib/sets/lists/modules/mi 1.123
share/man/man9/Makefile 1.438
share/man/man9/usbnet.9 1.1-1.9
sys/dev/ic/rndisreg.h 1.3
sys/dev/usb/TODO 1.47-1.52
sys/dev/usb/TODO.usbmp 1.15,1.16
sys/dev/usb/files.usb 1.157-1.167
sys/dev/usb/if_aue.c 1.155-1.161
sys/dev/usb/if_auereg.h 1.30-1.32
sys/dev/usb/if_axe.c 1.103-1.119
sys/dev/usb/if_axen.c 1.51-1.53,1.55-1.67
sys/dev/usb/if_axenreg.h 1.15
sys/dev/usb/if_cdce.c 1.54-1.67
sys/dev/usb/if_cue.c 1.85,1.86
sys/dev/usb/if_cuereg.h 1.23
sys/dev/usb/if_kue.c 1.97-1.100
sys/dev/usb/if_kuereg.h 1.23,1.24
sys/dev/usb/if_mue.c 1.51-1.55
sys/dev/usb/if_muereg.h 1.6
sys/dev/usb/if_muevar.h 1.9
sys/dev/usb/if_smsc.c 1.46-1.61
sys/dev/usb/if_smscreg.h 1.6
sys/dev/usb/if_smscvar.h delete
sys/dev/usb/if_udav.c 1.60-1.71
sys/dev/usb/if_udavreg.h 1.14,1.15
sys/dev/usb/if_upl.c 1.65,1.66
sys/dev/usb/if_ure.c 1.15-1.31
sys/dev/usb/if_urevar.h 1.4,1.5
sys/dev/usb/if_url.c 1.67-1.70
sys/dev/usb/if_urlreg.h 1.14
sys/dev/usb/if_urndis.c 1.22-1.33
sys/dev/usb/if_urtwn.c 1.72
sys/dev/usb/ohci.c 1.290
sys/dev/usb/uhub.c 1.143
sys/dev/usb/usb.c 1.180
sys/dev/usb/usb.h 1.118
sys/dev/usb/usb_mem.c 1.71
sys/dev/usb/usb_subr.c 1.238,1.239
sys/dev/usb/usbdevs 1.772
sys/dev/usb/usbdi.c 1.183,1.186
sys/dev/usb/usbdi.h 1.97
sys/dev/usb/usbdi_util.c 1.75
sys/dev/usb/usbhist.h 1.5,1.6
sys/dev/usb/usbnet.c 1.1-1.24
sys/dev/usb/usbnet.h 1.1-1.14
sys/dev/usb/usbroothub.c 1.9
sys/dev/usb/xhci.c 1.109,1.110
sys/modules/Makefile 1.223
sys/modules/usbnet/Makefile 1.1
usbnet(9): Add common framework for USB network devices.
This bring various safety fixes to all updated drivers,
and includes locking clean up, detach safety when being
used or not, separate rx/tx locks to improve performance,
porting to NET_MPSAFE, many edge/error case bugs in
drivers fixed, as well as resovling PRs 54303 and 54308.
These drivers are converted: axe(4), axen(4), aue(4),
cdce(4), cue(4), kue(4), mue(4), smsc(4), udav(4),
upl(4), ure(4), url(4), and urndis(4).
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Aug 21 10:48:37 2019 UTC (7 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20191119,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +65 -59
lines
convert pairs of USBHIST_CALLED()+USBHIST_LOG*() into
USBHIST_CALLARGS() calls. this reduces the number of
kernel history lines consumed by these callers, and
for the +LOGN versions, add useful log info to a
message that just says "called!".
reduces the line spam which means the total info in a
full log is significantly increased.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Jul 31 19:40:59 2019 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +7 -3
lines
1) Make sure we have a complete endpoint descriptor header, otherwise
small overflow.
2) Make sure the total length of the bos descriptor did not change in
the meantime, otherwise severe memory corruption.
3) Make sure we have a complete hid descriptor header, otherwise
small overflow.
4) Error out if the report descriptor is zero-sized, otherwise panic.
ok skrll@ mrg@
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:35 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +21 -26
lines
Sync with HEAD
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Feb 7 13:20:41 2019 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -22
lines
Remove (mostly useless) usb_detach_{broadcast,wait} and replace with
cv_{broadcast,timedwait}
Really should loop on conditon.
Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:49 2018 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.1: +20 -3
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 12 16:01:35 2018 UTC (8 years ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.1: +20 -3
lines
Pull up following revision(s) (requested by manu in ticket #1091):
sys/dev/usb/usb_quirks.c: revision 1.88,1.89 (via patch)
sys/dev/usb/usbdi_util.c: revision 1.72 (via patch)
sys/dev/usb/usb_quirks.h: revision 1.28 (via patch)
sys/dev/usb/usbdi_util.h: revision 1.48
sys/dev/usb/usbdevs: revision 1.760,1.761 (via patch)
Add PN533 based NFC devices
-
Workaround PN533 USB descriptor corruption
During normal operation, the PN533 chip may corrupt its USB configuration,
interface and endpoint descriptors. The device descriptor remains unaffected.
Since the descriptors are documented to be immutable, we can work around
the problem by providing hard-coded descriptors instead of pulling them
from the device.
Userland implementation such as NFC tools' libnfc use the same approach,
but this kernel quirk is still necessary so that the device can be
attached on reboot, after its USB descriptors got corrupted.
-
Fix typo
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Nov 8 02:11:54 2018 UTC (8 years ago) by manu
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +20 -3
lines
Workaround PN533 USB descriptor corruption
During normal operation, the PN533 chip may corrupt its USB configuration,
interface and endpoint descriptors. The device descriptor remains unaffected.
Since the descriptors are documented to be immutable, we can work around
the problem by providing hard-coded descriptors instead of pulling them
from the device.
Userland implementation such as NFC tools' libnfc use the same approach,
but this kernel quirk is still necessary so that the device can be
attached on reboot, after its USB descriptors got corrupted.
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:59 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -6
lines
Sync with HEAD
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Jul 24 03:58:36 2018 UTC (8 years, 3 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -6
lines
On detach, print error message with aprint_error_dev() instead of printf().
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:36 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +238 -118
lines
update from HEAD
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:29:52 2017 UTC (9 years ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +48 -41
lines
Pull up following revision(s) (requested by pgoyette in ticket #335):
share/man/man9/kernhist.9: 1.5-1.8
sys/arch/acorn26/acorn26/pmap.c: 1.39
sys/arch/arm/arm32/fault.c: 1.105 via patch
sys/arch/arm/arm32/pmap.c: 1.350, 1.359
sys/arch/arm/broadcom/bcm2835_bsc.c: 1.7
sys/arch/arm/omap/if_cpsw.c: 1.20
sys/arch/arm/omap/tiotg.c: 1.7
sys/arch/evbarm/conf/RPI2_INSTALL: 1.3
sys/dev/ic/sl811hs.c: 1.98
sys/dev/usb/ehci.c: 1.256
sys/dev/usb/if_axe.c: 1.83
sys/dev/usb/motg.c: 1.18
sys/dev/usb/ohci.c: 1.274
sys/dev/usb/ucom.c: 1.119
sys/dev/usb/uhci.c: 1.277
sys/dev/usb/uhub.c: 1.137
sys/dev/usb/umass.c: 1.160-1.162
sys/dev/usb/umass_quirks.c: 1.100
sys/dev/usb/umass_scsipi.c: 1.55
sys/dev/usb/usb.c: 1.168
sys/dev/usb/usb_mem.c: 1.70
sys/dev/usb/usb_subr.c: 1.221
sys/dev/usb/usbdi.c: 1.175
sys/dev/usb/usbdi_util.c: 1.67-1.70
sys/dev/usb/usbroothub.c: 1.3
sys/dev/usb/xhci.c: 1.75
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.34
sys/kern/kern_history.c: 1.15
sys/kern/kern_xxx.c: 1.74
sys/kern/vfs_bio.c: 1.275-1.276
sys/miscfs/genfs/genfs_io.c: 1.71
sys/sys/kernhist.h: 1.21
sys/ufs/ffs/ffs_balloc.c: 1.63
sys/ufs/lfs/lfs_vfsops.c: 1.361
sys/ufs/lfs/ulfs_inode.c: 1.21
sys/ufs/lfs/ulfs_vnops.c: 1.52
sys/ufs/ufs/ufs_inode.c: 1.102
sys/ufs/ufs/ufs_vnops.c: 1.239
sys/uvm/pmap/pmap.c: 1.37-1.39
sys/uvm/pmap/pmap_tlb.c: 1.22
sys/uvm/uvm_amap.c: 1.108
sys/uvm/uvm_anon.c: 1.64
sys/uvm/uvm_aobj.c: 1.126
sys/uvm/uvm_bio.c: 1.91
sys/uvm/uvm_device.c: 1.66
sys/uvm/uvm_fault.c: 1.201
sys/uvm/uvm_km.c: 1.144
sys/uvm/uvm_loan.c: 1.85
sys/uvm/uvm_map.c: 1.353
sys/uvm/uvm_page.c: 1.194
sys/uvm/uvm_pager.c: 1.111
sys/uvm/uvm_pdaemon.c: 1.109
sys/uvm/uvm_swap.c: 1.175
sys/uvm/uvm_vnode.c: 1.103
usr.bin/vmstat/vmstat.c: 1.219
Reorder to test for null before null deref in debug code
--
Reorder to test for null before null deref in debug code
--
KNF
--
No need for '\n' in UVMHIST_LOG
--
normalise a BIOHIST log message
--
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3)
format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of
kernhist(9)"
but it is possible that I've missed some of them. I would be glad
to
update any stragglers that anyone identifies.
--
For some reason this single kernel seems to have outgrown its declared
size as a result of the kernhist(9) changes. Bump the size.
XXX The amount of increase may be excessive - anyone with more detailed
XXX knowledge please feel free to further adjust the value
appropriately.
--
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit
--
And yet another one. :(
--
Use correct mark-up for NetBSD version.
--
More improvements in grammar and readability.
--
Remove a stray '"' (obvious typo) and add a couple of casts that are
probably needed.
--
And replace an instance of "%p" conversion with "%#jx"
--
Whitespace fix. Give Bl tag table a width. Fix Xr.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Oct 28 00:37:13 2017 UTC (9 years ago) by pgoyette
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
pgoyette-compat-base,
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
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +42 -37
lines
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3) format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of kernhist(9)"
but it is possible that I've missed some of them. I would be glad to
update any stragglers that anyone identifies.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Oct 22 14:13:40 2017 UTC (9 years ago) by skrll
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -6
lines
KNF
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Oct 10 11:43:26 2017 UTC (9 years, 1 month ago) by maya
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -1
lines
Reorder to test for null before null deref in debug code
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Oct 10 11:40:54 2017 UTC (9 years, 1 month ago) by maya
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -4
lines
Reorder to test for null before null deref in debug code
Revision 1.63.2.16: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:30 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.15: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.15: +2 -4
lines
Sync with HEAD
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:12 2017 UTC (9 years, 5 months ago) by chs
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base
Branch point for: netbsd-8
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -4
lines
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()
all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 5 19:54:21 2017 UTC (9 years, 7 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +223 -129
lines
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.62.8.3: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:38:05 2017 UTC (9 years, 7 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.62.8.2: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.8.2: +4 -4
lines
KNF
Revision 1.63.2.15: download - view: text, markup, annotated - select for diffs
Sun Jan 29 15:58:14 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.14: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.14: +4 -4
lines
KNF
Revision 1.62.8.2: download - view: text, markup, annotated - select for diffs
Thu Jan 26 21:54:25 2017 UTC (9 years, 9 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.62.8.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.8.1: +2 -23
lines
Sync with HEAD/nhusb
Revision 1.63.2.14: download - view: text, markup, annotated - select for diffs
Thu Oct 27 07:46:19 2016 UTC (10 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.13: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.13: +2 -23
lines
Retire usb_detach_{wait,broadcast} and simply use condvar(9) instead
Revision 1.62.8.1: download - view: text, markup, annotated - select for diffs
Tue Sep 6 20:33:09 2016 UTC (10 years, 2 months ago) by skrll
Branches: netbsd-7-nhusb
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +232 -117
lines
First pass at netbsd-7 updated with USB code from HEAD
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Apr 23 10:15:32 2016 UTC (10 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +206 -128
lines
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.63.2.13: download - view: text, markup, annotated - select for diffs
Sat Feb 6 08:01:57 2016 UTC (10 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.12: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.12: +30 -4
lines
More debug
Revision 1.63.2.12: download - view: text, markup, annotated - select for diffs
Tue Oct 6 21:32:15 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.11: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.11: +6 -8
lines
Move from usbd_{alloc,free}_xfer and usbd_{alloc,free}_buffer to
usbd_{create,destroy}_xfer. The API change will allow future changes
to HCDs to simplify the transfer resource allocation and activation.
Several devices tested including ucom, umass, smsc, uvideo, and uaudio.
Revision 1.63.2.11: download - view: text, markup, annotated - select for diffs
Tue Sep 29 11:38:29 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.10: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.10: +4 -4
lines
sizeof KNF
Revision 1.63.2.10: download - view: text, markup, annotated - select for diffs
Sun Jun 7 08:04:36 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.9: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.9: +17 -2
lines
Add usbd_get_port_status_ext
From t-hash
Revision 1.63.2.9: download - view: text, markup, annotated - select for diffs
Sat Jun 6 15:27:38 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.8: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.8: +28 -2
lines
Add usbd_set_port_u[12]_timeout().
From t-hash
Revision 1.63.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:14 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.7: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.7: +31 -2
lines
Sync with HEAD
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Mar 27 12:46:51 2015 UTC (11 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +29 -2
lines
Add usbd_get_bos_desc{,_full} from Takahiro HAYASHI
Revision 1.63.2.7: download - view: text, markup, annotated - select for diffs
Thu Mar 19 17:26:43 2015 UTC (11 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.6: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.6: +34 -34
lines
Do the same as OpenBSD and get rid of the *_handle typedefs and use
plain structures insteads
Revision 1.63.2.6: download - view: text, markup, annotated - select for diffs
Sat Mar 7 08:33:18 2015 UTC (11 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.5: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.5: +51 -39
lines
Complete converstion to USBHIST
Revision 1.63.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 5 09:37:50 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.4: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.4: +36 -36
lines
KNF. Remove ( ) from return statements.
Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 3 14:18:07 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.3: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.3: +6 -7
lines
Replace malloc(9) with kmem(9)
Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 1 13:03:05 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.2: +4 -4
lines
Remove the lbl argument from usbd_{bulk,intr}_transfer.
Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 30 13:14:11 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +4 -4
lines
Whitespace
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 30 12:18:58 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +8 -8
lines
Use C99 types. u_int{8,16,32,64}_t to uint{8,16,32,64}_t.
No functional change.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Sep 12 16:40:38 2014 UTC (12 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +14 -4
lines
Improve USB debugging with USBHIST based on KERNHIST.
Convert some DPRINTFs to USBHIST_LOG and allow usbdebug, ehcidebug and
umassdebug to be changed via sysctl.
Remove the #define mess in usb.h.
This was started by mrg@ and updated by reinoud@
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:51 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +11 -54
lines
Rebase to HEAD as of a few days ago.
Revision 1.55.8.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:37 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.55.8.2: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.8.2: +11 -54
lines
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.59.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:48 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.1: +10 -53
lines
sync with head
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Sep 26 07:25:31 2013 UTC (13 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
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: netbsd-7-nhusb,
netbsd-7
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -22
lines
Remove usbd_do_request_async. It's callback was calling usbd_free_xfer
from softint context.
Adjust callers appropriately
- usbd_clear_endpoint_stall_async is already triggered via a
usb_task, so simply call usbd_do_request.
- uhidev_set_report_async had one caller in ukbd_set_leds.
Convert this usage to use usb_task as well.
Discussed with mrg@
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Aug 30 12:59:19 2013 UTC (13 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -33
lines
Remove race introduced by using usbd_sync_transfer_sig with a callback
that use the xfer cv (or does wake up on the xfer). The xfer has likely
been freed or re-used.
While here update utoppy(4) to use usbd_sync_transfer_sig.
Fixes PR/48151
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:27 2013 UTC (13 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
sync with head
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Aug 24 08:21:55 2013 UTC (13 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
Fix typo in DPRINTF
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Jan 5 23:34:21 2013 UTC (13 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -6
lines
fix debug variables.
- include opt_usb.h in usb.h so that USB_DEBUG gets set properly in it.
- normalize and sort debugging variables
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jan 5 01:30:18 2013 UTC (13 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -2
lines
- need opt_usb.h if depending on USB_DEBUG
- remove trailing whitespace
- add missing KERNEL_RCSID
Revision 1.55.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:11 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.55.8.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.8.1: +40 -38
lines
sync with head
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jun 10 06:15:55 2012 UTC (14 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +40 -38
lines
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.55.12.8: download - view: text, markup, annotated - select for diffs
Sat Jun 2 08:07:25 2012 UTC (14 years, 5 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55.12.7: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.12.7: +7 -38
lines
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.)
Revision 1.55.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:10 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -8
lines
sync with head
Revision 1.55.12.7: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:48 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55.12.6: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.12.6: +3 -3
lines
sync to -current
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Mar 6 03:35:30 2012 UTC (14 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base10
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -8
lines
pull down from usbmp branch:
- rename usb_detach_{wake,waitup}() to usb_detach_{wake,waitup}old()
- use some c99 struct .initialisers
Revision 1.55.12.6: download - view: text, markup, annotated - select for diffs
Sun Feb 26 08:02:36 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55.12.5: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.12.5: +6 -6
lines
rename usb_detach_waitcv() to usb_detach_wait()
Revision 1.55.12.5: download - view: text, markup, annotated - select for diffs
Sun Feb 26 07:12:50 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55.12.4: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.12.4: +8 -8
lines
rename old usb_detach_wakeup/wait to usb_detach_{wake,wakeup}old().
Revision 1.55.12.4: download - view: text, markup, annotated - select for diffs
Sun Feb 26 05:05:45 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55.12.3: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.12.3: +10 -10
lines
- add some more "XXXSMP ok" tags
- use cpu_softintr_p() instead of checking LP_INTR directly
Revision 1.55.12.3: download - view: text, markup, annotated - select for diffs
Sat Feb 25 20:47:32 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55.12.2: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.12.2: +21 -4
lines
implement cv/mutex based usb_detach_wait/wakeup().
Revision 1.55.12.2: download - view: text, markup, annotated - select for diffs
Thu Feb 23 09:25:03 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.55.12.1: preferred, colored; branchpoint 1.55: preferred, colored
Changes since revision 1.55.12.1: +4 -4
lines
update a bunch of comments for reality. usb lock isn't a "thread lock",
which is terminology we copied from the audiomp code.
Revision 1.55.12.1: download - view: text, markup, annotated - select for diffs
Thu Dec 8 03:10:09 2011 UTC (14 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
CVS tags: jmcneill-usbmp-pre-base2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +28 -12
lines
convert the remaining wakeup(xfer)'s to use the xfer->cv.
utoppy - untested.
Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:17 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +12 -9
lines
sync with head
Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:41 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.53.2.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.1: +11 -11
lines
Sync with HEAD.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Nov 3 22:34:24 2010 UTC (16 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
uebayasi-xip-base4,
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,
mrg-ohci-jmcneill-usbmp-base,
mrg-ohci-jmcneill-usbmp,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
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,
jmcneill-usbmp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +11 -11
lines
Stop using the compatibility macros USB_ATTACH(), USB_DETACH(),
USB_MATCH(), et cetera. These files produce the same assembly
(according to objdump -d) before and after the change
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:20 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -0
lines
Sync with HEAD (-D20101022).
Revision 1.49.40.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:27 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49.40.4: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.40.4: +5 -2
lines
sync with head
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Oct 1 20:56:10 2010 UTC (16 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -2
lines
From Anon Ymous:
Add support for the Zoom 3095 USB Fax Modem. There are some problems
with this modem:
1) The CS descriptors were placed after all other descriptors rather
than in the Control Interface. This is true in both configurations
and is the issue this patch deals with.
2) Modem audio is not done on the modem. There is a second
configuration with an extra interface (3 interfaces) which presumably
is for handling audio. This patch does not support that.
3) The interrupts are raised a bit slowly. This means that pppd(8)
needs to wait a bit before trying to read from the link (i.e., just
before the get_input() loop in src/dist/pppd/pppd/main.c line 547).
If you don't wait, then DCD will not be detected high before that
first read and get_input() will drop the line. This is not a problem
if you use the "local" option to pppd(8) and ignore DCD, but that is
less than desirable.
4) You apparently have to toggle "RSDL (DCD) option"[1] when you
initialize the modem or you will never see a second DCD high interrupt
when redialing after a disconnect. Without this the pppd(8) "persist"
mode will not work. Presumably, some extra initialization is missing
from the driver for this chipset.
[1] Send the AT commands: AT&C0 followed by AT&C1 - doing it in one
command doesn't work. The AT commands for this modem are at:
http://www.zoom.com/documentation/dial_up/3095F_ATcommands.pdf
Revision 1.49.40.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:08 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49.40.3: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.40.3: +4 -5
lines
sync with head
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Nov 12 08:28:31 2009 UTC (17 years ago) by uebayasi
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base10,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -5
lines
usbd_do_request_flags(..., 0, 0, USBD_CONFIG_TIMEOUT) is equivalent to
usbd_do_request(...). Remove an unneeded cast. No functional changes.
Revision 1.49.40.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:22 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49.40.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.40.2: +4 -3
lines
sync with head.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Aug 16 13:20:40 2009 UTC (17 years, 3 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
jym-xensuspend-nbase
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -3
lines
Use a separately defined USBD_CONFIG_TIMEOUT when requesting a device
descriptor. I have a USB ATA device that spins up it's (removable) hard
disk and only returns the real descriptor if the disk is present - this
takes too long with the default 5 seconds timeout, so we were unable to
properly attach this device.
Revision 1.49.40.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:22 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49.40.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.40.1: +2 -6
lines
sync with head.
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:38 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +2 -6
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.49.38.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:21 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.49.38.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.38.1: +2 -6
lines
sync with head
Revision 1.49.36.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:56 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +2 -13
lines
Sync with HEAD.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon May 26 18:00:33 2008 UTC (18 years, 5 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -6
lines
some cleanup:
-unifdef
-since the roothub attach doesn't use locators, don't call
config_stdsubmatch() -- it is a no-op in that case
-ifsubmatch has configuration and interface always set to useful values,
remove unnecessary checks
-remove now unused locator definitions from shared header
Revision 1.49.38.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:52 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -9
lines
sync with head.
Revision 1.49.40.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:12 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -9
lines
sync with head.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:01 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:39:25 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +12 -11
lines
sync with head.
Revision 1.48.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 17 01:31:59 2007 UTC (19 years, 5 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.48.4.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.4.1: +3 -3
lines
Pullup 1.49 in a different way.
Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Tue May 22 14:57:50 2007 UTC (19 years, 6 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +6 -4
lines
Overhaul of USB stack, mostly DMA related
This applies to NetBSD 4.99.13 (March 1, 2007)
usbdi(9) interface is based on FreeBSD version, excluding
- removal of portability code
Patch most NetBSD changes, excluding
- DMA memory "reserve", since we don't need contiguous buffers any longer
- volatiles in DMA structure, since it should not be needed
with proper bus_dmamap_sync(9)s
DMA/non-DMA memory management overhaul
- Move all DMA related code to usb_mem.[ch]
(add usb_alloc_buffer_dma(), usb_free_buffer_dma(), etc.).
XXX Should usb_mem.[ch] be renamed as usb_mem_dma.[ch] ?
- Add corresponding non-DMA code to usb_mem_nodma.[ch] .
Currently just use malloc(9).
- Above files are conditionally used by config framework (added
attributes to conf/files and dev/usb/files.usb).
- Add diagnostic panics when resource allocation is requested
on interrupt context.
- Change memory allocations (that require context) from NOWAIT to WAITOK.
Allocate DMA/non-DMA buffer per host interface, not globally.
advantage: Buffers can be freed on detaching host interface.
Activity of a host interface does not affect others.
disadvantages: It possibly consumes more memory.
API changes
- usbd_alloc_xfer() is changed:
old: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev);
new: usbd_xfer_handle usbd_alloc_xfer(usbd_device_handle dev,
usbd_pipe_handle pipe);
- pipe argument of usbd_setup_*xfer() are now unused
XXX the pipe argument should be removed?
- add mapping APIs
- async request will be processed as a task (kernel thread context),
and delayed to some extent
- usbdivar.h: struct usbd_xfer: renamed a member "allocbuf" to "hcbuffer"
(mapped/allocated/refered buffer for HCI driver)
- usb_port.h: change usb_proc_ptr from struct ptoc * to struct lwp *
- usb_port.h: add usb_sigproc_ptr for psignal(9) (struct proc *)
- usb.h: add UE_MAXPKTSZ(ep) and UE_MAXPKTSZ_MASK macros for USB 2.0
changes to USB device drivers
- atu, aue, axe, cdce, cue, kue, rum, udav, upl, ural, url,
uaudio, ubt, ucom, ugen, uhidev, uirda, ulpt, umidi, urio,
uscanner, ustir, utoppy:
* catch up API change of usbd_alloc_xfer()
- umass, usscanner:
* catch up API change of usbd_alloc_xfer()
* eliminate memory copy for large transfer
ohci
- free resources on detach
- add lots of bus_dmamap_sync() operations
- simplify the code of loading std chain
- rewrite code of looking up TD/ITD from DMA addr by using allocation chunk
- add workaround for CMD Tech 670 and 673 chipsets
- make sure resources are not allocated in interrupt context
- add support for mapping buffer and mbuf
slhci
- allocate xfer and slhci_xfer at once, and simplify relevant code
- add slhci_detach()
- remove second arg of slhci_attach() since it is the same as the first arg.
- add support for "mapping" (no, it doesn't map since it doesn't do DMA)
buffer and mbuf
- add pcmcia frontend
- NOT TESTED, missing hardware
ehci
- add lots of bus_dmamap_sync() operations, possibly too many
- make sure resources are not allocated in interrupt context
- add support for mapping buffer and mbuf
- done only simple test
uhci
- add lots of bus_dmamap_sync() operations, possibly too many
- make sure resources are not allocated in interrupt context
- add support for mapping buffer and mbuf
To do
- review, test, debug
- rewrite network drivers to utilize usbd_map_buffer_mbuf()
- rewrite uaudio(4) to eliminate memcpy
- "pipe" argument of usbd_setup_*xfer() should eventually be removed
Revision 1.47.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:57:34 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.47.4.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.4.1: +3 -3
lines
Sync with HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:50 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:54:10 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -10
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Feb 26 13:50:06 2007 UTC (19 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: itohy-usb1-base,
ad-audiomp-base,
ad-audiomp
Branch point for: itohy-usb1
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -10
lines
Define a usb_cdc_descriptor_t which contains the class specific
"bDescriptorSubtype" field and change usb_find_desc()/usb_find_desc_if()
to use it. (The latter functions should not be used by generic code;
I've left the names for now for compatibility.)
Rename USBD_SUBTYPE_ANY to make clear that it is not generic.
Revision 1.45.22.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:18 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45.22.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.22.1: +6 -6
lines
sync with head.
Revision 1.45.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:52 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +2 -2
lines
Sync with head.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:27 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: yamt-idlelwp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -6
lines
__unused removal on arguments; approved by core.
Revision 1.45.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:53 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -6
lines
sync with head
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:00 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -6
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:01 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2
lines
merge ktrace-lwp.
Revision 1.40.6.3: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:08:06 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.40.6.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.6.2: +30 -4
lines
Sync with HEAD. Here we go again...
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon May 30 04:56:13 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -4
lines
make the definitions consistent with the declarations.
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:19 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +28 -2
lines
sync with -current
Revision 1.42.10.1: download - view: text, markup, annotated - select for diffs
Sun Apr 17 10:24:16 2005 UTC (21 years, 7 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +28 -2
lines
Pull up revision 1.43 (requested by itohy in ticket #160):
Add usb_find_desc_if(), which is similar to usb_find_desc(),
but searches only in the specified interface rather than
in whole configuration.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Apr 12 13:10:14 2005 UTC (21 years, 7 months ago) by itohy
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +28 -2
lines
Add usb_find_desc_if(), which is similar to usb_find_desc(),
but searches only in the specified interface rather than
in whole configuration.
Revision 1.40.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:32:21 2004 UTC (21 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.40.6.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.6.1: +44 -3
lines
Sync with HEAD.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Dec 3 08:53:40 2004 UTC (21 years, 11 months ago) by augustss
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: netbsd-3,
kent-audio2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +44 -3
lines
Allow interrupt output devices. From FreeBSD.
Revision 1.40.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:53:04 2004 UTC (22 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +18 -19
lines
Sync with HEAD.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Oct 23 13:26:34 2004 UTC (22 years ago) by augustss
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +18 -19
lines
Make an iterator abstraction for looping through all descriptors.
Move usb_get_string() and make it public.
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:47:20 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +12 -12
lines
sync kqueue branch with HEAD
Revision 1.33.4.4: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:10 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.33.4.3: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.4.3: +12 -12
lines
Catch up to -current.
Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:36:21 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +12 -12
lines
catch up with -current.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jul 11 21:14:36 2002 UTC (24 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
fvdl_fs64_base
Branch point for: ktrace-lwp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -12
lines
Get rid of trailing white space.
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:59:10 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +53 -34
lines
Sync kqueue branch with -current.
Revision 1.33.4.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:32:22 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.4.2: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.4.2: +46 -29
lines
Catch up to -current.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Dec 27 11:24:42 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +21 -2
lines
Add usbd_get_protocol().
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Dec 18 14:50:01 2001 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +20 -2
lines
Move utility routine from uirda.c to usbdi_util.c.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Nov 15 15:15:59 2001 UTC (25 years ago) by augustss
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -29
lines
usbd_interface2device_handle() cannot fail.
Revision 1.33.4.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:23 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33.4.1: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.4.1: +9 -7
lines
Catch up to -current.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Nov 13 06:24:57 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -1
lines
add RCSIDs
Revision 1.34.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:39 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +6 -7
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Oct 26 17:58:21 2001 UTC (25 years ago) by augustss
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -7
lines
s/usbd_alloc_report_desc/usbd_read_report_desc/
Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:11:15 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1
lines
Catch up with -current.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jul 4 16:23:40 2001 UTC (25 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache,
kqueue
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1
lines
Null a pointer on error return.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:43:32 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +106 -182
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:08:48 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +37 -107
lines
Sync w/ netbsd-1-5-base.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jun 1 15:51:27 2000 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5
Branch point for: nathanw_sa
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -1
lines
Make it compile with USB_DEBUG.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jun 1 14:37:51 2000 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -7
lines
Improve some portability items.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jun 1 14:29:02 2000 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +37 -104
lines
Bring the coding style into the 80s, i.e., get rid of __P and use
ANSI prototypes and declarations.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Apr 27 15:26:52 2000 UTC (26 years, 6 months ago) by augustss
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
Change my email address.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Mar 27 12:33:59 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
Change (almost) all static to Static. The symbol `Static' can then be defined
to `' or `static' depending on if you want to debug or not.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Feb 22 11:25:06 2000 UTC (26 years, 9 months ago) by augustss
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
Fix (mostly harmless) typo.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Feb 8 18:45:27 2000 UTC (26 years, 9 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2
lines
Use NULL instead of 0.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:35:46 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +74 -78
lines
Pull up to last week's -current.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Nov 28 22:49:53 1999 UTC (26 years, 11 months ago) by augustss
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -8
lines
More USB_DEBUG and DIAGNOSTIC output.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Nov 18 23:32:34 1999 UTC (27 years ago) by augustss
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
Cosmetic changes and some small improvements. From FreeBSD and Nick Hibma.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Nov 17 23:00:50 1999 UTC (27 years ago) by augustss
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4
lines
A few more purely stylistic changes that I missed in the last round.
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:41:41 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +59 -69
lines
Sync with -current
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Nov 12 00:34:58 1999 UTC (27 years ago) by augustss
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +59 -69
lines
A number of stylistic changes to increase readability (many suggested
by Nick Hibma):
use NULL not 0
declare all local definitions static
rename s/usbd_request/usbd_xfer/ s/reqh/xfer/
rename s/r/err/
use implicit test for no err
KNF
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 13 08:10:59 1999 UTC (27 years, 1 month ago) by augustss
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2
lines
Merge in a large batch of changes from Nick Hibma <hibma@skylink.it> so
the USB stack compiles on FreeBSD again.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Sep 9 12:26:48 1999 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -5
lines
Change the internal API to allow DMA buffers to be pre-allocated by
the device driver instead of happening automagically in the HC driver.
This affects both the HC-USBD interface as well as the USBD-device
interface.
This change will allow DMA buffers to be reused e.g. in isochronous
traffic.
Add isochronous support to the UHCI driver (not for OHCI yet).
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Sep 5 19:32:19 1999 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -7
lines
Change the way the `struct device' base part of all driver softc are
declared and accessed to make it more portable. Idea from Nick Hibma, FreeBSD.
No functional changes.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Aug 22 20:12:40 1999 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -6
lines
Move more of the transfer completion processing to HC independent code.
Fix some problems with transfer abort & timeout.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 17 16:06:21 1999 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Make some small changes to make it compile on OpenBSD.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Aug 14 14:49:32 1999 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
Some changes from FreeBSD (no functional differences).
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Aug 7 23:14:17 1999 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +31 -1
lines
Add usbd_set_hub_feature() and usbd_clear_hub_feature().
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:50:30 1999 UTC (27 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1
lines
Another debug message.
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:40:24 1999 UTC (27 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +20 -1
lines
Sync w/ -current.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 30 06:44:23 1999 UTC (27 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +20 -1
lines
Totally redo the way device detach is done. It now uses a kernel event
thread and the config detach method.
Squish a number of space leaks on detach.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jan 8 11:58:26 1999 UTC (27 years, 10 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -2
lines
Various little fixes from the FreeBSD version.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jan 7 02:22:51 1999 UTC (27 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -3
lines
Fix some FreeBSD compiler warnings.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jan 3 01:00:56 1999 UTC (27 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -5
lines
Add a length paarmeter to usbd_do_request_flags().
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jan 1 15:25:57 1999 UTC (27 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +51 -1
lines
Add usbd_bulk_transfer(), a function to do interruptible transfer that
do not time out.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 26 12:53:04 1998 UTC (27 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +18 -6
lines
Merge changes to make the USB stack work with FreeBSD. The original
diffs from Nick Hibma <n_hibma@freebsd.org>, but with substantial
changes from me.
XXX Not tested on FreeBSD yet.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Dec 9 00:18:12 1998 UTC (27 years, 11 months ago) by augustss
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +13 -1
lines
Improvement to the ugen driver.
Better error checking.
Some code rearrengment.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Dec 8 15:18:45 1998 UTC (27 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -1
lines
Some minor API changes and additions.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Dec 2 17:17:40 1998 UTC (27 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -6
lines
Handle compound devices in usbd_get_report_descriptor().
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Nov 25 22:32:05 1998 UTC (27 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3
lines
Make the copyright header conform to the NetBSD template.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 2 22:30:53 1998 UTC (28 years, 3 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +12 -16
lines
Improve some error messages.
Make some preparations for isochronous transfers.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jul 29 20:50:12 1998 UTC (28 years, 3 months ago) by augustss
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +28 -1
lines
Add functions to execute asynchronous requests and use these from
interrupt context.
[I had some feline debugging help here. I noticed that every time Kem,
our kitty, jumped onto the USB keyboard the machine crashed.]
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jul 13 10:49:42 1998 UTC (28 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +28 -1
lines
Add some useful HID ioctl()s.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jul 12 19:52:01 1998 UTC (28 years, 4 months ago) by augustss
Branches: MAIN
Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
CVSweb <webmaster@jp.NetBSD.org>