You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
548 B

/*
* Copyright (c) Company 2018-2019. All rights reserved.
* Description: sockioctl.h
*/
#ifndef _SOCKIOCTL_H_
#define _SOCKIOCTL_H_
#include <linux/sockios.h>
#include "gmac.h"
#define SIOCSETPM (SIOCDEVPRIVATE + 4) /* set pmt wake up config */
#define SIOCSETSUSPEND (SIOCDEVPRIVATE + 5) /* call dev->suspend, debug */
#define SIOCSETRESUME (SIOCDEVPRIVATE + 6) /* call dev->resume, debug */
#define SIOCGETPM (SIOCDEVPRIVATE + 7) /* get pmt wake up config */
int gmac_ioctl(struct net_device *net_dev, struct ifreq *rq, int cmd);
#endif