]>
git.proxmox.com Git - mirror_spl-debian.git/blob - include/sys/sunldi.h
6 #include <linux/genhd.h>
7 #include <linux/hdreg.h>
10 #define SECTOR_SIZE 512
12 typedef struct modlinkage
{
14 struct modlfs
*ml_modlfs
;
15 struct modldrv
*ml_modldrv
;
21 typedef struct ldi_ident
{
22 char li_modname
[MAXNAMELEN
];
26 typedef struct block_device
*ldi_handle_t
;
28 extern int ldi_ident_from_mod(struct modlinkage
*modlp
, ldi_ident_t
*lip
);
29 extern void ldi_ident_release(ldi_ident_t li
);
31 #endif /* SPL_SUNLDI_H */