diff options
author | obrien <obrien@FreeBSD.org> | 2001-06-16 05:55:32 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-06-16 05:55:32 +0000 |
commit | b68cbfacca581e0615f8ab88c54e519733fe508c (patch) | |
tree | c11e7c82abe337e057cdd4014eae6691d51e7cbe /sys/boot | |
parent | 41adf21f1fde09a07054cd9daa096b7212ab2b7c (diff) | |
download | FreeBSD-src-b68cbfacca581e0615f8ab88c54e519733fe508c.zip FreeBSD-src-b68cbfacca581e0615f8ab88c54e519733fe508c.tar.gz |
style(9)
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/efi/libefi/efiboot.h | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/sys/boot/efi/libefi/efiboot.h b/sys/boot/efi/libefi/efiboot.h index 5c7f434..b1d7df0 100644 --- a/sys/boot/efi/libefi/efiboot.h +++ b/sys/boot/efi/libefi/efiboot.h @@ -1,5 +1,3 @@ -/* $FreeBSD$ */ - /* * Copyright (c) 1996 * Matthias Drochner. All rights reserved. @@ -30,38 +28,35 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * + * $FreeBSD$ */ /* * EFI fully-qualified device descriptor */ -struct efi_devdesc -{ - struct devsw *d_dev; - int d_type; -#define DEVT_NONE 0 -#define DEVT_DISK 1 -#define DEVT_NET 2 - union - { - struct - { - int unit; - int slice; - int partition; - } efidisk; - struct - { - int unit; /* XXX net layer lives over these? */ - } netif; - } d_kind; +struct efi_devdesc { + struct devsw *d_dev; + int d_type; +#define DEVT_NONE 0 +#define DEVT_DISK 1 +#define DEVT_NET 2 + union { + struct { + int unit; + int slice; + int partition; + } efidisk; + struct { + int unit; /* XXX net layer lives over these? */ + } netif; + } d_kind; }; extern int efi_getdev(void **vdev, const char *devspec, const char **path); extern char *efi_fmtdev(void *vdev); extern int efi_setcurrdev(struct env_var *ev, int flags, void *value); -#define MAXDEV 31 /* maximum number of distinct devices */ +#define MAXDEV 31 /* maximum number of distinct devices */ typedef unsigned long physaddr_t; |