/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * Purpose: Driver configuration header * Author: Lyndon Chen * * Date: Dec 17, 2002 * */ #ifndef __DEVICE_CONFIG_H #define __DEVICE_CONFIG_H #include <linux/types.h> #define VID_TABLE_SIZE … #define MCAST_TABLE_SIZE … #define MCAM_SIZE … #define VCAM_SIZE … #define TX_QUEUE_NO … #define DEVICE_NAME … #define DEVICE_FULL_DRV_NAM … #ifndef MAJOR_VERSION #define MAJOR_VERSION … #endif #ifndef MINOR_VERSION #define MINOR_VERSION … #endif #ifndef DEVICE_VERSION #define DEVICE_VERSION … #endif #include <linux/fs.h> #include <linux/fcntl.h> #define PKT_BUF_SZ … #endif