blob: 09c00d0eebe96168e1e0e8a089ebf7907b545328 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef __BPQETHER_H
20#define __BPQETHER_H
21#ifndef __LINUX_IF_ETHER_H
22#include <linux/if_ether.h>
Nick Kralevicha67e4de2013-01-14 11:28:26 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070024#endif
Tao Baod7db5942015-01-28 10:07:51 -080025#define SIOCSBPQETHOPT (SIOCDEVPRIVATE + 0)
26#define SIOCSBPQETHADDR (SIOCDEVPRIVATE + 1)
Ben Cheng655a7c02013-10-16 16:09:24 -070027struct bpq_ethaddr {
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 unsigned char destination[ETH_ALEN];
30 unsigned char accept[ETH_ALEN];
Ben Cheng655a7c02013-10-16 16:09:24 -070031};
32#define SIOCGBPQETHPARAM 0x5000
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070034#define SIOCSBPQETHPARAM 0x5001
35struct bpq_req {
Tao Baod7db5942015-01-28 10:07:51 -080036 int cmd;
37 int speed;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080039 int clockmode;
40 int txdelay;
41 unsigned char persist;
42 int slotime;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080044 int squeldelay;
45 int dmachan;
46 int irq;
Ben Cheng655a7c02013-10-16 16:09:24 -070047};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Nick Kralevicha67e4de2013-01-14 11:28:26 -080049#endif