diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-27 23:54:12 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-27 23:54:12 +0000 |
commit | d3e71cb08747743fce908122bab08b479eb403a5 (patch) | |
tree | cbec6948fdbdee9af81cf3ecfb504070d2745d7b /include/linux/atm_idt77105.h | |
parent | fe7ff1706e323d0e5ed83972960a1ecc1ee538b3 (diff) |
Merge with Linux 2.3.99-pre3.
Diffstat (limited to 'include/linux/atm_idt77105.h')
-rw-r--r-- | include/linux/atm_idt77105.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/linux/atm_idt77105.h b/include/linux/atm_idt77105.h index 70e9e6e59..05621cf20 100644 --- a/include/linux/atm_idt77105.h +++ b/include/linux/atm_idt77105.h @@ -9,6 +9,7 @@ #include <asm/types.h> #include <linux/atmioc.h> +#include <linux/atmdev.h> /* * Structure for IDT77105_GETSTAT and IDT77105_GETSTATZ ioctls. @@ -21,20 +22,7 @@ struct idt77105_stats { __u32 rx_hec_errors; /* Header Error Check errors on receive */ }; -#define IDT77105_GETLOOP _IOW('a',ATMIOC_PHYPRV,struct atmif_sioc) /* get loopback mode */ -#define IDT77105_SETLOOP _IOW('a',ATMIOC_PHYPRV+1,struct atmif_sioc) /* set loopback mode */ #define IDT77105_GETSTAT _IOW('a',ATMIOC_PHYPRV+2,struct atmif_sioc) /* get stats */ #define IDT77105_GETSTATZ _IOW('a',ATMIOC_PHYPRV+3,struct atmif_sioc) /* get stats and zero */ - -/* - * TODO: what we need is a global loopback mode get/set ioctl for - * all devices, not these device-specific hacks -- Greg Banks - */ -#define IDT77105_LM_NONE 0 /* no loopback */ -#define IDT77105_LM_DIAG 1 /* diagnostic (i.e. loop TX to RX) - * (a.k.a. local loopback) */ -#define IDT77105_LM_LOOP 2 /* line (i.e. loop RX to TX) - * (a.k.a. remote loopback) */ - #endif |