/* SPDX-License-Identifier: GPL-2.0-or-later */ /****************************************************************************** * * (C)Copyright 1998,1999 SysKonnect, * a business unit of Schneider & Koch & Co. Datensysteme GmbH. * * The information in this file is provided "AS IS" without warranty. *
******************************************************************************/
/* * Operating system specific definitions for driver and * hardware module.
*/
#ifndef TARGETOS_H #define TARGETOS_H
//-------- those should go into include/linux/pci.h #define PCI_VENDOR_ID_SK 0x1148 #define PCI_DEVICE_ID_SK_FP 0x4000 //--------
//-------- those should go into include/linux/if_fddi.h #define FDDI_MAC_HDR_LEN 13
/* ** Include the IOCTL stuff
*/ #include <linux/sockios.h>
#define SKFPIOCTL SIOCDEVPRIVATE
struct s_skfp_ioctl { unsignedshort cmd; /* Command to run */ unsignedshort len; /* Length of the data buffer */ unsignedchar __user *data; /* Pointer to the data buffer */
};
/* ** Recognised ioctl commands for the driver
*/ #define SKFP_GET_STATS 0x05 /* Get the driver statistics */ #define SKFP_CLR_STATS 0x06 /* Zero out the driver statistics */
// MAC statistics structure struct fddi_statistics MacStat;
// receive into this local buffer if no skb available // data will be not valid, because multiple RxDs can // point here at the same time, it must be at least // MAX_FRAME_SIZE bytes in size unsignedchar *LocalRxBuffer;
dma_addr_t LocalRxBufferDMA;
// Version (required by SMT module).
u_long smc_version ;
// Required by Hardware Module (HWM). struct hw_modul hwm ;
// For SMP-savety
spinlock_t DriverLock;
};
typedefstruct s_smt_os skfddi_priv;
#endif// _TARGETOS_
Messung V0.5
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.