Modified the naming scheme for hardware tables.
authorBen Pfaff <blp@nicira.com>
Thu, 26 Jun 2008 23:21:18 +0000 (16:21 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 26 Jun 2008 23:21:18 +0000 (16:21 -0700)
commit89d08b1a1760ca31b4f1ce22945ba31ed16f7484
tree7501154beca816bf54de70277a62ea1620e35834
parentf68ad8aecb9d39a27b47a98ba96635cde9b170c0
Modified the naming scheme for hardware tables.

Because of historical string munging during the kernel build process
if you named your hardware table hwtable-something, when it was built
the filename would look appropriate, but the actual module info would change
the internal name to be hwtable_something, thus after an insmod with the filename
you could not perform an rmmod with the same filename. As a result
the naming scheme has been changed to hwtable_NAME, NAME being the hardware
the table supports.

Further, include files in the hardware table should be prefixed with the
folder name, e.g. #include "hwtable_NAME/my_header.h".

Based on commits from David Erickson <derickso@stanford.edu>.
README.hwtables
configure.ac
datapath/hwtable-dummy/Modules.mk [deleted file]
datapath/hwtable-dummy/hwtable-dummy.c [deleted file]
datapath/hwtable_dummy/Modules.mk [new file with mode: 0644]
datapath/hwtable_dummy/hwtable_dummy.c [new file with mode: 0644]