Opened 12 years ago

Closed 12 years ago

#404 closed enhancement (fixed)

NIC API cleanup

Reported by: Jiri Svoboda Owned by: Jiri Svoboda
Priority: major Milestone: 0.5.0
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


Clean up the NIC API to prepare for new networking stack support.

  • remove use of packet_t
  • remove any dependencies on net module / networking stack
  • remove any dependencies on DDF
  • proper use of Location Service
  • unplug support

Change History (3)

comment:1 by Jiri Svoboda, 12 years ago

Owner: set to Jiri Svoboda
Status: newassigned

comment:2 by Jiri Svoboda, 12 years ago

The dependence of NIC on DDF hampers its genericity. It prevents:

  • multiport adapters (unless special support is added in NIC framework)
  • mixed-type devices
  • non-DDF NICs (e.g. loopback)

and besides it goes against the principle that services provided by a driver (and thus frameworks built to facilitate implementing those) should be independent of the driver implementation (including, but not limited to, wheter its DDF or non-DDF).

Last edited 12 years ago by Jiri Svoboda (previous) (diff)

comment:3 by Jiri Svoboda, 12 years ago

Resolution: fixed
Status: assignedclosed

Removing dependencies on DDF and hot unplug can be addressed later. All other changes have been implemented (mainline,1358, mainline,1361, mainline,1362, mainline,1363, mainline,1367, mainline,1369, mainline,1371, mainline,1372, mainline,1373, mainline,1374).

Note: See TracTickets for help on using tickets.