summaryrefslogtreecommitdiff
path: root/sys/dev/ieee1394/TODO
blob: 39cca9f5482872417bef3923a62caa90b255e3f5 (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
TODO :
------

- Rewrite handler_set to allow sub regions, minimums, etc without having to
  register 100 callbacks for 100 quad reads.

- Use handler_set (with NULL cb) to create a higher level <bus>_unreg.

- Move all mbuf code to if_fw.c. Make if_fw use the generic read/write/inreg
  and then it can translate the packets into the appropriate mbuf's.

- Need a tlabel alloc routine within fwohci and a way to use 64 tlabel's per
  node (rather than a global set of 64 as it's used now).

- Flesh out the documentation of the high level API in fwohci.c (fwlynx will
  need to implement the same thing so this should be more than just comments
  in fwohci.c).

- Track down issues where multiple hosts plugged into a firewire hub don't
  init/see all devices on resets sometimes.

- Should do topology maps, speed maps, the various bus managers, etc.

- Implement a real fwscsi scsibus, with each attached device as a new
  target/lun. Not a new scsibus per device.

- Implement proper handlers with either 1 main thread, or timeouts and
  callbacks.

==============================================================================

DONE :
------

- Move SBP2 routines into their own file.

- Rewrite ROM parsing/validation. Unroll all recursion, add ref counting, path
  elimination, etc.

- Move rom routines into their own files to allow easier cross usage.

- Write sub match setup for fwnode/fwscsi so matching devices listed in the
  ROM can be done via autoconf.

- Remove all of the devcap stuff.

- SBP2 needs a complete API written up: logins, ORB management/allocation, etc. 
  (basic routines have been implemented).

- Add locator detection/usage into fwohci code.

- Change all FW_DEBUG wrapped printf's to DPRINTF macro's.

- Ack errors from a TX complete should get passed up to any registered
  callbacks.

- Make fwohci detach correctly (for cardbus/etc type interfaces).