1*e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 2607ca46eSDavid Howells /* 3607ca46eSDavid Howells * NET3 PLIP tuning facilities for the new Niibe PLIP. 4607ca46eSDavid Howells * 5607ca46eSDavid Howells * This program is free software; you can redistribute it and/or 6607ca46eSDavid Howells * modify it under the terms of the GNU General Public License 7607ca46eSDavid Howells * as published by the Free Software Foundation; either version 8607ca46eSDavid Howells * 2 of the License, or (at your option) any later version. 9607ca46eSDavid Howells * 10607ca46eSDavid Howells */ 11607ca46eSDavid Howells 12607ca46eSDavid Howells #ifndef _LINUX_IF_PLIP_H 13607ca46eSDavid Howells #define _LINUX_IF_PLIP_H 14607ca46eSDavid Howells 15607ca46eSDavid Howells #include <linux/sockios.h> 16607ca46eSDavid Howells 17607ca46eSDavid Howells #define SIOCDEVPLIP SIOCDEVPRIVATE 18607ca46eSDavid Howells 19607ca46eSDavid Howells struct plipconf { 20607ca46eSDavid Howells unsigned short pcmd; 21607ca46eSDavid Howells unsigned long nibble; 22607ca46eSDavid Howells unsigned long trigger; 23607ca46eSDavid Howells }; 24607ca46eSDavid Howells 25607ca46eSDavid Howells #define PLIP_GET_TIMEOUT 0x1 26607ca46eSDavid Howells #define PLIP_SET_TIMEOUT 0x2 27607ca46eSDavid Howells 28607ca46eSDavid Howells #endif 29