mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Josh Boyer](/assets/img/avatar_default.png)
Protect the SIOCGCM* ioctl macros with parenthesis. Reported-by: Paul Wouters <pwouters@redhat.com> Signed-off-by: Josh Boyer <jwboyer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
22 lines
922 B
C
22 lines
922 B
C
#ifndef _LINUX_CABLEMODEM_H_
|
|
#define _LINUX_CABLEMODEM_H_
|
|
/*
|
|
* Author: Franco Venturi <fventuri@mediaone.net>
|
|
* Copyright 1998 Franco Venturi
|
|
*
|
|
* This program is free software; you can redistribute it
|
|
* and/or modify it under the terms of the GNU General
|
|
* Public License as published by the Free Software
|
|
* Foundation; either version 2 of the License, or (at
|
|
* your option) any later version.
|
|
*/
|
|
|
|
/* some useful defines for sb1000.c e cmconfig.c - fv */
|
|
#define SIOCGCMSTATS (SIOCDEVPRIVATE+0) /* get cable modem stats */
|
|
#define SIOCGCMFIRMWARE (SIOCDEVPRIVATE+1) /* get cm firmware version */
|
|
#define SIOCGCMFREQUENCY (SIOCDEVPRIVATE+2) /* get cable modem frequency */
|
|
#define SIOCSCMFREQUENCY (SIOCDEVPRIVATE+3) /* set cable modem frequency */
|
|
#define SIOCGCMPIDS (SIOCDEVPRIVATE+4) /* get cable modem PIDs */
|
|
#define SIOCSCMPIDS (SIOCDEVPRIVATE+5) /* set cable modem PIDs */
|
|
|
|
#endif
|