diff options
author | phk <phk@FreeBSD.org> | 2002-03-19 13:54:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-03-19 13:54:15 +0000 |
commit | 4106fb634928e1b6d3744c3b8317083f2c780bfc (patch) | |
tree | 045a98068ab44510351eedb7469fd082579845d3 /sys/sys/diskpc98.h | |
parent | 6718ce496e665b6c2204043dd44f4412da8aebd1 (diff) | |
download | FreeBSD-src-4106fb634928e1b6d3744c3b8317083f2c780bfc.zip FreeBSD-src-4106fb634928e1b6d3744c3b8317083f2c780bfc.tar.gz |
Add five GEOM oriented ioctls to get basic information about a geom device.
Diffstat (limited to 'sys/sys/diskpc98.h')
-rw-r--r-- | sys/sys/diskpc98.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/diskpc98.h b/sys/sys/diskpc98.h index a3b927f..4cf1223 100644 --- a/sys/sys/diskpc98.h +++ b/sys/sys/diskpc98.h @@ -418,6 +418,12 @@ struct dos_partition { #define DIOCWLABEL _IOW('d', 109, int) /* write en/disable label */ +#define DIOCGSECTORSIZE _IOR('d', 128, u_int) /* Get sector size in bytes */ +#define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */ +#define DIOCGFWSECTORS _IOR('d', 130, u_int) /* Get firmware sectorcount */ +#define DIOCGFWHEADS _IOR('d', 131, u_int) /* Get firmware headcount */ +#define DIOCGFWCYLINDERS _IOR('d', 132, u_int) /* Get firmware cyl'scount */ + #ifdef _KERNEL /* |