summaryrefslogtreecommitdiff
path: root/sys/dev/usb/TODO.usbmp
blob: 9edf7cc3e790de54c34f19dc4a48ec442beea397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
$NetBSD: TODO.usbmp,v 1.13.2.1 2019/09/01 13:00:36 martin Exp $


the majority of the USB MP device interface is documented in usbdivar.h.


flesh out most of usbdi(9).

usb_event_thread() startup should use something to sync companions


KERNEL_LOCK
  - auvitek.c
  - auvitek_dtv.c
  - emdtv.c
  - emdtv_dtv.c
  - ubt.c
  - uhub.c
  - usscanner.c

usb_detach_{waitold,wakeup} to usb_detach_{wait,broadcast} conversion:
  - drivers:
      if_aue.c
      stuirda.c
      ubt.c
      ucom.c
      ucycom.c
      udsir.c
      uhso.c
      uirda.c
      ulpt.c
      umass.c		- done, partially done -- need to check umass_scsipi.c change
      urio.c
      uscanner.c
      usscanner.c
      ustir.c
      utoppy.c


use usb_delay_ms_locked() in places


convert uhidev users to MPSAFE:
  ucycom(4)
  - own cdevsw that isn't D_MPSAFE; need to check intr handlers

  uhid(4)
  - D_MPSAFE not set as all users need it first.
  - mostly done

  ukbd(4)
  ums(4)
  uts(4)
  pbms(4)
  - depends upon wscons? check intr

  uyurex(4)
  - sysmon -- hm?

splusb drivers to convert:
  - auvitek_dtv.c
  - auvitek_video.c
  - emdtv_dtv.c
  - if_athn_usb.c
  - if_otus.c
  - if_rum.c
  - if_run.c
  - if_umb.c
  - if_ural.c
  - if_urtw.c
  - if_urtwn.c
  - if_zyd.c
  - ubt.c
  - ucycom.c
  - udsir.c
  - uhso.c
  - uirda.c
  - ukbd.c
  - ulpt.c
  - urio.c
  - usbdi.h
  - uscanner.c
  - usscanner.c
  - ustir.c
  - utoppy.c
  - uvideo.c

wakeup/tsleep drivers:
  - if_otus.c
  - if_run.c
  - if_upgt.c
  - if_urtwn.c
  - if_zyd.c
  - ucom.c
  - ucycom.c
  - udsir.c
  - uirda.c
  - ulpt.c
  - umass_isdata.c
  - ustir.c
  - uthum.c
  - uvscom.c
  - uyurex.c

missing D_MPSAFE drivers:
  - ucom
  - ucycom
  - ugen		- partially ready
  - uhso
  - ulpt
  - urio
  - usb
  - uscanner
  - utoppy

missing CALLOUT_MPSAFE drivers:
  - if_otus.c
  - if_rum.c
  - if_run.c
  - if_upgt.c
  - if_ural.c
  - if_urtw.c
  - if_urtwn.c
  - if_zyd.c
  - ukbd.c
  - ulpt.c
  - uyurex.c

driver testing:		STATUS
  - uhub		working
  - uhid		working
  - uhidev		working
  - ums			working
  - uts
  - ukbd		working
  - ucycom
  - uep
  - udl
  - ulpt		attaches ok
  - uhso		working (must take kernel lock for scsipi)
  - umass		working
  - uaudio		working
  - umidi		working
  - uirda
  - stuirda
  - ustir
  - irmce
  - aue
  - axe			working
  - axen		working
  - cdce		working
  - cue			working
  - kue			working
  - udav
  - url			working
  - urndis		working
  - atu
  - otus
  - ral
  - rum
  - run
  - ure			working
  - urtw		working
  - urtwn		working
  - upgt
  - zyd
  - upl			working
  - uberry
  - uipad
  - urio
  - uscanner		? (must take kernel lock for scsipi)
  - usscanner
  - utoppy
  - uyap
  - udsbr
  - ugen		mostly done
  - pseye		working
  - uvideo
  - auvitek		? (must take kernel lock for scsipi)
  - emdtv		? (must take kernel lock for scsipi)
  - ubt			working (must take kernel lock for scsipi)
  - aubtfwl
  - u3ginit
ucom attachments:
  - umodem		working
  - uark
  - ubsa
  - uchcom		working
  - uftdi		working
  - uipaq
  - umct
  - uplcom		attaches ok
  - uslsa		working
  - uvscom		working
  - umcs		working
  - uvisor
  - ukyopon
  - u3g
  - ugensa