lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / adm5120 / files / drivers / net / adm5120sw.h
1 /*
2 * Defines for ADM5120 built in ethernet switch driver
3 *
4 * Copyright Jeroen Vreeken (pe1rxq@amsat.org), 2005
5 *
6 * Values come from ADM5120 datasheet and original ADMtek 2.4 driver,
7 * Copyright ADMtek Inc.
8 */
9
10 #ifndef _INCLUDE_ADM5120SW_H_
11 #define _INCLUDE_ADM5120SW_H_
12
13 #define SIOCSMATRIX SIOCDEVPRIVATE
14 #define SIOCGMATRIX SIOCDEVPRIVATE+1
15 #define SIOCGADMINFO SIOCDEVPRIVATE+2
16
17 struct adm5120_sw_info {
18 u16 magic;
19 u16 ports;
20 u16 vlan;
21 };
22
23 #endif /* _INCLUDE_ADM5120SW_H_ */
This page took 0.052667 seconds and 5 git commands to generate.