summaryrefslogtreecommitdiffstats
path: root/include/linux/sonet.h
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2008-06-17 16:19:24 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-17 16:19:24 -0700
commitdf3bc8bd8f8fd17e9b22859d82af38fa702e75b7 (patch)
treeff3172a18511fb244e8f8216dd6b344150b5c4f3 /include/linux/sonet.h
parent2be63b878f2a1e6d939b05f4f5cb733cb39bcd22 (diff)
downloadlinux-df3bc8bd8f8fd17e9b22859d82af38fa702e75b7.tar.gz
linux-df3bc8bd8f8fd17e9b22859d82af38fa702e75b7.tar.bz2
linux-df3bc8bd8f8fd17e9b22859d82af38fa702e75b7.zip
atm: [suni] add support for setting loopback and framing modes
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sonet.h')
-rw-r--r--include/linux/sonet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sonet.h b/include/linux/sonet.h
index 753680296e17..67ad11fcf88b 100644
--- a/include/linux/sonet.h
+++ b/include/linux/sonet.h
@@ -34,7 +34,7 @@ struct sonet_stats {
/* clear error insertion */
#define SONET_GETDIAG _IOR('a',ATMIOC_PHYTYP+4,int)
/* query error insertion */
-#define SONET_SETFRAMING _IO('a',ATMIOC_PHYTYP+5)
+#define SONET_SETFRAMING _IOW('a',ATMIOC_PHYTYP+5,int)
/* set framing mode (SONET/SDH) */
#define SONET_GETFRAMING _IOR('a',ATMIOC_PHYTYP+6,int)
/* get framing mode */