*参照元 [#e9899350]
#backlinks

*説明 [#gb82ac6b]
-パス: [[linux-2.6.25/include/scsi/sd.h]]

-これは何?
--説明


**参考 [#ce740b34]


*実装 [#w4ffb955]
 struct scsi_disk {
         struct scsi_driver *driver;     /* always &sd_template */
-
--[[linux-2.6.25/scsi_driver]]

         struct scsi_device *device;
-
--[[linux-2.6.25/scsi_device]]

         struct class_device cdev;
-
--[[linux-2.6.25/class_device]]

         struct gendisk  *disk;
-
--[[linux-2.6.25/gendisk]]

         unsigned int    openers;        /* protected by BKL for now, yuck */
         sector_t        capacity;       /* size in 512-byte sectors */
         u32             index;
         u8              media_present;
         u8              write_prot;
         unsigned        previous_state : 1;
         unsigned        WCE : 1;        /* state of disk WCE bit */
         unsigned        RCD : 1;        /* state of disk RCD bit, unused */
         unsigned        DPOFUA : 1;     /* state of disk DPOFUA bit */
 };


*コメント [#e32d33d7]
#comment

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS