adm5120sw.h 496 B

1234567891011121314151617181920212223
  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. #ifndef _INCLUDE_ADM5120SW_H_
  10. #define _INCLUDE_ADM5120SW_H_
  11. #define SIOCSMATRIX SIOCDEVPRIVATE
  12. #define SIOCGMATRIX (SIOCDEVPRIVATE + 1)
  13. #define SIOCGADMINFO (SIOCDEVPRIVATE + 2)
  14. struct adm5120_sw_info {
  15. u16 magic;
  16. u16 ports;
  17. u16 vlan;
  18. };
  19. #endif /* _INCLUDE_ADM5120SW_H_ */