CVS log for src/sys/dev/usb/umass.c
Up to [cvs.NetBSD.org] / src / sys / dev / usb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.189.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:36 2026 UTC (11 days, 12 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.189: preferred, colored; next MAIN 1.190: preferred, colored
Changes since revision 1.189: +3 -3
lines
Sync with HEAD
Revision 1.190: download - view: text, markup, annotated - select for diffs
Thu Oct 22 19:20:54 2026 UTC (3 weeks, 3 days ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +3 -3
lines
s/microseqence/microsequence/ in documentation and comments.
s/synchroneous/synchronous/ in comments.
Revision 1.189: download - view: text, markup, annotated - select for diffs
Thu Sep 22 14:27:52 2022 UTC (4 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
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,
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
Branch point for: perseant-exfatfs
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +4 -4
lines
umass(4): Reduce timeout for control xfers to standard USB timeout.
This should reduce the timeout for a failed sd@umass transfer from
n*(1min + 5sec) to 1min + n*5sec where n is the number of reset and
clear-stall steps.
Revision 1.188: download - view: text, markup, annotated - select for diffs
Sun Mar 20 19:26:27 2022 UTC (4 years, 7 months ago) by andvar
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +4 -4
lines
s/initialiase/initialise/ in comments.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Fri Dec 31 14:24:16 2021 UTC (4 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +2 -16
lines
umass(4): Omit needless reference counting.
autoconf never detaches before attach has completed, so there is no
longer any need for this mechanism.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Thu Sep 16 22:19:11 2021 UTC (5 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +3 -3
lines
fix typos in word "successful".
Revision 1.175.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 21 17:27:57 2021 UTC (5 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.175.2.1: preferred, colored; branchpoint 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175.2.1: +4 -2
lines
Pull up following revision(s) (requested by riastradh in ticket #1306):
sys/dev/usb/umass.c: revision 1.185
sys/dev/usb/umass_scsipi.c: revision 1.68
umass(4): Use an empty function callback, not null pointer.
This stupid bug, with an `XXX Broken!' comment right above, has been
preventing NetBSD from suspend/resume with a USB drive plugged in for
longer than I want to even think about admitting. *sigh*
umass(4): Assert that we got a cb up front.
Avoids jump to zero waaaaaaay down the line where we've forgotten why
we wanted to jump into oblivion.
Revision 1.184.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:31 2021 UTC (5 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.184: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184: +4 -2
lines
Sync w/ HEAD.
Revision 1.184.8.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:19 2021 UTC (5 years, 5 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.184: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184: +4 -2
lines
sync with head
Revision 1.185: download - view: text, markup, annotated - select for diffs
Sun May 23 08:42:47 2021 UTC (5 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +4 -2
lines
umass(4): Assert that we got a cb up front.
Avoids jump to zero waaaaaaay down the line where we've forgotten why
we wanted to jump into oblivion.
Revision 1.163.4.3: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:38 2020 UTC (6 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.163.4.2: preferred, colored; branchpoint 1.163: preferred, colored; next MAIN 1.164: preferred, colored
Changes since revision 1.163.4.2: +0 -18
lines
Sync with HEAD
Revision 1.183.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:08 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183: +2 -20
lines
Sync with HEAD
Revision 1.184: download - view: text, markup, annotated - select for diffs
Mon Apr 13 09:26:43 2020 UTC (6 years, 7 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
cjep_staticlib_x-base,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Branch point for: thorpej-i2c-spi-conf,
cjep_staticlib_x
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +2 -20
lines
remove obsolete support for ISD-ATA umass(4) adapters
Revision 1.163.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:13 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.163.4.1: preferred, colored; branchpoint 1.163: preferred, colored
Changes since revision 1.163.4.1: +196 -74
lines
Merge changes from current as of 20200406
Revision 1.183: download - view: text, markup, annotated - select for diffs
Sat Mar 14 03:01:36 2020 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +4 -4
lines
fix more broken kernhist formats (now I got them all).
Revision 1.182: download - view: text, markup, annotated - select for diffs
Sat Mar 14 02:35:33 2020 UTC (6 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +26 -26
lines
revert the 0x% -> %# change for fixed width formats pointed out by uwe.
Revision 1.181: 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
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +28 -28
lines
PR/55068: sc.dying: Fix printf formats:
- no %s/%p for kernel log
- 0x% -> %#
- always %j for kernel log
Revision 1.175.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 1 12:38:59 2020 UTC (6 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +79 -58
lines
Pull up following revision(s) (requested by riastradh in ticket #745):
sys/dev/usb/umass.c: revision 1.177
sys/dev/usb/umass.c: revision 1.178
sys/dev/usb/umass.c: revision 1.179
Abort default pipe too on detach before detaching children.
This ensures that pending xfers on the default pipe will be aborted
before we wait for children, which, in the case of scsibus -> sd,
means waiting for pending xfers to complete -- xfers that may never
complete if something is wedged.
Consolidate logic to call the transfer callback.
No functional change intended.
Make sure the umass transfer callback is run in error branches.
Revision 1.176.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:16 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.176: preferred, colored; next MAIN 1.177: preferred, colored
Changes since revision 1.176: +182 -60
lines
Sync with head.
Revision 1.180: download - view: text, markup, annotated - select for diffs
Wed Feb 19 16:04:01 2020 UTC (6 years, 8 months ago) by riastradh
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +106 -5
lines
umass dtrace probes
Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Feb 19 16:02:50 2020 UTC (6 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +39 -14
lines
Make sure the umass transfer callback is run in error branches.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Wed Feb 19 16:02:33 2020 UTC (6 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +41 -46
lines
Consolidate logic to call the transfer callback.
No functional change intended.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Wed Feb 19 16:00:28 2020 UTC (6 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -2
lines
Abort default pipe too on detach before detaching children.
This ensures that pending xfers on the default pipe will be aborted
before we wait for children, which, in the case of scsibus -> sd,
means waiting for pending xfers to complete -- xfers that may never
complete if something is wedged.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Fri Dec 6 07:12:39 2019 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +12 -12
lines
localify
Revision 1.163.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:34 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +66 -27
lines
Sync with HEAD
Revision 1.175: download - view: text, markup, annotated - select for diffs
Sun May 5 03:17:54 2019 UTC (7 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +3 -3
lines
remove explicit 'extern struct cfdriver <my>_cd;' and use ioconf.h
Revision 1.174: download - view: text, markup, annotated - select for diffs
Sun Feb 10 19:23:55 2019 UTC (7 years, 9 months ago) by jdolecek
Branches: MAIN
CVS tags: isaki-audio2-base,
isaki-audio2
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +22 -4
lines
move the deallocation of the protocol-specific softc into its own detach hook,
so that calls to kmem_alloc() and kmem_free() would agree on the size
fixes panic on umass detach reported by Tom Ivar Helbekkmo on current-users@
Revision 1.173: download - view: text, markup, annotated - select for diffs
Thu Feb 7 13:48:27 2019 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +4 -4
lines
Convert to kmem
Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu Feb 7 13:43:44 2019 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +5 -8
lines
more KNF (remove names from prototypes)
Revision 1.171: download - view: text, markup, annotated - select for diffs
Thu Feb 7 13:37:44 2019 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +5 -5
lines
KNF
Revision 1.170: download - view: text, markup, annotated - select for diffs
Thu Feb 7 13:35:17 2019 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +3 -3
lines
typo in comment
Revision 1.169: 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
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +4 -3
lines
Remove (mostly useless) usb_detach_{broadcast,wait} and replace with
cv_{broadcast,timedwait}
Really should loop on conditon.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Feb 3 03:19:28 2019 UTC (7 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +10 -6
lines
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
Revision 1.163.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:24 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.163.2.1: preferred, colored; branchpoint 1.163: preferred, colored; next MAIN 1.164: preferred, colored
Changes since revision 1.163.2.1: +4 -4
lines
Sync with HEAD
Revision 1.167: download - view: text, markup, annotated - select for diffs
Tue Jan 22 06:40:49 2019 UTC (7 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-20190127
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +4 -4
lines
Update a comment
Revision 1.163.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:47 2018 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +25 -6
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Nov 13 10:30:57 2018 UTC (8 years ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +24 -5
lines
Handle abort paths gracefully on detach.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Wed Oct 24 09:41:24 2018 UTC (8 years ago) by martin
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +2 -3
lines
Remove no longer needed include of ata_dma.h
Revision 1.164: download - view: text, markup, annotated - select for diffs
Wed Oct 24 07:42:12 2018 UTC (8 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +4 -3
lines
only include umass_isdata.c if atabus present, and likewise ata_subr.c
Revision 1.148.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 19 19:33:06 2018 UTC (8 years, 8 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.148.4.1: preferred, colored; branchpoint 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148.4.1: +8 -8
lines
Pull up following revision(s) (requested by skrll in ticket #1556):
sys/dev/usb/if_athn_usb.c: 1.25
sys/dev/usb/if_atu.c: 1.56
sys/dev/usb/if_aue.c: 1.142
sys/dev/usb/if_axe.c: 1.84
sys/dev/usb/if_axen.c: 1.12
sys/dev/usb/if_cdce.c: 1.45
sys/dev/usb/if_cue.c: 1.77
sys/dev/usb/if_kue.c: 1.91
sys/dev/usb/if_otus.c: 1.32
sys/dev/usb/if_rum.c: 1.59
sys/dev/usb/if_run.c: 1.25
sys/dev/usb/if_smsc.c: 1.33
sys/dev/usb/if_udav.c: 1.52
sys/dev/usb/if_upgt.c: 1.18
sys/dev/usb/if_upl.c: 1.61
sys/dev/usb/if_ural.c: 1.53
sys/dev/usb/if_url.c: 1.57
sys/dev/usb/if_urndis.c: 1.17
sys/dev/usb/if_urtw.c: 1.14
sys/dev/usb/if_urtwn.c: 1.56
sys/dev/usb/if_zyd.c: 1.45
sys/dev/usb/irmce.c: 1.4
sys/dev/usb/pseye.c: 1.24
sys/dev/usb/ubt.c: 1.60
sys/dev/usb/ucom.c: 1.120
sys/dev/usb/udsir.c: 1.6
sys/dev/usb/ugen.c: 1.137
sys/dev/usb/uhso.c: 1.27
sys/dev/usb/uirda.c: 1.43
sys/dev/usb/ulpt.c: 1.99
sys/dev/usb/umass.c: 1.163
sys/dev/usb/umidi.c: 1.74
sys/dev/usb/uscanner.c: 1.82
sys/dev/usb/usscanner.c: 1.43
sys/dev/usb/ustir.c: 1.39
sys/dev/usb/utoppy.c: 1.30
sys/dev/usb/uvideo.c: 1.46
PR kern/52931 Kernel panics with Atheros usb wireless interface
Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup. We can drop
USBD_SHORT_XFER_OK as it has not bearing on number of TDs
Revision 1.158.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 31 18:01:54 2018 UTC (8 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.158.4.1: preferred, colored; branchpoint 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.4.1: +8 -8
lines
Pull up following revision(s) (requested by skrll in ticket #509):
sys/dev/usb/if_ural.c: revision 1.53
sys/dev/usb/if_run.c: revision 1.25
sys/dev/usb/ustir.c: revision 1.39
sys/dev/usb/irmce.c: revision 1.4
sys/dev/usb/if_urtwn.c: revision 1.56
sys/dev/usb/pseye.c: revision 1.24
sys/dev/usb/if_rum.c: revision 1.59
sys/dev/usb/if_upl.c: revision 1.61
sys/dev/usb/ucom.c: revision 1.120
sys/dev/usb/if_zyd.c: revision 1.45
sys/dev/usb/if_axen.c: revision 1.12
sys/dev/usb/umidi.c: revision 1.74
sys/dev/usb/if_udav.c: revision 1.52
sys/dev/usb/if_athn_usb.c: revision 1.25
sys/dev/usb/usscanner.c: revision 1.43
sys/dev/usb/ualea.c: revision 1.6 - 1.9
sys/dev/usb/if_upgt.c: revision 1.18
sys/dev/usb/if_atu.c: revision 1.56
sys/dev/usb/utoppy.c: revision 1.30
sys/dev/usb/ubt.c: revision 1.60
sys/dev/usb/if_urtw.c: revision 1.14
sys/dev/usb/uirda.c: revision 1.43
sys/dev/usb/umass.c: revision 1.163
sys/dev/usb/if_cdce.c: revision 1.45
sys/dev/usb/if_cue.c: revision 1.77
sys/dev/usb/if_kue.c: revision 1.91
sys/dev/usb/uvideo.c: revision 1.46
sys/dev/usb/uhso.c: revision 1.27
sys/dev/usb/if_smsc.c: revision 1.33
sys/dev/usb/ugen.c: revision 1.137
sys/dev/usb/if_axe.c: revision 1.84
sys/dev/usb/if_aue.c: revision 1.142
sys/dev/usb/uscanner.c: revision 1.82
sys/dev/usb/if_urndis.c: revision 1.17
sys/dev/usb/udsir.c: revision 1.6
sys/dev/usb/if_url.c: revision 1.57
sys/dev/usb/if_otus.c: revision 1.32
sys/dev/usb/ulpt.c: revision 1.99
PR kern/52931 Kernel panics with Atheros usb wireless interface
Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup. We can drop
USBD_SHORT_XFER_OK as it has not bearing on number of TDs
ualea: Tidy up a bit. Fulfil requests completely.
Don't subtract uninitialized pktsize in error path.
Revision 1.163: download - view: text, markup, annotated - select for diffs
Sun Jan 21 13:57:12 2018 UTC (8 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +8 -8
lines
PR kern/52931 Kernel panics with Atheros usb wireless interface
Audit the flags to usbd_create_xfer so that USBD_FORCE_SHORT_XFER is
supplied wherever such a transfer is setup. We can drop
USBD_SHORT_XFER_OK as it has not bearing on number of TDs
Revision 1.146.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:34 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.146.2.2: preferred, colored; branchpoint 1.146: preferred, colored; next MAIN 1.147: preferred, colored
Changes since revision 1.146.2.2: +427 -285
lines
update from HEAD
Revision 1.158.4.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: matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +99 -82
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.162: download - view: text, markup, annotated - select for diffs
Sat Oct 28 20:57:51 2017 UTC (9 years ago) by pgoyette
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +4 -4
lines
And yet another one. :(
Revision 1.161: download - view: text, markup, annotated - select for diffs
Sat Oct 28 20:56:51 2017 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +4 -3
lines
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit
Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Oct 28 00:37:12 2017 UTC (9 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +98 -82
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.159: download - view: text, markup, annotated - select for diffs
Sat Oct 7 16:05:33 2017 UTC (9 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +17 -2
lines
Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch
ATA subsystem was changed to support several outstanding commands, and use
NCQ xfers if supported by both the controller and the disk, including NCQ
error recovery. Set NCQ high priority for BPRIO_TIMECRITICAL xfers
if supported. Added FUA support.
Done some work towards MP-safe, all ATA code tsleep()/wakeup() replaced
by condvars, and switched most code from spl* to mutexes (separate
wd(4) and ata channel lock).
Introduced new option WD_CHAOS_MONKEY to facilitate testing of error
handling, fixed several uncovered issues. Also fixed several problems
with kernel dump to wd(4) disk.
Tested with ahcisata(4), mvsata(4), siisata(4), piixide(4) on amd64,
with and without port multiplier, both disk and ATAPI devices; other
drivers and archs mechanically adjusted and compile-tested. NCQ is
supported for ahcisata(4) and siisata(4) for any controller, for
mvsata(4) only Gen IIe ones for now. Also enabled ATAPI support in
mvsata(4).
Thanks to Matt Thomas for initial ATA infrastructure patch, and
Jonathan A.Kollasch for siisata(4) NCQ changes and general testing.
Also fixes PR kern/43169 (wd(4)); and PR kern/11811, PR kern/47041,
PR kern/51979 (kernel dump)
Revision 1.149.2.23: download - view: text, markup, annotated - select for diffs
Tue Sep 5 06:58:51 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.22: preferred, colored; branchpoint 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.2.22: +5 -7
lines
Whitespace
Revision 1.149.2.22: download - view: text, markup, annotated - select for diffs
Tue Aug 29 06:49:07 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.21: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.21: +3 -3
lines
Typo
Revision 1.149.2.21: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:28 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.20: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.20: +4 -2
lines
Sync with HEAD
Revision 1.157.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 24 00:23:39 2017 UTC (9 years, 4 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.157: preferred, colored; next MAIN 1.158: preferred, colored
Changes since revision 1.157: +17 -2
lines
add detach code for umass_isdata; compile-tested only
Revision 1.156.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:23 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.156.2.1: preferred, colored; branchpoint 1.156: preferred, colored; next MAIN 1.157: preferred, colored
Changes since revision 1.156.2.1: +4 -2
lines
Sync with HEAD
Revision 1.158: download - view: text, markup, annotated - select for diffs
Tue Apr 25 05:36:03 2017 UTC (9 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-20170426,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base
Branch point for: netbsd-8
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +4 -2
lines
In umass_detach set sc_dyring so that further attempts at transfers will
fail. This fixes part of
PR/51129 (Disconnecting USB SD card without umount causes file operations to hang)
Revision 1.148.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 5 19:54:20 2017 UTC (9 years, 7 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +395 -283
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.149.2.20: download - view: text, markup, annotated - select for diffs
Sun Feb 5 09:02:38 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.19: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.19: +3 -2
lines
Fix build
Revision 1.149.2.19: download - view: text, markup, annotated - select for diffs
Sun Jan 29 10:16:09 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.18: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.18: +5 -5
lines
KNF
Revision 1.149.2.18: download - view: text, markup, annotated - select for diffs
Sun Jan 29 10:10:30 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.17: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.17: +3 -4
lines
Convert to kmem(9)
Revision 1.149.2.17: download - view: text, markup, annotated - select for diffs
Sun Jan 29 10:08:38 2017 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.16: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.16: +4 -4
lines
Fix a comment
Revision 1.148.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.148.8.1: preferred, colored; branchpoint 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148.8.1: +6 -3
lines
Sync with HEAD/nhusb
Revision 1.156.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:42 2017 UTC (9 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +5 -6
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.149.2.16: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:18 2016 UTC (9 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.15: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.15: +5 -6
lines
Sync with HEAD
Revision 1.157: download - view: text, markup, annotated - select for diffs
Mon Nov 21 08:27:30 2016 UTC (9 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
jdolecek-ncq-base,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: jdolecek-ncq
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +5 -6
lines
No need to take the kernel lock in umass(4) anymore
Revision 1.149.2.15: 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.149.2.14: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.14: +6 -3
lines
Retire usb_detach_{wait,broadcast} and simply use condvar(9) instead
Revision 1.148.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.148: preferred, colored
Changes since revision 1.148: +391 -282
lines
First pass at netbsd-7 updated with USB code from HEAD
Revision 1.149.2.14: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:16 2016 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.13: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.13: +144 -161
lines
Sync with HEAD
Revision 1.156: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:42 2016 UTC (10 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +21 -19
lines
KNF. Remove extra spaces. No functional change.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun Jul 3 07:27:37 2016 UTC (10 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +6 -4
lines
Fix build for USB_DEBUG without UMASS_DEBUG
Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun Jul 3 07:24:56 2016 UTC (10 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +3 -3
lines
Trailing whitespace
Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Jul 1 12:16:35 2016 UTC (10 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +126 -147
lines
Convert umass(4) to usbhist.
Revision 1.149.2.13: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:31 2016 UTC (10 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.12: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.12: +5 -4
lines
Sync with HEAD
Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Apr 29 07:11:32 2016 UTC (10 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +5 -4
lines
Create the UMASS_INTRIN trasnfer against the correct pipe. Should fix a
problem reported to me by wiz@
Revision 1.151: 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
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +220 -132
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.149.2.12: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:14 2016 UTC (10 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.11: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.11: +6 -6
lines
Sync with HEAD
Revision 1.150: download - view: text, markup, annotated - select for diffs
Sun Apr 3 17:41:30 2016 UTC (10 years, 7 months ago) by martin
Branches: MAIN
CVS tags: nick-nhusb-base-20160422
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +6 -6
lines
Update links to usb.org specs
Revision 1.149.2.11: download - view: text, markup, annotated - select for diffs
Mon Dec 28 10:15:09 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.10: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.10: +3 -3
lines
Use IPL_SOFTUSB instead of IPL_USB appropriately. Transfer completions
are executed as a softint and so this is the priority level required.
Revision 1.149.2.10: download - view: text, markup, annotated - select for diffs
Mon Dec 28 09:26:33 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.9: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.9: +12 -5
lines
Strictly follow the sequence abort pipe, destroy xfers, and close pipe as
API now requires. Plug some memory leaks in some drivers while doing
this.
Also, remove up_refcnt as it was broken and helped leak more memory.
Revision 1.149.2.9: 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.149.2.8: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.8: +142 -63
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.149.2.8: download - view: text, markup, annotated - select for diffs
Sat Mar 21 11:33:37 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.7: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.7: +18 -18
lines
Add prefixes to attach_arg structure member names. No functional change.
Revision 1.149.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.149.2.6: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.6: +17 -17
lines
Do the same as OpenBSD and get rid of the *_handle typedefs and use
plain structures insteads
Revision 1.149.2.6: download - view: text, markup, annotated - select for diffs
Sun Mar 1 08:33:15 2015 UTC (11 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.5: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.5: +8 -8
lines
Use designated initializers
Revision 1.149.2.5: download - view: text, markup, annotated - select for diffs
Sun Mar 1 08:31:27 2015 UTC (11 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.4: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.4: +7 -5
lines
KNF a comment
Revision 1.149.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 6 08:27:23 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.3: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.3: +13 -13
lines
KNF. Remove argument name from function declarations.
No functional change.
Revision 1.149.2.3: 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.149.2.2: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.2: +16 -16
lines
KNF. Remove ( ) from return statements.
Revision 1.149.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 2 09:00:34 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.149.2.1: preferred, colored; branchpoint 1.149: preferred, colored
Changes since revision 1.149.2.1: +6 -6
lines
Step #1 of memory allocation re-organisation.
Centralised the buffer allocation routine which now supports DMA
and non-DMA capable host controllers. Remove the
ubm_{alloc,free}m methods from usbd_bus_methods.
The buffer allocation is only allowed in thread context and,
therefore, negates the usefulness of the reserve dma code which
is removed in this change.
USBD_NO_COPY is also no longer required as usbd_transfer and
usbd_transfer_complete now track buffer usage and handle any
copying.
Revision 1.149.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.149: preferred, colored
Changes since revision 1.149: +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.149: 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-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +42 -5
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.146.2.2: 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.146.2.1: preferred, colored; branchpoint 1.146: preferred, colored
Changes since revision 1.146.2.1: +42 -17
lines
Rebase to HEAD as of a few days ago.
Revision 1.141.2.4: 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.141.2.3: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.3: +42 -17
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.147.2.1: 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.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147: +42 -17
lines
sync with head
Revision 1.141.10.1: download - view: text, markup, annotated - select for diffs
Fri Feb 21 10:41:06 2014 UTC (12 years, 8 months ago) by sborrill
Branches: netbsd-6
Diff to: previous 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141: +42 -17
lines
Pull up the following revisions(s) (requested by mlelstv in ticket #1032):
sys/dev/usb/umass.c: revision 1.148
sys/dev/usb/umassvar.h: revision 1.35
sys/dev/usb/usb_mem.c: revision 1.64
Fix problem where umass might allocate buffers in interrupt context which
causes it to fail or a DIAGNOSTIC kernel to panic.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun Dec 22 18:30:21 2013 UTC (12 years, 10 months ago) by mlelstv
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.147: preferred, colored
Changes since revision 1.147: +42 -17
lines
Preallocate command and status buffers as auto allocation cannot
happen in intrrupt context.
Revision 1.146.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:39 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +6 -5
lines
resync with head
Revision 1.141.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:14 2013 UTC (13 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.141.2.2: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.2.2: +6 -5
lines
sync with head
Revision 1.147: download - view: text, markup, annotated - select for diffs
Fri Jan 11 06:22:23 2013 UTC (13 years, 10 months ago) by skrll
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.146: preferred, colored
Changes since revision 1.146: +6 -5
lines
Improve a panic message slightly
Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:09 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.141.2.1: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.2.1: +20 -11
lines
sync with head
Revision 1.146: download - view: text, markup, annotated - select for diffs
Fri Aug 24 12:20:02 2012 UTC (14 years, 2 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +10 -7
lines
Another contribution to PR kern/42225 which will hopefully
bring the story to an end:
Always ignore the residue from the CSW, just use the real
transfer length counted by the USB stack. This was first
proposed by Markus Kilbinger but unfortunately ignored
later. (Too many cooks...)
According to Matthias Kretschmer, Darwin and Haiku do
the same.
Remove the "UMASS_QUIRK_IGNORE_RESIDUE" quirk which was
just for the one "SuperTop" device mentioned in the PR.
This device was successfully tested by Matthias Kretschmer /
Ignatios Souvatzis.
I've tested the patch with various other devices and
didn't find regressions.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Sun Jun 10 06:15:54 2012 UTC (14 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +12 -6
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.141.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:08 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +66 -70
lines
sync with head
Revision 1.141.6.6: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:47 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.141.6.5: preferred, colored; branchpoint 1.141: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.6.5: +14 -14
lines
sync to -current
Revision 1.141.6.5: download - view: text, markup, annotated - select for diffs
Tue Mar 6 09:56:22 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.141.6.4: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.6.4: +14 -14
lines
sync to -current
Revision 1.144: 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.143: preferred, colored
Changes since revision 1.143: +3 -3
lines
pull down from usbmp branch:
- rename usb_detach_{wake,waitup}() to usb_detach_{wake,waitup}old()
- use some c99 struct .initialisers
Revision 1.141.6.4: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:46:28 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.141.6.3: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.6.3: +14 -14
lines
sync to latest -current.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:21:20 2012 UTC (14 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: jmcneill-usbmp-base4
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +14 -14
lines
replace the hack to pass USBD_SYNCHRONOUS down when called with
XS_CTL_POLL with one that doesn't modify global-to-softc state.
Revision 1.141.6.3: 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.141.6.2: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.6.2: +3 -3
lines
rename usb_detach_waitcv() to usb_detach_wait()
Revision 1.141.6.2: download - view: text, markup, annotated - select for diffs
Sat Feb 25 20:49:17 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.141.6.1: preferred, colored; branchpoint 1.141: preferred, colored
Changes since revision 1.141.6.1: +12 -6
lines
convert to using SMP usb_detach_wait/wakeup().
Revision 1.141.6.1: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:43 2012 UTC (14 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +53 -57
lines
sync to -current.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Fri Feb 24 06:48:26 2012 UTC (14 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: jmcneill-usbmp-base5,
jmcneill-usbmp-base3
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +53 -57
lines
remove any remnants of freebsd/openbsd code.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Aug 24 11:28:50 2011 UTC (15 years, 2 months ago) by mbalmer
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-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,
mrg-ohci-jmcneill-usbmp-base,
mrg-ohci-jmcneill-usbmp,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
netbsd-6,
jmcneill-usbmp
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +4 -2
lines
Wrap the include "opt_umass.h" in #ifdef _KERNEL_OPT.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Tue Aug 23 16:16:43 2011 UTC (15 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -2
lines
defopt UMASS_DEBUG
Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Jul 31 16:32:02 2011 UTC (15 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +6 -4
lines
Restore original residue quirk proposed in PR#42225, it is necessary.
Revision 1.136.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:53 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136: +5 -6
lines
Sync with HEAD.
Revision 1.129.4.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:53 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.129.4.1: preferred, colored; next MAIN 1.129.4.2: preferred, colored
Changes since revision 1.129.4.1: +13 -12
lines
sync to netbsd-5
Revision 1.126.10.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:07 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.126.10.3: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.10.3: +21 -32
lines
sync with head
Revision 1.129.4.2: download - view: text, markup, annotated - select for diffs
Tue Mar 9 03:45:43 2010 UTC (16 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.129.4.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.4.1: +13 -12
lines
Pull up following revision(s) (requested by is/martin):
sys/dev/usb/usbdevs: revision 1.535
sys/dev/usb/umass.c: revision 1.137
Add SuperTop and SuperTop IDE Bridge to usbdevs.
--
Max out the expected response size at the actual transfer length.
Fixes PR kern/42225.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Feb 13 02:16:51 2010 UTC (16 years, 9 months ago) by martin
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3
lines
KNF
Revision 1.137: download - view: text, markup, annotated - select for diffs
Sat Feb 13 02:09:41 2010 UTC (16 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +5 -6
lines
Remove UMASS_QUIRK_IGNORE_RESIDUE, instead max out the expected response
size at the actual transfer length. Fixes PR kern/42225 differently.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Thu Nov 12 19:58:27 2009 UTC (17 years ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +4 -11
lines
Simplify activation hooks. (sc_dying must die!)
Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Oct 30 16:22:32 2009 UTC (17 years ago) by is
Branches: MAIN
CVS tags: jym-xensuspend-nbase
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +14 -12
lines
Quirk to regenerate residue for borken UMASS devices; needed (at least)
for Supertop IDE bridge. From Matthias Kretschmer, PR 42225.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Wed Sep 23 19:07:19 2009 UTC (17 years, 1 month ago) by plunky
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +6 -4
lines
fix up USB drivers printing of autoconf information
1. expand the USB_ATTACH_SETUP macro (requested by jmcneill)
2. reorder the attach function so that the first thing it does is print
newlines.
3. after this, we can call usbd_devinfo_alloc(), which polls the device
allowing a context switch, and aprint_normal() the device information.
this avoids problems where autoconf messages are getting mixed up.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Wed Sep 16 22:44:19 2009 UTC (17 years, 2 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +7 -14
lines
Nothing else handles DVACT_ACTIVATE, so why should umass(4)? Get
rid of the DVACT_ACTIVATE case in umass_activate(). This eliminates
the only call to config_activate() in the entire tree.
Revision 1.126.10.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:58 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.126.10.2: preferred, colored; branchpoint 1.126: preferred, colored
Changes since revision 1.126.10.2: +4 -5
lines
sync with head
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sun Aug 23 19:03:18 2009 UTC (17 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +4 -5
lines
Print devinfo on the same line as locators, and make the transfer mode
output aprint_verbose
Revision 1.130.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:35 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.130: preferred, colored; next MAIN 1.131: preferred, colored
Changes since revision 1.130: +121 -99
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.126.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:21 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.126.10.1: preferred, colored; branchpoint 1.126: preferred, colored
Changes since revision 1.126.10.1: +167 -140
lines
sync with head.
Revision 1.129.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:39 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.129.2.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.2.1: +121 -99
lines
Sync with HEAD.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Mar 17 19:12:17 2009 UTC (17 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base,
jym-xensuspend-base
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +121 -99
lines
Expand a lot of macros from sys/dev/usb/usb_port.h.
Handle child-detachment by NULL'ing the child pointer, so that
umass_detach() will not subsequently dereference the dangling
pointer.
Revision 1.129.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:19:09 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +19 -11
lines
Sync with HEAD.
Revision 1.126.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:10 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.126.6.2: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.6.2: +17 -9
lines
Sync with HEAD.
Revision 1.129.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 21:44:42 2008 UTC (17 years, 11 months ago) by bouyer
Branches: netbsd-5
CVS tags: 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,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +19 -11
lines
Pull up following revision(s) (requested by jmorse in ticket #185):
sys/dev/usb/usbdi.c: revision 1.125
sys/dev/usb/umass.c: revision 1.130
sys/dev/usb/usbdi.h: revision 1.77
PR#39651
Fix two problems in umass:
* usb xfers being freed before being removed from pipe, leading to null
deref
* config_activate requests not supported, which leads to
config_deactivate requests not being passed through. Spotted by jmcneill@=
Added mechanism to usbdi allowing the default pipe to be aborted
Revision 1.128.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:53 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.128.4.1: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.4.1: +19 -11
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Fri Dec 12 05:35:11 2008 UTC (17 years, 11 months ago) by jmorse
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base
Branch point for: jym-xensuspend
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +19 -11
lines
PR#39651
Fix two problems in umass:
* usb xfers being freed before being removed from pipe, leading to null deref
* config_activate requests not supported, which leads to config_deactivate requests not being passed through. Spotted by jmcneill@
Added mechanism to usbdi allowing the default pipe to be aborted
Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:10 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -3
lines
Sync with HEAD.
Revision 1.126.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:33 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.126.6.1: preferred, colored; branchpoint 1.126: preferred, colored
Changes since revision 1.126.6.1: +2 -1
lines
Sync with HEAD.
Revision 1.127.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:12 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.127.2.1: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.2.1: +4 -3
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Sat Sep 6 21:49:00 2008 UTC (18 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +4 -3
lines
PR/37948: Yojiro UO: Support for Sony GPS GPS-CS1 devices. Check the support
of UR_BBB_GET_MAX_LUN, and disable the logic, if needed.
Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:37 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +30 -34
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.126.8.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.126.8.1: preferred, colored; branchpoint 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126.8.1: +30 -34
lines
sync with head
Revision 1.126.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:55 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +30 -41
lines
Sync with HEAD.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Sat May 24 16:40:58 2008 UTC (18 years, 5 months ago) by cube
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl
Branch point for: haad-dm
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +30 -34
lines
Split device_t and softc for all USB device drivers, and related cosmetic
changes.
Matthias Drochner kindly reviewed this patch, and tested ums, ubt, uaudio
and ral. I tested umass myself.
Revision 1.126.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:51 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -9
lines
sync with head.
Revision 1.126.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:10 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +2 -9
lines
sync with head.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:00 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.126: preferred, colored
Changes since revision 1.126: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.124.12.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:54 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.124.12.1: preferred, colored; branchpoint 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.12.1: +3 -3
lines
sync with HEAD
Revision 1.124.18.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:26 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124: +3 -3
lines
Sync with HEAD.
Revision 1.119.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:40 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.119.2.3: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.2.3: +3 -3
lines
sync with head.
Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 19:27:37 2008 UTC (18 years, 9 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +3 -3
lines
Sync with HEAD.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Jan 21 12:11:21 2008 UTC (18 years, 9 months ago) by ichiro
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3
lines
change umass quirks logic in USB_MATCH()
PR/37687 from Yojiro UO
Revision 1.119.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:47 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.119.2.2: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.2.2: +7 -2
lines
sync with head
Revision 1.124.12.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:44 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -2
lines
sync with HEAD
Revision 1.124.20.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:26 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124: +7 -2
lines
Sync with head.
Revision 1.124.22.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:40:04 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124: +7 -2
lines
sync with head.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:24 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
vmlocking2-base3,
matt-armv6-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-merge1,
bouyer-xeni386-base
Branch point for: bouyer-xeni386
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -2
lines
Merge jmcneill-pm branch.
Revision 1.124.10.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:37 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.124.10.1: preferred, colored; branchpoint 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.10.1: +4 -4
lines
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.124.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 14:27:34 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -2
lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
three layers (class logic, device logic, bus logic), all of them being
optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
not suspended (even partially), device_is_enabled returns true if the
device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
pnp_system_resume. Before running any suspend/resume handlers, check
that all currently attached devices support power management and bail
out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
can register what events they are interested in and whether the handler
should be global or not.
- Introduce device_active API for devices to mark themselve in use from
either the system or the device. Use this to implement the idle handling
for audio and input devices. This is intended to replace most ad-hoc
watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.
Revision 1.119.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:39:17 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.119.2.1: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.2.1: +12 -20
lines
sync with head.
Revision 1.123.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:08:42 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +12 -20
lines
Sync with head.
Revision 1.123.10.2: download - view: text, markup, annotated - select for diffs
Mon Jun 18 13:55:29 2007 UTC (19 years, 5 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.123.10.1: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.10.1: +63 -6
lines
Pullup 1.124 (attach driver per interface) with #ifdef USB_USE_IFATTACH.
Revision 1.123.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 14:57:43 2007 UTC (19 years, 6 months ago) by itohy
Branches: itohy-usb1
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +144 -65
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.123.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:51 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +12 -20
lines
sync with head.
Revision 1.123.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:55 2007 UTC (19 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +12 -20
lines
Sync with head.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Tue Mar 13 13:51:56 2007 UTC (19 years, 8 months ago) by drochner
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base,
yamt-idlelwp-base8,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-pm-base,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: yamt-kmem,
vmlocking2,
mjf-devfs,
matt-armv6,
jmcneill-pm
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +12 -20
lines
Introduce different autoconf interface attributes for USB drivers
matching (and handling) a whole device and those which match an
interface only. This will allow to enforce some rules, eg that
the former don't use interface information for matching or that the
latter don't modify global device state.
The previous way left too much freedom do the drivers which led to
inconsistencies and abuse.
For now, I've not changed locators and submatch rules, this will
happen later.
There should not be any change in behaviour, except in the case of
some drivers which did behave inconsistently:
if_atu, if_axe, uep: matched the configured device in the interface
stage, but did configuration again. I've converted them to match
in the device stage.
ustir, utoppy: matched in the interface stage, but only against
vendor/device information, and used any configuration/interface
without checking. Changed to match in device stage, and added
some simple code to configure and use the first interface.
If you have one of those devices, please test!
Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:46 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +8 -2
lines
sync with head.
Revision 1.120.20.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:49 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.120.20.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.20.1: +8 -2
lines
Sync with head.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue Jan 9 16:46:02 2007 UTC (19 years, 10 months ago) by christos
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
itohy-usb1-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
vmlocking,
mjf-ufs-trans,
itohy-usb1
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +8 -2
lines
PR/35385: Mihai Chelaru: Add a quirk for the Sony Cybershot USB camera, which
needs padding to 12.
Revision 1.120.22.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:17 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.120.22.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.22.1: +3 -3
lines
sync with head.
Revision 1.120.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:51 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -2
lines
Sync with head.
Revision 1.122: 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,
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
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.120.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:52 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3
lines
sync with head
Revision 1.121: 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.120: preferred, colored
Changes since revision 1.120: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.120: 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.119: preferred, colored
Changes since revision 1.119: +2 -2
lines
merge ktrace-lwp.
Revision 1.96.2.5: 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.96.2.4: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.2.4: +7 -7
lines
Sync with HEAD. Here we go again...
Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue May 31 19:26:22 2005 UTC (21 years, 5 months ago) by drochner
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.118: preferred, colored
Changes since revision 1.118: +3 -3
lines
cast-qual fallout
Revision 1.118: download - view: text, markup, annotated - select for diffs
Wed May 11 10:02:28 2005 UTC (21 years, 6 months ago) by augustss
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -6
lines
Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.
Revision 1.96.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:31:53 2005 UTC (21 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.96.2.3: preferred, colored
Changes since revision 1.96.2.3: +3 -5
lines
Sync with HEAD.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Dec 28 23:35:21 2004 UTC (21 years, 10 months ago) by nathanw
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
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,
netbsd-3,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -5
lines
USB_DETACH(): Don't zero out sc->sc_pipe[i] after aborting the
pipe. This lets umass_disco() free the pipes and associated controller
state, rather than leaking 2-3 pipes per attach/detach cycle.
Revision 1.96.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:33:47 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.96.2.2: preferred, colored
Changes since revision 1.96.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.96.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:51:46 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.96.2.1: preferred, colored
Changes since revision 1.96.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:51:37 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +190 -117
lines
Sync with HEAD
Revision 1.109.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 10 13:45:19 2004 UTC (22 years, 4 months ago) by tron
Branches: netbsd-2-0
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-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
Diff to: previous 1.109.2.2: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.2.2: +3 -3
lines
Pull up revision 1.112 (requested by mycroft in ticket #631):
Fix a printf() error.
Revision 1.109.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 2 22:23:54 2004 UTC (22 years, 4 months ago) by he
Branches: netbsd-2-0
Diff to: previous 1.109.2.1: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.2.1: +5 -2
lines
Pull up revision 1.116 (requested by mycroft in ticket #582):
When starting a bulk-only transfer, punt early if the device
is going away.
Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 2 17:19:52 2004 UTC (22 years, 4 months ago) by he
Branches: netbsd-2-0
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +18 -10
lines
Pull up revisions 1.113-1.115 (requested by mycroft in ticket #572):
Several fixes mostly related to USB:
o Use STATUS_CMD_FAILED instead of STATUS_WIRE_FAILED in
response to a CBI stall, so that we do a REQUEST SENSE
thereafter. Fixes PR#22960.
o Fix usage of incorrect buffer in CBI, possibly causing
general failure to transfer data correctly. Fixes
PR#25676.
o Do not do a CBI resset before returning STATUS_CMD_FAILED.
This causes any sense information to be thrown away.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Jun 30 05:53:46 2004 UTC (22 years, 4 months ago) by mycroft
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -2
lines
When starting a bulk-only transfer, punt early if the device is going away.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat Jun 26 02:17:00 2004 UTC (22 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +12 -6
lines
Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any
sense information to be thrown away, and is therefore nonsensical.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Jun 25 14:14:34 2004 UTC (22 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -4
lines
Fix usage of incorrect buffer in CBI, possibly causing general failure to
transfer data correctly. See PR 25676.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Jun 25 14:07:27 2004 UTC (22 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +10 -8
lines
Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly
normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which
causes us to do a REQUEST SENSE. Should address PR 22960.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Jun 22 12:21:04 2004 UTC (22 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3
lines
Fix a printf() error.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Apr 23 17:25:25 2004 UTC (22 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -3
lines
use bounded string ops (snprintf, strl*)
Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Apr 22 00:17:13 2004 UTC (22 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +6 -5
lines
sprintf -> snprintf
Revision 1.109: download - view: text, markup, annotated - select for diffs
Thu Dec 4 13:57:31 2003 UTC (22 years, 11 months ago) by keihan
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri Nov 7 17:03:25 2003 UTC (23 years ago) by wiz
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +6 -6
lines
URL updates, from Jared Yanovich and jmc@openbsd, forwarded by the latter.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Tue Oct 28 23:37:59 2003 UTC (23 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -7
lines
The "bad status" case is impossible -- the switch value is constrained to 2
bits -- so just add the default case to the one that returns
STATUS_WIRE_FAILED.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:28:31 2003 UTC (23 years ago) by christos
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +7 -2
lines
Fix uninitialized variable warnings.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Sep 29 20:04:25 2003 UTC (23 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +24 -17
lines
The umass attach can fail in many ways. Print a message about why it
failed instead of just being silent about it.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sat Sep 13 03:18:13 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +11 -11
lines
Do the quirk initialization earlier.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Sep 10 06:38:28 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +47 -40
lines
Mostly stylistic change, making comments and printf()s similar between BBB
and CBI.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Sep 10 05:42:18 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +39 -2
lines
Copyright maintenance.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Wed Sep 10 05:20:21 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -3
lines
On a Bulk-In data stall, make sure we copy back the data received, per the
spec. This is the real problem behind FORCE_SHORT_INQUIRY.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Sep 10 02:49:18 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +44 -41
lines
cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Fix several problems with CCI handling, and enable it:
* We were never calling the callback function when we got a UFI CCI(!).
* We were passing a bogus residual count on non-UFI CCIs.
* After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense
information -- don't consider this a failure.
In addition, remove a horrible hack that was causing us to drop sense
information on the floor and return empty INQUIRY responses, often in the case
where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send
the data and then fail, some don't.)
This eliminates the need for quirks for the Y-E DATA FlashBuster.
These changes work on:
umass0: SAMSUNG SFD-321U [FW 0C], rev 1.10/2.10, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus1 drive 0: <SMSC, USB FDC, 2.10> disk removable
umass0: TEAC TEAC FD-05PUB, rev 1.10/0.00, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <TEAC, FD-05PUB, 1026> disk removable
umass0: Y-E DATA FlashBuster-U, rev 1.00/3.04, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <Y-E DATA, USB-FDU, 3.04> disk removable
Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Sep 8 19:57:32 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +7 -2
lines
If maxlun>0, automatically set PQUIRK_FORCELUNS, rather than using quirk
table entries.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Sep 8 19:30:59 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -4
lines
Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Sep 4 00:02:59 2003 UTC (23 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +4 -3
lines
Well, this is bloody obscure...
My Imation USB FlashGO! adapter responds to a Get Max Lun request with a
stall. With uhci, this does the expected thing. With ohci, it was returning
a "data underrun" error because we weren't setting "buffer rounding" (i.e.
USBD_SHORT_XFER_OK), and the underrun was taking priority. This happened with
both the ohci in a Mac cube and the builtin ohci on the S3C2410.
So, set USBD_SHORT_XFER_OK on the Get Max Lun. Now I get a stall reported and
umass attaches correctly.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Apr 26 12:46:59 2003 UTC (23 years, 6 months ago) by dsainty
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +5 -4
lines
Use the correct bus name in "bus not configured" errors for SCSI and ATAPI
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Feb 16 23:14:06 2003 UTC (23 years, 9 months ago) by augustss
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +6 -6
lines
Add a reference count to avoid detaching while the attach is still
waiting.
Revision 1.52.2.13: download - view: text, markup, annotated - select for diffs
Tue Jan 7 21:35:00 2003 UTC (23 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.52.2.12: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.12: +6 -6
lines
Sync with HEAD.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Jan 6 12:46:11 2003 UTC (23 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +6 -6
lines
successful with only one l.
Revision 1.87.6.2: download - view: text, markup, annotated - select for diffs
Sun Jan 5 08:25:42 2003 UTC (23 years, 10 months ago) by jmc
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.87.6.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.6.1: +1 -1
lines
Pull up revisions 1.91-1.92 (requested by tron in ticket #1055)
Use NULL instead of 0 in pointer checks.
Revision 1.52.2.12: download - view: text, markup, annotated - select for diffs
Fri Jan 3 17:08:18 2003 UTC (23 years, 10 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.52.2.11: preferred, colored
Changes since revision 1.52.2.11: +5 -3
lines
Sync with HEAD.
Revision 1.87.6.1: download - view: text, markup, annotated - select for diffs
Thu Jan 2 08:34:10 2003 UTC (23 years, 10 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +5 -3
lines
Pull up revision 1.93 (requested by toshii in ticket #1054):
Assign NULL to sc_pipe after closing, so that usbd_close_pipe isn't
called twice. At least in NetBSD, the detach function is called when the
device is removed, even if the attach function has failed.
This is probably the cause of panics reported in kern/19326.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Jan 1 15:55:48 2003 UTC (23 years, 10 months ago) by toshii
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -3
lines
Assign NULL to sc_pipe after closing, so that usbd_close_pipe isn't
called twice. At least in NetBSD, the detach function is called when the
device is removed, even if the attach function has failed.
This is probably the cause of panics reported in kern/19326.
Revision 1.52.2.11: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:48:19 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.52.2.10: preferred, colored
Changes since revision 1.52.2.10: +3 -3
lines
Sync with HEAD.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Dec 18 14:12:33 2002 UTC (23 years, 11 months ago) by tron
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3
lines
Use "NULL" instead of "0" in pointer checks.
Revision 1.52.2.10: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:38:52 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.52.2.9: preferred, colored
Changes since revision 1.52.2.9: +4 -0
lines
Sync with HEAD.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Dec 6 03:57:51 2002 UTC (23 years, 11 months ago) by erh
Branches: MAIN
CVS tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +6 -2
lines
kern/12837: Provide a way to get working devices that violate the usb spec by
returning a non-matching CSW tag.
Defined a quirk for this and set it for Scanlogic SL11R, which gets my
NEO Jukebox working.
Revision 1.52.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:12:55 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.8: preferred, colored
Changes since revision 1.52.2.8: +1 -1
lines
Catch up to -current
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Nov 4 19:17:33 2002 UTC (24 years ago) by pooka
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3
lines
we don't own Jason, even if we'd like to
(fix typo in comment, in case you're wondering ;)
Revision 1.52.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:44:35 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.7: preferred, colored
Changes since revision 1.52.2.7: +3 -3
lines
Catch up to -current.
Revision 1.62.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:42:40 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.62.2.4: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.4: +5 -5
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:37:37 2002 UTC (24 years, 1 month ago) by provos
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +5 -5
lines
remove trailing \n in panic(). approved perry.
Revision 1.62.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:47:01 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.62.2.3: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.3: +20 -20
lines
sync kqueue branch with HEAD
Revision 1.52.2.7: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:00 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.6: preferred, colored
Changes since revision 1.52.2.6: +18 -18
lines
Catch up to -current.
Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:36:10 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +20 -20
lines
catch up with -current.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Jul 11 21:14:31 2002 UTC (24 years, 4 months ago) by augustss
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +20 -20
lines
Get rid of trailing white space.
Revision 1.62.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:49:09 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.62.2.2: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.2: +4 -4
lines
catch up with -current on kqueue branch
Revision 1.52.2.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:47:36 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.5: preferred, colored
Changes since revision 1.52.2.5: +4 -4
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Mar 17 18:02:53 2002 UTC (24 years, 8 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -4
lines
Whitespace fixes.
Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:01:38 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.1: +4 -3
lines
Catch up with -current.
Revision 1.52.2.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:14:32 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.4: preferred, colored
Changes since revision 1.52.2.4: +4 -3
lines
Catch up to -current.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Feb 7 13:52:54 2002 UTC (24 years, 9 months ago) by augustss
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -3
lines
Add quirk for devices without Get Max Lun.
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:59:00 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +388 -466
lines
Sync kqueue branch with -current.
Revision 1.52.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:32:12 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.3: preferred, colored
Changes since revision 1.52.2.3: +384 -467
lines
Catch up to -current.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Dec 31 15:54:27 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3
lines
Dump enpoint number instead of endpoint index.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Dec 31 12:52:50 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
Don't try to deactivate child if we have no bus yet.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Dec 31 12:15:46 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +7 -5
lines
Dump more of the command.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Dec 29 13:46:23 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -2
lines
Introduce a field, busquirks, in the umass quirk table that is passed
directly to the quirk field for the bus.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Dec 24 19:24:33 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -17
lines
Get rid of the transfer_speed nonsense to calculate the timeout.
We get passed a timeout from the upper layer which is what matters.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Dec 24 13:43:24 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +13 -0
lines
Add a preliminary version of a driver for In-System Designs non-standard
ATA-over-BulkOnly protocol. The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Dec 24 13:25:52 2001 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +71 -10
lines
Make the separation between wire protocol (umass.c) and command protocol
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Dec 17 12:16:14 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +186 -335
lines
Introduce the new umass quirk table.
Discussed with augustss.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Dec 15 00:26:14 2001 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +13 -2
lines
Add a hack for ScanLogic SL11R IDE adapter. From FreeBSD.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Dec 14 08:58:49 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +15 -15
lines
Stylistic changes
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Dec 14 08:46:19 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +32 -31
lines
Define a new structure to store wire specific control methods.
The basic BBB/CBI functions are stored as members of constant structure.
When attached device, softc holds one of that constant structures.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Dec 14 06:21:56 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +10 -26
lines
Use device handle and interface number which are stored in softc.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Dec 14 05:58:13 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +57 -68
lines
Change style to store endpoint addresses and pipes.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Dec 12 15:23:58 2001 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -4
lines
Move usbd_clear_endpoint_toggle() prototype to usbdi.h.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Dec 12 14:24:53 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4
lines
Use vendor/product variables
Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Dec 12 13:23:20 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +16 -19
lines
Don't change wire protocol state in umass generic function
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Dec 12 13:17:03 2001 UTC (24 years, 11 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3
lines
bcopy -> memcpy
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:15:46 2001 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +16 -2
lines
Add a quirk for Olympus C-1. From FreeBSD (by iedowse)
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:05:22 2001 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +20 -14
lines
Pay attention to the timeout value passed down by the scsipi layer.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Nov 23 01:15:28 2001 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +20 -17
lines
Handle Zip quirks differently.
Ugh! This driver need major overhaul.
Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:16:18 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.2: preferred, colored
Changes since revision 1.52.2.2: +9 -4
lines
Catch up to -current.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Nov 13 08:01:40 2001 UTC (25 years ago) by augustss
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +5 -5
lines
Remove trailing `b' in some numbers for lengths. It just makes them look
like hex.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Nov 13 06:24:55 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +4 -1
lines
add RCSIDs
Revision 1.62.6.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:32 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +4 -2
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:43:24 2001 UTC (25 years ago) by augustss
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -2
lines
Better debug messages.
Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 30 12:03:15 2001 UTC (25 years, 1 month ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.38.2.2: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.2: +2 -2
lines
Apply patch (requested by wiz):
Minor coding fix in preprocessor directive. Fixes PR#13763.
Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:06:22 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52.2.1: preferred, colored
Changes since revision 1.52.2.1: +53 -1715
lines
Catch up to -current.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Jun 4 06:01:40 2001 UTC (25 years, 5 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.61: preferred, colored
Changes since revision 1.61: +3 -2
lines
Remove overly paranoid test (and not in the spec either). From OpenBSD.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Apr 26 03:59:32 2001 UTC (25 years, 6 months ago) by enami
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2
lines
s/\<PROTO_ATAPI/C&/
Revision 1.21.2.14: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:50:01 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.13: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.13: +80 -1817
lines
Sync with HEAD
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Apr 19 00:50:22 2001 UTC (25 years, 7 months ago) by augustss
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -99
lines
Remove stuff I didn't mean to commit yet.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Apr 19 00:47:49 2001 UTC (25 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +98 -4
lines
Add HP 3400.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:50:13 2001 UTC (25 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +46 -37
lines
Clean up formatting a little.
Split protocol variable into wire and command protocols.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Apr 13 12:51:43 2001 UTC (25 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -1
lines
Make it link with debug flag.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Apr 13 12:24:10 2001 UTC (25 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -1676
lines
Split the umass driver into the part that handles the X-over-USB protocol
(umass.c) and the part that handles scsibus/atapibus (umassbus.c).
This way the must port specific stuff can be removed from umass.c.
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:57:36 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +38 -101
lines
Catch up with -current.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Apr 1 19:04:52 2001 UTC (25 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -3
lines
Make the ZiO! MMC adapter work.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Apr 1 14:41:39 2001 UTC (25 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +33 -98
lines
Change handling of the UFI protocol so it goes through atapibus instead
of scsibus. This removes a whole bunch of specioal cases for UFI.
All this great simplification comes from Brett McCoy <bmccoy@genuity.net>.
Revision 1.21.2.13: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:32:18 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.12: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.12: +1 -2
lines
Sync with HEAD.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Mar 23 14:11:39 2001 UTC (25 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -2
lines
Remove a debugging printf.
Revision 1.21.2.12: download - view: text, markup, annotated - select for diffs
Fri Mar 23 11:32:16 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.11: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.11: +1 -9
lines
Make compile again.
Revision 1.21.2.11: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:31:28 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.10: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.10: +2 -2
lines
Sync with HEAD.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Feb 24 00:03:46 2001 UTC (25 years, 8 months ago) by cgd
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2
lines
"#else if" is not a valid CPP directive. Use "#elif".
Revision 1.21.2.10: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:16:26 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.9: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.9: +49 -18
lines
Sync with HEAD.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Feb 8 13:24:05 2001 UTC (25 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +12 -12
lines
Fix INSYSTEM_USBCALBLE quirk entry:
- Make sure to pass iface properly to usbd_set_interface().
- Call usbd_set_interface before calling usbd_get_interface_descriptor().
It seems no one have tested this device. Anyway, my In-System ISD110
USB-IDE adapter does not work in this way..
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jan 23 14:04:13 2001 UTC (25 years, 9 months ago) by augustss
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
Make sure driver attach/detach events are generated in a consistent manner.
Revision 1.21.2.9: download - view: text, markup, annotated - select for diffs
Mon Jan 22 17:58:14 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.8: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.8: +1 -2
lines
we don't need ACAP_LEN here
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jan 21 18:56:38 2001 UTC (25 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +32 -4
lines
Add a quirk for devices that cannot handle full length INQUIRY.
From FreeBSD.
Revision 1.21.2.8: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:39 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.7: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.7: +13 -10
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.21.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 15 09:27:45 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.6: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.6: +1 -7
lines
req_sense_length is dead.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Jan 6 12:14:39 2001 UTC (25 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -12
lines
Change debugging output a little.
Don't the for the wrong id when UMASS_DEBUG is set.
Revision 1.21.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:32 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.5: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.5: +10 -6
lines
Sync with HEAD
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Dec 29 01:24:57 2000 UTC (25 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -4
lines
Update many URLs.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Dec 18 19:57:47 2000 UTC (25 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -5
lines
Don't use atapi_print since if there are no wdc's, it won't be present.
Revision 1.21.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:15 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.4: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.4: +7 -0
lines
Sync with HEAD (for UBC fixes).
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Dec 8 02:33:44 2000 UTC (25 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -1
lines
Add a DIAGNOSTIC message.
Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:05:05 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.3: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.3: +16 -10
lines
Sync with HEAD.
Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:43:28 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.2: +3224 -615
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.44: download - view: text, markup, annotated - select for diffs
Sat Nov 4 15:54:36 2000 UTC (26 years ago) by augustss
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +16 -10
lines
Add quirks for a Fuji camera.
Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 4 02:38:55 2000 UTC (26 years, 1 month ago) by augustss
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.1: +4 -1
lines
Pull up 1.42-1.43 from trunk. Avoids finding two disk when there is
only one.
Approved by thorpej.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Oct 3 04:33:03 2000 UTC (26 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -1
lines
Only probe for drive 0. Fix es problem reported by Nathan Williams
<nathanw@MIT.EDU>.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Sep 23 21:03:00 2000 UTC (26 years, 1 month ago) by augustss
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +38 -12
lines
Recognize Sony memory sticks (from FreeBSD).
Add timing info in the debug output.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Aug 17 23:16:16 2000 UTC (26 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +23 -3
lines
From FreeBSD: add code for Insystem USB cable.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Aug 12 14:52:44 2000 UTC (26 years, 3 months ago) by augustss
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +29 -7
lines
Make attach message correct for non-umass devices.
Handle RBC (a SCSI subset).
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 01:14:08 2000 UTC (26 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2
lines
Pull up rev. 1.39 (augustss):
Fix reversed test which caused umass detach failure.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Jul 6 07:11:18 2000 UTC (26 years, 4 months ago) by augustss
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2
lines
Fix reversed test in umass_activate(). Probably fixes PR 10520.
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:08:39 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +214 -119
lines
Sync w/ netbsd-1-5-base.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Jun 1 14:29:00 2000 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +91 -110
lines
Bring the coding style into the 80s, i.e., get rid of __P and use
ANSI prototypes and declarations.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed May 31 16:13:31 2000 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -9
lines
Rename a define.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed May 31 09:17:13 2000 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +37 -1
lines
Implement the scsipi_getgeom method and guess the geometry of floppies
based on the number of sectors.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue May 30 01:12:51 2000 UTC (26 years, 5 months ago) by augustss
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +90 -12
lines
Massage the SCSI commands when using the UFI protocol in a better way.
Now the Y-E Data Flashbuster floppy seems to work.
Thanks to Y-E Data for giving one to the project when I couldn't find
one easily.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Apr 28 21:34:05 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.33: preferred, colored
Changes since revision 1.33: +9 -1
lines
Don't request sense after INQUIRY. From FreeBSD & OpenBSD.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Apr 6 13:52:04 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -3
lines
Add another #if NATAPIBUS > 0 in case there is no atapibus attached.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Apr 4 20:16:47 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +30 -20
lines
Make protocol message more accurate.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Apr 3 12:31:34 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1
lines
Enable QIC157 command set. Untested.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Apr 3 12:12:38 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +18 -6
lines
Enable UFI protocol. Still untested in NetBSD. Used by, e.g., Y-E Data
floppies.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Apr 3 03:56:49 2000 UTC (26 years, 7 months ago) by enami
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +13 -1
lines
Make this file compiles under some condition:
- #if 0'ed out the umass_reset for now.
- some atapibus specific code is conditionalized by NATAPIBUS.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Apr 2 23:46:53 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2990 -619
lines
New and shiny version of the umass driver. This is a port of the new
FreeBSD umass driver by Nick Hibma <n_hibma@freebsd.org> and
MAEKAWA Masahide <bishop@rr.iij4u.or.jp>.
Improvements:
uses asynchronous USB requests
supports more transport protocols (Bulk-only and CBI)
supports more command sets (SCSI and ATAPI)
Tested with Zip100 and Imation Superdisk.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Mar 29 18:30:46 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
Fix a buglet.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 24 22:16:42 2000 UTC (26 years, 7 months ago) by augustss
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4
lines
Rename bulk only protocol (following FreeBSD).
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 29 21:37:01 2000 UTC (26 years, 8 months ago) by augustss
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +14 -14
lines
Distinguish between device and interface classes.
(I finally found a document that said that they were different.)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Feb 2 13:18:47 2000 UTC (26 years, 9 months ago) by augustss
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -1
lines
Generate usb events on attach and detach.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:35:43 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +20 -24
lines
Pull up to last week's -current.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 17 23:00:50 1999 UTC (27 years ago) by augustss
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -6
lines
A few more purely stylistic changes that I missed in the last round.
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:41:37 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +18 -19
lines
Sync with -current
Revision 1.22: 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.21: preferred, colored
Changes since revision 1.21: +18 -19
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.21.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 26 23:10:19 1999 UTC (27 years ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +1 -2
lines
Update for:
Deal a little more gracefully with the fact that xfer mode parameters
are for the I_T Nexus, and make all xfer mode updates `async events'.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 17:54:52 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +129 -120
lines
Adapt to scsipi API changes.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 13 08:10:57 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.20: preferred, colored
Changes since revision 1.20: +3 -6
lines
Merge in a large batch of changes from Nick Hibma <hibma@skylink.it> so
the USB stack compiles on FreeBSD again.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 30 23:13:41 1999 UTC (27 years, 1 month ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -8
lines
Update for SCSIPI changes.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Sep 16 21:53:58 1999 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4
lines
Make defines follow the standard.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Sep 13 21:35:08 1999 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +49 -15
lines
Put a reference counter in the softc. Without this the driver might access
data that has been freed because the detach() routine returns to early.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Sep 12 02:40:59 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +37 -4
lines
Display more verbose information about the command protocol and wire
protocol used by the device, e.g.:
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2
umass0: SCSI over Bulk-Only (iclass 8/6/80)
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Sep 11 21:45:28 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -3
lines
Hot-unplug works now.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Sep 11 20:52:07 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +79 -29
lines
- If a command fails, assume the device returned CHECK CONDITION status,
and issue a REQUEST SENSE. This fixes the media change problems I was
having w/ my USB ZIP drive.
- Clean up some debugging code.
- Implement more hot-unplug stuff.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Sep 9 17:12:03 1999 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -6
lines
Update doc URLs and fix a typo in umass_bulk_get_max_lun().
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Sep 9 12:26:46 1999 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -4
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.12: 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.11: preferred, colored
Changes since revision 1.11: +3 -3
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.11: download - view: text, markup, annotated - select for diffs
Sat Sep 4 22:26:12 1999 UTC (27 years, 2 months ago) by augustss
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Change the way the direction is extracted from the endpoint descriptor.
No functional changes to the drivers. From Nick Hibma, FreeBSD.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 30 01:05:08 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -3
lines
Oops, back out stuff I didn't mean to commit.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Aug 30 01:04:31 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +49 -21
lines
Add detach goo; still needs work in the `scsibus' and further layers.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 29 20:41:12 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Set openings to 1; only one command may be queued with the device at
a time.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Aug 29 19:58:55 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +96 -3
lines
Issue a Get Max Lun request to determine the max lun.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 29 18:58:03 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1
lines
One more TODO item; sub-classes other than SCSI.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 29 18:57:15 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Correct typo in URL. From Bill Sommerfeld.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 29 18:56:24 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -6
lines
Update the match routine to reflect that the driver actually matches
"Mass Storage/SCSI/Bulk".
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 29 18:13:26 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -4
lines
Update documentation references.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 29 17:34:11 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -1
lines
Note a few TODO items.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 00:30:08 1999 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Port the FreeBSD `umass' driver to NetBSD. This is still a work-in-progress
since a few things don't yet work properly:
- Sense data isn't reported properly (err, at all).
- It doesn't work with anything other than the Iomega USB Zip drive.
- Hot-unplug doesn't work yet.
...but this is enough to make my shiny new USB Zip drive go.
CVSweb <webmaster@jp.NetBSD.org>