blob: 0b0b8618b20ca37da91e40abd2aeb769f68ca9f1 [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
Ben Cheng655a7c02013-10-16 16:09:24 -070021#include <linux/if_ether.h>
Tao Baod7db5942015-01-28 10:07:51 -080022#define SIOCSBPQETHOPT (SIOCDEVPRIVATE + 0)
23#define SIOCSBPQETHADDR (SIOCDEVPRIVATE + 1)
Ben Cheng655a7c02013-10-16 16:09:24 -070024struct bpq_ethaddr {
Tao Baod7db5942015-01-28 10:07:51 -080025 unsigned char destination[ETH_ALEN];
26 unsigned char accept[ETH_ALEN];
Ben Cheng655a7c02013-10-16 16:09:24 -070027};
28#define SIOCGBPQETHPARAM 0x5000
Ben Cheng655a7c02013-10-16 16:09:24 -070029#define SIOCSBPQETHPARAM 0x5001
30struct bpq_req {
Tao Baod7db5942015-01-28 10:07:51 -080031 int cmd;
32 int speed;
Tao Baod7db5942015-01-28 10:07:51 -080033 int clockmode;
34 int txdelay;
35 unsigned char persist;
36 int slotime;
Tao Baod7db5942015-01-28 10:07:51 -080037 int squeldelay;
38 int dmachan;
39 int irq;
Ben Cheng655a7c02013-10-16 16:09:24 -070040};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080041#endif