Enclosure Services

modulename: enclosure.ko

configname: CONFIG_ENCLOSURE_SERVICES

Linux Kernel Configuration
└─>Device Drivers
└─>Misc devices
└─>Enclosure Services
In linux kernel since version 2.6.25 (release Date: 2008-04-16)  
Provides support for intelligent enclosures (bays which
contain storage devices). You also need either a host
driver (SCSI/ATA) which supports enclosures
or a SCSI enclosure device (SES) to use these services.

source code: