Merge tag 'dma-mapping-5.3' of git://git.infradead.org/users/hch/dma-mapping
[platform/kernel/linux-rpi.git] / include / linux / phonet.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /**
3  * file phonet.h
4  *
5  * Phonet sockets kernel interface
6  *
7  * Copyright (C) 2008 Nokia Corporation. All rights reserved.
8  */
9 #ifndef LINUX_PHONET_H
10 #define LINUX_PHONET_H
11
12 #include <uapi/linux/phonet.h>
13
14 #define SIOCPNGAUTOCONF         (SIOCDEVPRIVATE + 0)
15
16 struct if_phonet_autoconf {
17         uint8_t device;
18 };
19
20 struct if_phonet_req {
21         char ifr_phonet_name[16];
22         union {
23                 struct if_phonet_autoconf ifru_phonet_autoconf;
24         } ifr_ifru;
25 };
26 #define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
27 #endif