blob: a39da39050dd5127917af691baec6bd28b06d73f [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef __BPQETHER_H
8#define __BPQETHER_H
Ben Cheng655a7c02013-10-16 16:09:24 -07009#include <linux/if_ether.h>
Tao Baod7db5942015-01-28 10:07:51 -080010#define SIOCSBPQETHOPT (SIOCDEVPRIVATE + 0)
11#define SIOCSBPQETHADDR (SIOCDEVPRIVATE + 1)
Ben Cheng655a7c02013-10-16 16:09:24 -070012struct bpq_ethaddr {
Tao Baod7db5942015-01-28 10:07:51 -080013 unsigned char destination[ETH_ALEN];
14 unsigned char accept[ETH_ALEN];
Ben Cheng655a7c02013-10-16 16:09:24 -070015};
16#define SIOCGBPQETHPARAM 0x5000
Ben Cheng655a7c02013-10-16 16:09:24 -070017#define SIOCSBPQETHPARAM 0x5001
18struct bpq_req {
Tao Baod7db5942015-01-28 10:07:51 -080019 int cmd;
20 int speed;
Tao Baod7db5942015-01-28 10:07:51 -080021 int clockmode;
22 int txdelay;
23 unsigned char persist;
24 int slotime;
Tao Baod7db5942015-01-28 10:07:51 -080025 int squeldelay;
26 int dmachan;
27 int irq;
Ben Cheng655a7c02013-10-16 16:09:24 -070028};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080029#endif