PACKAGE_VERSION="2.10.1"

# Items below here should not have to change with each driver version
PACKAGE_NAME="megaraid2"
MAKE[0]="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
CLEAN="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"

BUILT_MODULE_NAME[0]="megaraid2"
DEST_MODULE_LOCATION[0]="/kernel/drivers/scsi/"
MODULES_CONF_ALIAS_TYPE[0]="scsi_hostadapter"
MODULES_CONF_OBSOLETES[0]="megaraid,megaraid_2002"

REMAKE_INITRD="yes"

PATCH[0]="rhel21.patch"
PATCH_MATCH[0]="2\.4\.9\-e\."
PATCH[1]="rhel3.patch"
PATCH_MATCH[1]="2\.4\.21\-.*\.EL"
