summaryrefslogtreecommitdiff
path: root/sys/dev/usb/TODO.usbmp
blob: 8b820973b5f61911743d393c7618b90997a35a52 (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
$NetBSD: TODO.usbmp,v 1.6 2013/12/07 07:59:37 skrll Exp $


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


flesh out most of usbdi(9).


host controllers needing to be ported:
  - rump/dev/lib/libugenhc/ugenhc.c


usb_event_thread() startup should use something to sync companions


wake/wakeup conversion:
  - usb_detach_waitold/wakeupold() -> usb_detach_wait/broadcast()
  - drivers:
      if_aue.c
      if_axe.c
      if_udav.c
      if_url.c
      ubt.c
      ucom.c
      ucycom.c
      ugen.c		- done
      uhid.c		- done
      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)
  - needs some locking here (not completely tested changes)
  - done

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

  uyurex(4)
  - sysmon -- hm?


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


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


missing CALLOUT_MPSAFE drivers:
  - if_aue
  - if_axe
  - if_cue
  - if_otus
  - if_rum
  - if_run
  - if_udav
  - if_upgt
  - if_ural
  - if_url
  - if_urtw
  - if_urtwn
  - if_zyd
  - ukbd
  - ulpt
  - uyurex


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 (must take kernel lock for scsipi)
  - uaudio		working
  - umidi		working
  - uirda
  - stuirda
  - ustir
  - irmce
  - aue
  - axe			working
  - cdce
  - cue
  - kue
  - udav
  - url
  - urndis
  - atu
  - otus
  - ral
  - rum
  - run
  - urtw
  - urtwn
  - upgt
  - zyd
  - upl
  - 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
  - uftdi
  - uipaq
  - umct
  - uplcom		attaches ok
  - uslsa		working
  - uvscom
  - moscom
  - uvisor
  - ukyopon
  - u3g
  - ugensa