2010-06-14 14:27:40 +00:00
|
|
|
// (c) 2010 Thomas Schoebel-Theuer / 1&1 Internet AG
|
|
|
|
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/string.h>
|
|
|
|
|
|
|
|
#define _STRATEGY
|
|
|
|
#include "mars.h"
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
|
2010-06-20 18:55:34 +00:00
|
|
|
// object stuff
|
2010-06-14 14:27:40 +00:00
|
|
|
|
2010-08-05 15:54:48 +00:00
|
|
|
const struct generic_object_type mars_ref_type = {
|
|
|
|
.object_type_name = "mars_ref",
|
|
|
|
.default_size = sizeof(struct mars_ref_object),
|
|
|
|
.brick_obj_nr = BRICK_OBJ_MARS_REF,
|
2010-07-05 15:56:58 +00:00
|
|
|
};
|
2010-08-05 15:54:48 +00:00
|
|
|
EXPORT_SYMBOL_GPL(mars_ref_type);
|
2010-07-05 15:56:58 +00:00
|
|
|
|
2010-06-14 14:27:40 +00:00
|
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
|
2010-06-20 18:55:34 +00:00
|
|
|
// brick stuff
|
|
|
|
|
2010-07-30 11:50:20 +00:00
|
|
|
|
2010-06-14 14:27:40 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
static int __init init_mars(void)
|
|
|
|
{
|
|
|
|
printk(MARS_INFO "init_mars()\n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void __exit exit_mars(void)
|
|
|
|
{
|
|
|
|
printk(MARS_INFO "exit_mars()\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
MODULE_DESCRIPTION("MARS block storage");
|
|
|
|
MODULE_AUTHOR("Thomas Schoebel-Theuer <tst@1und1.de>");
|
|
|
|
MODULE_LICENSE("GPL");
|
|
|
|
|
|
|
|
module_init(init_mars);
|
|
|
|
module_exit(exit_mars);
|