![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * ks8842.h KS8842 platform data struct definition 0004 * Copyright (c) 2010 Intel Corporation 0005 */ 0006 0007 #ifndef _LINUX_KS8842_H 0008 #define _LINUX_KS8842_H 0009 0010 #include <linux/if_ether.h> 0011 0012 /** 0013 * struct ks8842_platform_data - Platform data of the KS8842 network driver 0014 * @macaddr: The MAC address of the device, set to all 0:s to use the on in 0015 * the chip. 0016 * @rx_dma_channel: The DMA channel to use for RX, -1 for none. 0017 * @tx_dma_channel: The DMA channel to use for TX, -1 for none. 0018 * 0019 */ 0020 struct ks8842_platform_data { 0021 u8 macaddr[ETH_ALEN]; 0022 int rx_dma_channel; 0023 int tx_dma_channel; 0024 }; 0025 0026 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |