datapath: Add sysfs support for all (otherwise supported) Linux versions.
authorBen Pfaff <blp@nicira.com>
Fri, 12 Jun 2009 23:45:01 +0000 (16:45 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Jun 2009 23:45:01 +0000 (16:45 -0700)
commit806e39cfdf17ae61221eefb6e292f99c8abc2efc
tree48a79c50fbcef47a6331659429e8317c79caf31c
parentb4ebfbeaf19fdf376897b68f6684fda93d3a1656
datapath: Add sysfs support for all (otherwise supported) Linux versions.

This turned out to be less trouble than I expected.

This builds successfully against 2.6.18 through 2.6.28.  Justin has lightly
tested it on a 2.6.27 kernel provided by Citrix.
datapath/brc_sysfs.h
datapath/brc_sysfs_dp.c
datapath/brc_sysfs_if.c
datapath/brcompat.c
datapath/datapath.c
datapath/datapath.h
datapath/linux-2.6/Modules.mk
datapath/linux-2.6/compat-2.6/include/linux/kobject.h [new file with mode: 0644]
datapath/linux-2.6/compat-2.6/include/linux/netdevice.h