diff options
| author | mlelstv <mlelstv@NetBSD.org> | 2022-04-24 06:48:15 +0000 |
|---|---|---|
| committer | mlelstv <mlelstv@NetBSD.org> | 2022-04-24 06:48:15 +0000 |
| commit | a17aed3befa70ff13d8e8d3ef4340fcecdcd445a (patch) | |
| tree | d6ce678d885587967b940269faa2d7ef9543ffac /sys/lib/libsa/saioctl.h | |
| parent | 1640aad2b8e4339f34784a4bc14e52fb6a068cb4 (diff) | |
Ask driver about sector size to support reading superblocks from fixed
byte offsets.
Diffstat (limited to 'sys/lib/libsa/saioctl.h')
| -rw-r--r-- | sys/lib/libsa/saioctl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/lib/libsa/saioctl.h b/sys/lib/libsa/saioctl.h index 8b0198a6a3c..9b0fa68b1b7 100644 --- a/sys/lib/libsa/saioctl.h +++ b/sys/lib/libsa/saioctl.h @@ -1,4 +1,4 @@ -/* $NetBSD: saioctl.h,v 1.4 2005/12/11 12:24:46 christos Exp $ */ +/* $NetBSD: saioctl.h,v 1.5 2022/04/24 06:48:15 mlelstv Exp $ */ /*- * Copyright (c) 1993 @@ -46,3 +46,5 @@ #define SAIOSSDEV (('d'<<8)|12) /* is device skip sector type? */ #define SAIODEBUG (('d'<<8)|13) /* enable/disable debugging */ #define SAIOGBADINFO (('d'<<8)|14) /* get bad-sector table */ + +#define SAIOSECSIZE (('d'<<8)|15) /* get sector size */ |
